Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Blocks.Examples.Filter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008851/0.0008851, allocations: 91.11 kB / 16.95 MB, free: 6.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 182.9 kB / 17.84 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004425/0.0004425, allocations: 16 kB / 280.8 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.11, allocations: 47.58 MB / 328.3 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002743/0.1128, allocations: 1.632 MB / 330 MB, free: 2.445 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006861/0.1197, allocations: 3.585 MB / 333.6 MB, free: 14.85 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002092/0.1199, allocations: 7.875 kB / 333.6 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005588/0.1205, allocations: 143.3 kB / 333.7 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.1206, allocations: 47.62 kB / 333.8 MB, free: 14.65 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003857/0.1245, allocations: 1.51 MB / 335.3 MB, free: 13.14 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006934/0.1252, allocations: 426.7 kB / 335.7 MB, free: 12.72 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00021/0.1254, allocations: 37.08 kB / 335.7 MB, free: 12.68 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003983/0.1258, allocations: 159.4 kB / 335.9 MB, free: 12.52 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002879/0.1261, allocations: 155.2 kB / 336 MB, free: 12.37 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.169e-05/0.1262, allocations: 12 kB / 336 MB, free: 12.36 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002137/0.1283, allocations: 1.412 MB / 337.4 MB, free: 10.95 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.1285, allocations: 103.6 kB / 337.5 MB, free: 10.85 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.87e-05/0.1286, allocations: 85.44 kB / 337.6 MB, free: 10.76 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001445/0.13, allocations: 1.497 MB / 339.1 MB, free: 9.258 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.13, allocations: 0 / 339.1 MB, free: 9.258 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.13, allocations: 0 / 339.1 MB, free: 9.258 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1301, allocations: 0 / 339.1 MB, free: 9.258 MB / 286.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.0018/0.1319, allocations: 0.8335 MB / 340 MB, free: 8.375 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.1319, allocations: 12.03 kB / 340 MB, free: 8.363 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.762e-05/0.132, allocations: 47.44 kB / 340 MB, free: 8.316 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004509/0.1325, allocations: 333.2 kB / 340.3 MB, free: 7.949 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.1325, allocations: 20.23 kB / 340.4 MB, free: 7.93 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.268e-05/0.1326, allocations: 31.89 kB / 340.4 MB, free: 7.898 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004932/0.1331, allocations: 307 kB / 340.7 MB, free: 7.555 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.1331, allocations: 0 / 340.7 MB, free: 7.555 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.1331, allocations: 8 kB / 340.7 MB, free: 7.547 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.1331, allocations: 7.984 kB / 340.7 MB, free: 7.539 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002791/0.1334, allocations: 151.8 kB / 340.9 MB, free: 7.391 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.1347, allocations: 0.6681 MB / 341.5 MB, free: 6.672 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006326/0.1353, allocations: 327.1 kB / 341.8 MB, free: 6.344 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.1355, allocations: 105.2 kB / 342 MB, free: 6.238 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.1355, allocations: 8.188 kB / 342 MB, free: 6.23 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.1356, allocations: 38.75 kB / 342 MB, free: 6.184 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.353e-06/0.1356, allocations: 0 / 342 MB, free: 6.184 MB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007036/0.1363, allocations: 398.6 kB / 342.4 MB, free: 5.789 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001757/0.1365, allocations: 363.8 kB / 342.7 MB, free: 5.348 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004153/0.1369, allocations: 409.8 kB / 343.1 MB, free: 4.941 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/0.1369, allocations: 33.7 kB / 343.2 MB, free: 4.902 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.1371, allocations: 196.8 kB / 343.4 MB, free: 4.707 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.441e-05/0.1372, allocations: 78.81 kB / 343.4 MB, free: 4.629 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.939e-05/0.1372, allocations: 7.984 kB / 343.5 MB, free: 4.621 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.1374, allocations: 362.8 kB / 343.8 MB, free: 4.258 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003255/0.1378, allocations: 212.2 kB / 344 MB, free: 4.051 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004167/0.1382, allocations: 314.4 kB / 344.3 MB, free: 3.703 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003652/0.1386, allocations: 249.5 kB / 344.6 MB, free: 3.461 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1386, allocations: 0 / 344.6 MB, free: 3.461 MB / 286.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001083/0.1397, allocations: 0.6498 MB / 345.2 MB, free: 2.793 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.1397, allocations: 8 kB / 345.2 MB, free: 2.785 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-05/0.1397, allocations: 4 kB / 345.2 MB, free: 2.781 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004223/0.1402, allocations: 134.4 kB / 345.4 MB, free: 2.641 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/0.1404, allocations: 63.95 kB / 345.4 MB, free: 2.578 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003448/0.1439, allocations: 4.231 MB / 349.7 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.1441, allocations: 43.52 kB / 349.7 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.348e-05/0.1442, allocations: 15.94 kB / 349.7 MB, free: 13.89 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.0002664/0.1444, allocations: 165.8 kB / 349.9 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.813e-05/0.1445, allocations: 43.52 kB / 349.9 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.392e-05/0.1446, allocations: 51.78 kB / 350 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1446, allocations: 0 / 350 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1446, allocations: 4 kB / 350 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.1446, allocations: 3.953 kB / 350 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004713/0.1451, allocations: 345.3 kB / 350.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1451, allocations: 0 / 350.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/0.1454, allocations: 39.98 kB / 350.3 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.1454, allocations: 4 kB / 350.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.051e-05/0.1454, allocations: 15.92 kB / 350.4 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.1454, allocations: 0 / 350.4 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1455, allocations: 4 kB / 350.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006925/0.1462, allocations: 0.5103 MB / 350.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.349e-05/0.1462, allocations: 120.5 kB / 351 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.617e-05/0.1463, allocations: 11.98 kB / 351 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.1465, allocations: 19.98 kB / 351 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.165e-05/0.1465, allocations: 11.98 kB / 351 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.1466, allocations: 8 kB / 351 MB, free: 12.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003138/0.1469, allocations: 271.1 kB / 351.3 MB, free: 12.19 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1469, allocations: 0 / 351.3 MB, free: 12.19 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002061/0.1489, allocations: 0.6406 MB / 352 MB, free: 11.55 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.00135/0.1503, allocations: 0.6793 MB / 352.6 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001412/0.1517, allocations: 0.9567 MB / 353.6 MB, free: 9.816 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.1517, allocations: 0 / 353.6 MB, free: 9.816 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.152, allocations: 119.9 kB / 353.7 MB, free: 9.699 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005821/0.1525, allocations: 102.8 kB / 353.8 MB, free: 9.602 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.1543, allocations: 1.006 MB / 354.8 MB, free: 8.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006758/0.155, allocations: 0.838 MB / 355.7 MB, free: 7.703 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001892/0.1552, allocations: 66.91 kB / 355.7 MB, free: 7.637 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.3e-05/0.1552, allocations: 31.44 kB / 355.7 MB, free: 7.605 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1553, allocations: 0 / 355.7 MB, free: 7.605 MB / 302.1 MB Notification: Performance of Templates: time 0.02105/0.1763, allocations: 12.45 MB / 368.2 MB, free: 11.14 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.Filter.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.Filter.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/Filter/Filter.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches