Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001645/0.001645, allocations: 172.6 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.756/1.756, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008539/0.000854, allocations: 86.66 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.508e-05/2.512e-05, allocations: 4 kB / 322.4 MB, free: 17.37 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09978/0.09982, allocations: 47.57 MB / 370 MB, free: 1.73 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3318/0.4317, allocations: 89.21 MB / 459.2 MB, free: 4.324 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.432, allocations: 65.72 kB / 459.3 MB, free: 4.293 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0276/0.4596, allocations: 9.897 MB / 469.2 MB, free: 11.71 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4596, allocations: 0 / 469.2 MB, free: 11.71 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.93e-05/0.4597, allocations: 19.94 kB / 469.2 MB, free: 11.7 MB / 346.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.0007995/0.4605, allocations: 0.5141 MB / 469.7 MB, free: 11.13 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.4605, allocations: 8.031 kB / 469.7 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.332e-05/0.4606, allocations: 31.62 kB / 469.7 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006753/0.4613, allocations: 359.6 kB / 470.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.4614, allocations: 8.188 kB / 470.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.587e-05/0.4614, allocations: 19.98 kB / 470.1 MB, free: 10.67 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004255/0.4618, allocations: 218.4 kB / 470.3 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.4619, allocations: 0 / 470.3 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.4619, allocations: 4 kB / 470.3 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.4619, allocations: 4 kB / 470.3 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.4621, allocations: 80.45 kB / 470.4 MB, free: 10.33 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008627/0.4629, allocations: 0.4895 MB / 470.9 MB, free: 9.789 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/0.4632, allocations: 159.5 kB / 471.1 MB, free: 9.625 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.785e-05/0.4633, allocations: 52.84 kB / 471.1 MB, free: 9.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.4633, allocations: 4.109 kB / 471.1 MB, free: 9.566 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.4633, allocations: 42.5 kB / 471.2 MB, free: 9.516 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.4633, allocations: 0 / 471.2 MB, free: 9.516 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003351/0.4637, allocations: 165.6 kB / 471.3 MB, free: 9.348 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001389/0.4638, allocations: 290.7 kB / 471.6 MB, free: 8.996 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/0.4641, allocations: 246.6 kB / 471.9 MB, free: 8.746 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.4641, allocations: 29.7 kB / 471.9 MB, free: 8.711 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.4642, allocations: 152.5 kB / 472 MB, free: 8.559 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.225e-05/0.4643, allocations: 55.25 kB / 472.1 MB, free: 8.504 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.41e-05/0.4643, allocations: 8 kB / 472.1 MB, free: 8.496 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.4644, allocations: 338.8 kB / 472.4 MB, free: 8.156 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.4646, allocations: 87.97 kB / 472.5 MB, free: 8.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.4648, allocations: 160.5 kB / 472.7 MB, free: 7.883 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.4649, allocations: 122.6 kB / 472.8 MB, free: 7.766 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.4649, allocations: 3.938 kB / 472.8 MB, free: 7.762 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003839/0.4653, allocations: 289.1 kB / 473.1 MB, free: 7.473 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.4654, allocations: 4 kB / 473.1 MB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.744e-05/0.4654, allocations: 7.984 kB / 473.1 MB, free: 7.461 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.4654, allocations: 0 / 473.1 MB, free: 7.461 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.4657, allocations: 55.86 kB / 473.1 MB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.4657, allocations: 4 kB / 473.1 MB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.4658, allocations: 27.77 kB / 473.2 MB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/0.4658, allocations: 8 kB / 473.2 MB, free: 7.367 MB / 346.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 () * 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 8.246e-05/0.4659, allocations: 120.9 kB / 473.3 MB, free: 7.242 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.466e-05/0.466, allocations: 27.62 kB / 473.3 MB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.834e-05/0.466, allocations: 26.09 kB / 473.4 MB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.4661, allocations: 4 kB / 473.4 MB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.4661, allocations: 3.953 kB / 473.4 MB, free: 7.18 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.4661, allocations: 4 kB / 473.4 MB, free: 7.176 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/0.4663, allocations: 265.5 kB / 473.6 MB, free: 6.867 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4664, allocations: 0 / 473.6 MB, free: 6.867 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/0.4665, allocations: 23.98 kB / 473.6 MB, free: 6.844 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.4666, allocations: 0 / 473.6 MB, free: 6.844 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.4666, allocations: 8 kB / 473.7 MB, free: 6.836 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4666, allocations: 0 / 473.7 MB, free: 6.836 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4666, allocations: 0 / 473.7 MB, free: 6.836 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003937/0.467, allocations: 327 kB / 474 MB, free: 6.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.69e-05/0.4671, allocations: 104.6 kB / 474.1 MB, free: 6.379 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/0.4671, allocations: 12.19 kB / 474.1 MB, free: 6.367 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.4672, allocations: 15.98 kB / 474.1 MB, free: 6.352 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.4673, allocations: 7.984 kB / 474.1 MB, free: 6.344 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.4673, allocations: 3.953 kB / 474.1 MB, free: 6.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001584/0.4675, allocations: 190.2 kB / 474.3 MB, free: 6.152 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4675, allocations: 4 kB / 474.3 MB, free: 6.148 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003586/0.4678, allocations: 91.92 kB / 474.4 MB, free: 6.059 MB / 346.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 () * 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.0002565/0.4681, allocations: 160.1 kB / 474.6 MB, free: 5.891 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003329/0.4684, allocations: 270.3 kB / 474.8 MB, free: 5.609 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4685, allocations: 4 kB / 474.8 MB, free: 5.605 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.465e-05/0.4685, allocations: 51.98 kB / 474.9 MB, free: 5.555 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.4689, allocations: 69.28 kB / 474.9 MB, free: 5.488 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007588/0.4697, allocations: 440.3 kB / 475.4 MB, free: 5.035 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.47, allocations: 0.7755 MB / 476.1 MB, free: 4.23 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001256/0.4701, allocations: 42.05 kB / 476.2 MB, free: 4.191 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.013e-05/0.4702, allocations: 23.44 kB / 476.2 MB, free: 4.168 MB / 346.7 MB Notification: Performance of SimCode: time 3.1e-07/0.4702, allocations: 0 / 476.2 MB, free: 4.168 MB / 346.7 MB Notification: Performance of Templates: time 0.006537/0.4767, allocations: 3.465 MB / 479.7 MB, free: 0.707 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches