Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter_fac3.x.1.|filter_fac3.x.2.|filter_fac4.x.1.|filter_fac4.x.2.|filter_fac5.x.1.|filter_fac5.x.2.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime") translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter_fac3.x.1.|filter_fac3.x.2.|filter_fac4.x.1.|filter_fac4.x.2.|filter_fac5.x.1.|filter_fac5.x.2.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001459/0.001459, allocations: 196 kB / 18.1 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 226.5 MB / 245.4 MB, free: 6.445 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007978/0.0007979, allocations: 98.72 kB / 297.5 MB, free: 6.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002773/0.0002774, allocations: 8 kB / 358.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2909, allocations: 51.29 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1249/0.4159, allocations: 90.87 MB / 0.4885 GB, free: 0.6289 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/0.4163, allocations: 71.97 kB / 0.4886 GB, free: 0.5586 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02904/0.4453, allocations: 10.07 MB / 0.4984 GB, free: 6.488 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4454, allocations: 4 kB / 0.4984 GB, free: 6.484 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.974e-05/0.4454, allocations: 11.94 kB / 0.4984 GB, free: 6.473 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001048/0.4465, allocations: 0.5607 MB / 0.499 GB, free: 5.859 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.4465, allocations: 8.031 kB / 0.499 GB, free: 5.852 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.4466, allocations: 32.56 kB / 0.499 GB, free: 5.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005824/0.4472, allocations: 356 kB / 0.4993 GB, free: 5.434 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.4472, allocations: 12.56 kB / 0.4994 GB, free: 5.422 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.872e-05/0.4473, allocations: 24.36 kB / 0.4994 GB, free: 5.398 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003429/0.4477, allocations: 228.2 kB / 0.4996 GB, free: 5.133 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.4477, allocations: 3.938 kB / 0.4996 GB, free: 5.129 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.4477, allocations: 8 kB / 0.4996 GB, free: 5.121 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.4477, allocations: 4 kB / 0.4996 GB, free: 5.117 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001894/0.4479, allocations: 83.94 kB / 0.4997 GB, free: 5.035 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000846/0.4488, allocations: 0.5042 MB / 0.5002 GB, free: 4.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.449, allocations: 166.5 kB / 0.5003 GB, free: 4.309 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.4492, allocations: 60.77 kB / 0.5004 GB, free: 4.246 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.4492, allocations: 4.109 kB / 0.5004 GB, free: 4.242 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.4492, allocations: 38.5 kB / 0.5004 GB, free: 4.195 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.4492, allocations: 0 / 0.5004 GB, free: 4.195 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.000465/0.4497, allocations: 235.2 kB / 0.5007 GB, free: 3.961 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/0.4499, allocations: 282.7 kB / 0.5009 GB, free: 3.617 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/0.4501, allocations: 280.6 kB / 0.5012 GB, free: 3.336 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.879e-05/0.4502, allocations: 33.69 kB / 0.5012 GB, free: 3.297 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.4503, allocations: 156.4 kB / 0.5014 GB, free: 3.137 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.394e-05/0.4504, allocations: 47.27 kB / 0.5014 GB, free: 3.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.187e-06/0.4504, allocations: 0 / 0.5014 GB, free: 3.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.4505, allocations: 346.7 kB / 0.5018 GB, free: 2.742 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.4507, allocations: 103.9 kB / 0.5019 GB, free: 2.641 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/0.4509, allocations: 176.8 kB / 0.502 GB, free: 2.438 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003234/0.4513, allocations: 206 kB / 0.5022 GB, free: 2.234 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4513, allocations: 0 / 0.5022 GB, free: 2.234 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004577/0.4517, allocations: 297.3 kB / 0.5025 GB, free: 1.938 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.4518, allocations: 4 kB / 0.5025 GB, free: 1.934 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.692e-05/0.4518, allocations: 7.984 kB / 0.5025 GB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.4518, allocations: 4 kB / 0.5025 GB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/0.4521, allocations: 55.91 kB / 0.5026 GB, free: 1.867 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.4521, allocations: 4 kB / 0.5026 GB, free: 1.863 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.4522, allocations: 27.67 kB / 0.5026 GB, free: 1.836 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/0.4523, allocations: 8 kB / 0.5026 GB, free: 1.828 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 19 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001414/0.4524, allocations: 149.7 kB / 0.5028 GB, free: 1.672 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.7e-05/0.4525, allocations: 23.72 kB / 0.5028 GB, free: 1.648 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.664e-05/0.4525, allocations: 33.97 kB / 0.5028 GB, free: 1.613 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.4525, allocations: 0 / 0.5028 GB, free: 1.613 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4526, allocations: 0 / 0.5028 GB, free: 1.613 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4526, allocations: 8 kB / 0.5028 GB, free: 1.605 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002781/0.4528, allocations: 273.4 kB / 0.5031 GB, free: 1.289 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4529, allocations: 0 / 0.5031 GB, free: 1.289 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.453, allocations: 23.98 kB / 0.5031 GB, free: 1.266 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.453, allocations: 0 / 0.5031 GB, free: 1.266 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.4531, allocations: 4 kB / 0.5031 GB, free: 1.262 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.4531, allocations: 4 kB / 0.5031 GB, free: 1.258 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4531, allocations: 3.984 kB / 0.5031 GB, free: 1.254 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004656/0.4535, allocations: 349.4 kB / 0.5034 GB, free: 0.8984 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.745e-05/0.4536, allocations: 100.7 kB / 0.5035 GB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.419e-05/0.4537, allocations: 4 kB / 0.5035 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.4538, allocations: 16.14 kB / 0.5036 GB, free: 0.7617 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.578e-05/0.4539, allocations: 15.91 kB / 0.5036 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.4539, allocations: 0 / 0.5036 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002023/0.4541, allocations: 199.1 kB / 0.5038 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4541, allocations: 0 / 0.5038 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003966/0.4545, allocations: 87.92 kB / 0.5039 GB, free: 480 kB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (filter_fac5.x[1],filter_fac5.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac3.x[1],filter_fac3.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002769/0.4548, allocations: 166.2 kB / 0.504 GB, free: 304 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000432/0.4552, allocations: 281 kB / 0.5043 GB, free: 4 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.1945/0.6497, allocations: 4.109 kB / 0.5043 GB, free: 93.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002926/0.65, allocations: 60.53 kB / 0.5043 GB, free: 93.24 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006698/0.6507, allocations: 62.78 kB / 0.5044 GB, free: 93.24 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.652, allocations: 0.6122 MB / 0.505 GB, free: 92.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.6523, allocations: 0.7735 MB / 0.5058 GB, free: 92.24 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001992/0.6525, allocations: 42.23 kB / 0.5058 GB, free: 92.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.064e-05/0.6526, allocations: 20.41 kB / 0.5058 GB, free: 92.23 MB / 378.7 MB Notification: Performance of SimCode: time 8.22e-07/0.6526, allocations: 0.5 kB / 0.5058 GB, free: 92.23 MB / 378.7 MB Notification: Performance of Templates: time 0.01107/0.6637, allocations: 3.519 MB / 0.5092 GB, free: 92.05 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches