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.001238/0.001238, allocations: 98.34 kB / 16.93 MB, free: 5.984 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.001343/0.001343, allocations: 182.2 kB / 17.82 MB, free: 5.641 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.659/1.659, allocations: 205.4 MB / 224 MB, free: 13.16 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.000627/0.0006274, allocations: 15.98 kB / 280.7 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1266, allocations: 47.58 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004104/0.1308, allocations: 2.424 MB / 330.7 MB, free: 1.656 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002237/0.1331, allocations: 1.069 MB / 331.8 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003592/0.1335, allocations: 4 kB / 331.8 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005691/0.1341, allocations: 131.5 kB / 331.9 MB, free: 456 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007107/0.1348, allocations: 191.5 kB / 332.1 MB, free: 264 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005979/0.1354, allocations: 115.7 kB / 332.2 MB, free: 148 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007593/0.1362, allocations: 295.3 kB / 332.5 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002697/0.1365, allocations: 89.59 kB / 332.6 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003375/0.1368, allocations: 147.5 kB / 332.8 MB, free: 15.62 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003186/0.1372, allocations: 167.3 kB / 332.9 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.723e-05/0.1372, allocations: 16 kB / 332.9 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002131/0.1375, allocations: 43.92 kB / 333 MB, free: 15.4 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.978e-05/0.1376, allocations: 63.75 kB / 333 MB, free: 15.34 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.1377, allocations: 93.52 kB / 333.1 MB, free: 15.24 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004542/0.1382, allocations: 331.3 kB / 333.5 MB, free: 14.92 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1382, allocations: 0 / 333.5 MB, free: 14.92 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.1382, allocations: 4 kB / 333.5 MB, free: 14.91 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.1382, allocations: 0 / 333.5 MB, free: 14.91 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.001276/0.1395, allocations: 0.6205 MB / 334.1 MB, free: 14.24 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.1396, allocations: 8.031 kB / 334.1 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.1397, allocations: 51.48 kB / 334.1 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000537/0.1403, allocations: 299.5 kB / 334.4 MB, free: 13.85 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.1403, allocations: 16.56 kB / 334.5 MB, free: 13.84 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.643e-05/0.1404, allocations: 27.91 kB / 334.5 MB, free: 13.81 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005637/0.141, allocations: 291 kB / 334.8 MB, free: 13.5 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.141, allocations: 7.984 kB / 334.8 MB, free: 13.49 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.937e-05/0.141, allocations: 12 kB / 334.8 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.1411, allocations: 11.92 kB / 334.8 MB, free: 13.46 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003626/0.1414, allocations: 182.1 kB / 335 MB, free: 13.29 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/0.143, allocations: 0.8327 MB / 335.8 MB, free: 12.39 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005586/0.1436, allocations: 259.4 kB / 336.1 MB, free: 12.13 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.876e-05/0.1437, allocations: 8.266 kB / 336.1 MB, free: 12.12 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003686/0.144, allocations: 165.4 kB / 336.2 MB, free: 11.95 MB / 286.1 MB Notification: Performance of pre-optimization done (n=34): time 2.225e-06/0.144, allocations: 0 / 336.2 MB, free: 11.95 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.002568/0.1466, allocations: 1.312 MB / 337.5 MB, free: 10.53 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001554/0.1468, allocations: 187.9 kB / 337.7 MB, free: 10.3 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004314/0.1472, allocations: 336.5 kB / 338.1 MB, free: 9.961 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/0.1473, allocations: 41.7 kB / 338.1 MB, free: 9.914 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.1475, allocations: 188.6 kB / 338.3 MB, free: 9.727 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.1476, allocations: 138 kB / 338.4 MB, free: 9.59 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.475e-05/0.1476, allocations: 4 kB / 338.4 MB, free: 9.586 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.1478, allocations: 350.8 kB / 338.8 MB, free: 9.234 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.148, allocations: 88.83 kB / 338.8 MB, free: 9.148 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002857/0.1483, allocations: 181.2 kB / 339 MB, free: 8.934 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002244/0.1486, allocations: 101.9 kB / 339.1 MB, free: 8.836 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1486, allocations: 4 kB / 339.1 MB, free: 8.832 MB / 286.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000644/0.1492, allocations: 358.6 kB / 339.5 MB, free: 8.473 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.1493, allocations: 4 kB / 339.5 MB, free: 8.469 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.1493, allocations: 0 / 339.5 MB, free: 8.469 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001057/0.1494, allocations: 24.84 kB / 339.5 MB, free: 8.441 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003498/0.1497, allocations: 83.91 kB / 339.6 MB, free: 8.359 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/0.151, allocations: 1.3 MB / 340.9 MB, free: 6.93 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/0.1513, allocations: 15.92 kB / 340.9 MB, free: 6.914 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.203e-05/0.1513, allocations: 16 kB / 340.9 MB, free: 6.898 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002487/0.1516, allocations: 173.9 kB / 341.1 MB, free: 6.719 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-05/0.1517, allocations: 43.52 kB / 341.1 MB, free: 6.676 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.986e-05/0.1518, allocations: 47.95 kB / 341.2 MB, free: 6.621 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.1518, allocations: 4 kB / 341.2 MB, free: 6.617 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1518, allocations: 0 / 341.2 MB, free: 6.617 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007231/0.1526, allocations: 0.6492 MB / 341.8 MB, free: 5.863 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.1539, allocations: 0.8451 MB / 342.7 MB, free: 4.949 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1539, allocations: 3.938 kB / 342.7 MB, free: 4.945 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003158/0.1542, allocations: 79.89 kB / 342.8 MB, free: 4.867 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.1542, allocations: 4 kB / 342.8 MB, free: 4.863 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/0.1542, allocations: 8 kB / 342.8 MB, free: 4.855 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.1543, allocations: 8.125 kB / 342.8 MB, free: 4.848 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1543, allocations: 8 kB / 342.8 MB, free: 4.84 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008432/0.1551, allocations: 0.5876 MB / 343.4 MB, free: 4.199 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/0.1553, allocations: 140.7 kB / 343.5 MB, free: 4.043 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.996e-05/0.1554, allocations: 11.98 kB / 343.5 MB, free: 4.031 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.1556, allocations: 19.94 kB / 343.5 MB, free: 4.012 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.41e-05/0.1557, allocations: 19.97 kB / 343.6 MB, free: 3.992 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.473e-05/0.1557, allocations: 19.98 kB / 343.6 MB, free: 3.973 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002612/0.156, allocations: 247 kB / 343.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.156, allocations: 0 / 343.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000454/0.1564, allocations: 96 kB / 343.9 MB, free: 3.641 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 (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.0009374/0.1574, allocations: 420.7 kB / 344.3 MB, free: 3.238 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007212/0.1581, allocations: 370.4 kB / 344.7 MB, free: 2.863 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.1581, allocations: 4.062 kB / 344.7 MB, free: 2.859 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002371/0.1584, allocations: 135.7 kB / 344.8 MB, free: 2.727 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000484/0.1589, allocations: 85.31 kB / 344.9 MB, free: 2.645 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.1608, allocations: 1.249 MB / 346.2 MB, free: 1.355 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005312/0.1613, allocations: 0.808 MB / 347 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001829/0.1615, allocations: 38.95 kB / 347 MB, free: 500 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.077e-05/0.1616, allocations: 35.44 kB / 347 MB, free: 464 kB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1616, allocations: 0 / 347 MB, free: 464 kB / 286.1 MB Notification: Performance of Templates: time 0.01056/0.1722, allocations: 4.626 MB / 351.7 MB, free: 11.82 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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