Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.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.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009906/0.0009904, allocations: 97.31 kB / 17.3 MB, free: 6.117 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.001276/0.001276, allocations: 178.5 kB / 18.21 MB, free: 5.41 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.543/1.543, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.000718/0.0007181, allocations: 12 kB / 281.4 MB, free: 3.434 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1398, allocations: 47.58 MB / 329 MB, free: 3.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.00433/0.1442, allocations: 2.659 MB / 331.6 MB, free: 1.102 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002376/0.1467, allocations: 1.1 MB / 332.7 MB, free: 15.99 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002163/0.1469, allocations: 7.938 kB / 332.7 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000522/0.1474, allocations: 147.3 kB / 332.9 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003922/0.1478, allocations: 163.2 kB / 333 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003977/0.1482, allocations: 131.7 kB / 333.2 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004818/0.1487, allocations: 418.1 kB / 333.6 MB, free: 15.14 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002006/0.1489, allocations: 102.8 kB / 333.7 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002042/0.1492, allocations: 159.3 kB / 333.8 MB, free: 14.89 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002447/0.1494, allocations: 179.2 kB / 334 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.266e-05/0.1495, allocations: 20 kB / 334 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.1496, allocations: 55.98 kB / 334.1 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.1497, allocations: 71.69 kB / 334.1 MB, free: 14.57 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001781/0.1499, allocations: 200.7 kB / 334.3 MB, free: 14.37 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000461/0.1504, allocations: 434.6 kB / 334.8 MB, free: 13.94 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1504, allocations: 4 kB / 334.8 MB, free: 13.94 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.148e-06/0.1504, allocations: 3.984 kB / 334.8 MB, free: 13.93 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1504, allocations: 0 / 334.8 MB, free: 13.93 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009883/0.1514, allocations: 0.6129 MB / 335.4 MB, free: 13.27 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.1515, allocations: 12.03 kB / 335.4 MB, free: 13.25 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.946e-05/0.1516, allocations: 44.47 kB / 335.4 MB, free: 13.21 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004386/0.152, allocations: 324.5 kB / 335.7 MB, free: 12.85 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.175e-05/0.1521, allocations: 16.94 kB / 335.8 MB, free: 12.84 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.277e-05/0.1521, allocations: 32.03 kB / 335.8 MB, free: 12.8 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000578/0.1527, allocations: 299.1 kB / 336.1 MB, free: 12.49 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.1527, allocations: 0 / 336.1 MB, free: 12.49 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.487e-05/0.1528, allocations: 12 kB / 336.1 MB, free: 12.48 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.1528, allocations: 11.94 kB / 336.1 MB, free: 12.46 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003289/0.1531, allocations: 174.1 kB / 336.3 MB, free: 12.29 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.1545, allocations: 0.8599 MB / 337.1 MB, free: 11.37 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000566/0.1551, allocations: 259.4 kB / 337.4 MB, free: 11.11 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/0.1552, allocations: 93.39 kB / 337.5 MB, free: 11.02 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.819e-05/0.1553, allocations: 8.266 kB / 337.5 MB, free: 11.01 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003611/0.1557, allocations: 164.9 kB / 337.7 MB, free: 10.84 MB / 286.1 MB Notification: Performance of pre-optimization done (n=34): time 1.964e-06/0.1557, allocations: 4 kB / 337.7 MB, free: 10.83 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.002358/0.158, allocations: 1.319 MB / 339 MB, free: 9.398 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.1582, allocations: 187.9 kB / 339.2 MB, free: 9.172 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004096/0.1586, allocations: 352.5 kB / 339.5 MB, free: 8.82 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/0.1586, allocations: 41.69 kB / 339.5 MB, free: 8.773 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.1588, allocations: 188.6 kB / 339.7 MB, free: 8.586 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.1589, allocations: 134 kB / 339.9 MB, free: 8.453 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.205e-05/0.159, allocations: 41.7 kB / 339.9 MB, free: 8.406 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1591, allocations: 346.8 kB / 340.2 MB, free: 8.059 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.1593, allocations: 88.83 kB / 340.3 MB, free: 7.973 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002389/0.1596, allocations: 181.3 kB / 340.5 MB, free: 7.758 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003942/0.16, allocations: 246.2 kB / 340.7 MB, free: 7.504 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.16, allocations: 0 / 340.7 MB, free: 7.504 MB / 286.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005606/0.1605, allocations: 358.2 kB / 341.1 MB, free: 7.145 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.1606, allocations: 4 kB / 341.1 MB, free: 7.141 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.1606, allocations: 4 kB / 341.1 MB, free: 7.137 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001058/0.1607, allocations: 20.97 kB / 341.1 MB, free: 7.113 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003308/0.161, allocations: 95.84 kB / 341.2 MB, free: 7.02 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001028/0.1621, allocations: 1.285 MB / 342.5 MB, free: 5.605 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.1623, allocations: 19.97 kB / 342.5 MB, free: 5.586 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.1623, allocations: 15.98 kB / 342.5 MB, free: 5.57 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001844/0.1625, allocations: 165.7 kB / 342.7 MB, free: 5.398 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.843e-05/0.1626, allocations: 39.53 kB / 342.7 MB, free: 5.359 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.262e-05/0.1627, allocations: 47.94 kB / 342.8 MB, free: 5.305 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1627, allocations: 4 kB / 342.8 MB, free: 5.301 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.1627, allocations: 4 kB / 342.8 MB, free: 5.297 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006207/0.1633, allocations: 0.6648 MB / 343.5 MB, free: 4.527 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.1645, allocations: 0.8484 MB / 344.3 MB, free: 3.609 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.1645, allocations: 4.125 kB / 344.3 MB, free: 3.605 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003112/0.1648, allocations: 83.83 kB / 344.4 MB, free: 3.523 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1648, allocations: 0 / 344.4 MB, free: 3.523 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.1648, allocations: 12.06 kB / 344.4 MB, free: 3.512 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1648, allocations: 4 kB / 344.4 MB, free: 3.508 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.1649, allocations: 4 kB / 344.4 MB, free: 3.504 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008683/0.1657, allocations: 0.5457 MB / 345 MB, free: 2.93 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001526/0.1659, allocations: 140.6 kB / 345.1 MB, free: 2.773 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.808e-05/0.166, allocations: 12 kB / 345.1 MB, free: 2.762 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.1662, allocations: 15.98 kB / 345.1 MB, free: 2.746 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.478e-05/0.1662, allocations: 23.97 kB / 345.1 MB, free: 2.723 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-05/0.1663, allocations: 20 kB / 345.2 MB, free: 2.703 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002384/0.1665, allocations: 255 kB / 345.4 MB, free: 2.457 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1665, allocations: 0 / 345.4 MB, free: 2.457 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004046/0.167, allocations: 100.5 kB / 345.5 MB, free: 2.359 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (cylinder1.m,cylinder1.H,cylinder2.H,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009961/0.168, allocations: 420 kB / 345.9 MB, free: 1.957 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000646/0.1686, allocations: 370.5 kB / 346.3 MB, free: 1.582 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1686, allocations: 0 / 346.3 MB, free: 1.582 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.1688, allocations: 135.8 kB / 346.4 MB, free: 1.449 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006255/0.1695, allocations: 93.25 kB / 346.5 MB, free: 1.359 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.1714, allocations: 1.299 MB / 347.8 MB, free: 20 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.1718, allocations: 0.7963 MB / 348.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001828/0.172, allocations: 55.23 kB / 348.7 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.833e-05/0.1721, allocations: 31.44 kB / 348.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1721, allocations: 0 / 348.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of Templates: time 0.009901/0.182, allocations: 4.942 MB / 353.6 MB, free: 10.16 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches