Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.|Butterworth.x.1.|Butterworth.x.2.|Butterworth.x.3.|ChebyshevI.x.1.|ChebyshevI.x.2.|ChebyshevI.x.3.|CriticalDamping.x.1.|CriticalDamping.x.2.|CriticalDamping.x.3.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Filter") translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.|Butterworth.x.1.|Butterworth.x.2.|Butterworth.x.3.|ChebyshevI.x.1.|ChebyshevI.x.2.|ChebyshevI.x.3.|CriticalDamping.x.1.|CriticalDamping.x.2.|CriticalDamping.x.3.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Filter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000984/0.0009839, allocations: 97.7 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001095/0.001095, allocations: 197.4 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.2 MB / 245.9 MB, free: 12.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002614/0.0002614, allocations: 8 kB / 306.6 MB, free: 1.645 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1262, allocations: 51.49 MB / 358.1 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.00223/0.1285, allocations: 1.655 MB / 359.7 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006902/0.1354, allocations: 3.56 MB / 363.3 MB, free: 8.918 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002028/0.1356, allocations: 11.88 kB / 363.3 MB, free: 8.906 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006213/0.1362, allocations: 223.3 kB / 363.5 MB, free: 8.688 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.1364, allocations: 43.8 kB / 363.5 MB, free: 8.645 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004186/0.1406, allocations: 1.453 MB / 365 MB, free: 7.207 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005639/0.1411, allocations: 339.3 kB / 365.3 MB, free: 6.875 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.1413, allocations: 49.28 kB / 365.4 MB, free: 6.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.1415, allocations: 167.4 kB / 365.5 MB, free: 6.656 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.1417, allocations: 143.3 kB / 365.7 MB, free: 6.516 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.745e-05/0.1418, allocations: 12 kB / 365.7 MB, free: 6.504 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002037/0.1438, allocations: 1.358 MB / 367.1 MB, free: 5.145 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.144, allocations: 103.7 kB / 367.2 MB, free: 5.043 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.19e-05/0.1441, allocations: 77.45 kB / 367.2 MB, free: 4.961 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001557/0.1456, allocations: 1.509 MB / 368.7 MB, free: 3.449 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1456, allocations: 0 / 368.7 MB, free: 3.449 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.1456, allocations: 0 / 368.7 MB, free: 3.449 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1457, allocations: 3.938 kB / 368.7 MB, free: 3.445 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.00144/0.1471, allocations: 0.8373 MB / 369.6 MB, free: 2.555 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.1471, allocations: 8.031 kB / 369.6 MB, free: 2.547 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.748e-05/0.1472, allocations: 47.44 kB / 369.6 MB, free: 2.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004861/0.1477, allocations: 333.2 kB / 370 MB, free: 2.133 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.1478, allocations: 16.28 kB / 370 MB, free: 2.117 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.656e-05/0.1478, allocations: 35.8 kB / 370 MB, free: 2.082 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004738/0.1483, allocations: 303.1 kB / 370.3 MB, free: 1.742 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.1483, allocations: 4 kB / 370.3 MB, free: 1.738 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.809e-05/0.1484, allocations: 8 kB / 370.3 MB, free: 1.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.1484, allocations: 4 kB / 370.3 MB, free: 1.727 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002792/0.1487, allocations: 148.7 kB / 370.5 MB, free: 1.582 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/0.15, allocations: 0.6797 MB / 371.1 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006737/0.1507, allocations: 319.2 kB / 371.5 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.1507, allocations: 4.188 kB / 371.5 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.1507, allocations: 38.75 kB / 371.5 MB, free: 492 kB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.333e-06/0.1507, allocations: 0 / 371.5 MB, free: 492 kB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007015/0.1515, allocations: 394.4 kB / 371.9 MB, free: 96 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2207/0.3721, allocations: 368.9 kB / 372.2 MB, free: 18.55 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007461/0.3729, allocations: 402.2 kB / 372.6 MB, free: 18.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001424/0.3731, allocations: 34.33 kB / 372.7 MB, free: 18.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.3732, allocations: 192.6 kB / 372.9 MB, free: 18.33 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.446e-05/0.3733, allocations: 86.2 kB / 372.9 MB, free: 18.31 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.356e-05/0.3734, allocations: 8.875 kB / 373 MB, free: 18.31 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.3735, allocations: 352.9 kB / 373.3 MB, free: 18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004869/0.374, allocations: 204.2 kB / 373.5 MB, free: 18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005133/0.3745, allocations: 324.5 kB / 373.8 MB, free: 17.89 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004819/0.375, allocations: 247.9 kB / 374.1 MB, free: 17.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.375, allocations: 0 / 374.1 MB, free: 17.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001383/0.3764, allocations: 0.6491 MB / 374.7 MB, free: 17.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.3765, allocations: 4.859 kB / 374.7 MB, free: 17.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.769e-05/0.3765, allocations: 9.094 kB / 374.7 MB, free: 17.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000492/0.377, allocations: 128.2 kB / 374.8 MB, free: 17.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003303/0.3774, allocations: 68.72 kB / 374.9 MB, free: 17.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003114/0.3805, allocations: 4.259 MB / 379.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.3807, allocations: 52.56 kB / 379.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/0.3808, allocations: 12.44 kB / 379.2 MB, free: 13.96 MB / 302.1 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 (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002057/0.381, allocations: 175.1 kB / 379.4 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.794e-05/0.3811, allocations: 37.41 kB / 379.4 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.418e-05/0.3811, allocations: 45.94 kB / 379.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3812, allocations: 8.578 kB / 379.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.3812, allocations: 3.812 kB / 379.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.3812, allocations: 1.172 kB / 379.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004091/0.3816, allocations: 353.1 kB / 379.8 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3816, allocations: 0 / 379.8 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002805/0.3819, allocations: 41.94 kB / 379.9 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3819, allocations: 1.375 kB / 379.9 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.988e-05/0.3819, allocations: 10.98 kB / 379.9 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3819, allocations: 1.375 kB / 379.9 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.3819, allocations: 3.953 kB / 379.9 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006928/0.3826, allocations: 0.5031 MB / 380.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.319e-05/0.3827, allocations: 112.4 kB / 380.5 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.181e-05/0.3828, allocations: 15.47 kB / 380.5 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.3829, allocations: 13.31 kB / 380.5 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.155e-05/0.383, allocations: 19.12 kB / 380.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.383, allocations: 9.594 kB / 380.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003041/0.3834, allocations: 269.2 kB / 380.8 MB, free: 12.99 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3834, allocations: 0 / 380.8 MB, free: 12.99 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002427/0.3858, allocations: 0.6536 MB / 381.5 MB, free: 12.96 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3]) * 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 (21): * Single equations (assignments): 21 * 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.001504/0.3873, allocations: 0.6814 MB / 382.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001293/0.3886, allocations: 0.9369 MB / 383.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.3886, allocations: 3.844 kB / 383.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000212/0.3888, allocations: 128.2 kB / 383.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005251/0.3894, allocations: 93.73 kB / 383.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.3909, allocations: 1.016 MB / 384.3 MB, free: 11.6 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.3913, allocations: 0.8478 MB / 385.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002855/0.3916, allocations: 69.22 kB / 385.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.333e-05/0.3917, allocations: 27.94 kB / 385.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of SimCode: time 1.292e-06/0.3917, allocations: 0 / 385.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of Templates: time 0.02622/0.4179, allocations: 12.54 MB / 397.8 MB, free: 5.645 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Filter.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Filter.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Filter/Filter.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches