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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.001433/0.001433, allocations: 183 kB / 18.04 MB, free: 3.777 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.421/1.421, allocations: 205.4 MB / 224.2 MB, free: 9.016 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.0007494/0.0007494, allocations: 100.2 kB / 272.5 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003567, allocations: 8 kB / 329.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2403, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09669/0.337, allocations: 82.06 MB / 459.1 MB, free: 14.47 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002063/0.3373, allocations: 79.95 kB / 459.2 MB, free: 14.39 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02475/0.362, allocations: 9.569 MB / 468.7 MB, free: 4.773 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3621, allocations: 4 kB / 468.7 MB, free: 4.77 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.602e-05/0.3621, allocations: 8 kB / 468.7 MB, free: 4.762 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009782/0.3631, allocations: 0.6412 MB / 469.4 MB, free: 4.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.3631, allocations: 8.031 kB / 469.4 MB, free: 4.062 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.468e-05/0.3632, allocations: 48.47 kB / 469.4 MB, free: 4.016 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004659/0.3637, allocations: 328.5 kB / 469.8 MB, free: 3.652 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/0.3637, allocations: 20.94 kB / 469.8 MB, free: 3.633 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.107e-05/0.3638, allocations: 32.28 kB / 469.8 MB, free: 3.602 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004341/0.3642, allocations: 291.6 kB / 470.1 MB, free: 3.293 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.3643, allocations: 4.188 kB / 470.1 MB, free: 3.289 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.916e-05/0.3643, allocations: 15.94 kB / 470.1 MB, free: 3.273 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.3643, allocations: 4 kB / 470.1 MB, free: 3.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003029/0.3646, allocations: 178.1 kB / 470.3 MB, free: 3.098 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.3659, allocations: 0.8677 MB / 471.2 MB, free: 2.164 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004999/0.3664, allocations: 263.4 kB / 471.4 MB, free: 1.898 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/0.3666, allocations: 105.4 kB / 471.5 MB, free: 1.793 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.315e-05/0.3666, allocations: 4.281 kB / 471.5 MB, free: 1.789 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002742/0.3669, allocations: 161.8 kB / 471.7 MB, free: 1.621 MB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 2.214e-06/0.3669, allocations: 4 kB / 471.7 MB, free: 1.617 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.002235/0.3692, allocations: 1.316 MB / 473 MB, free: 192 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.3693, allocations: 191.9 kB / 473.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004245/0.3697, allocations: 356.4 kB / 473.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/0.3698, allocations: 37.7 kB / 473.6 MB, free: 15.56 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.3699, allocations: 188.6 kB / 473.8 MB, free: 15.37 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.37, allocations: 134 kB / 473.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.495e-05/0.3701, allocations: 8 kB / 473.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.3703, allocations: 350.8 kB / 474.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.3705, allocations: 92.77 kB / 474.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002392/0.3707, allocations: 181.3 kB / 474.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004005/0.3711, allocations: 250.2 kB / 474.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3711, allocations: 4 kB / 474.8 MB, free: 14.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005528/0.3717, allocations: 358.3 kB / 475.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.3717, allocations: 11.88 kB / 475.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.3717, allocations: 3.984 kB / 475.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.1e-05/0.3718, allocations: 20.98 kB / 475.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003277/0.3722, allocations: 95.83 kB / 475.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/0.3733, allocations: 1.281 MB / 476.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.3735, allocations: 20.19 kB / 476.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.3735, allocations: 15.98 kB / 476.5 MB, free: 12.37 MB / 362.7 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.0001881/0.3737, allocations: 165.7 kB / 476.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.446e-05/0.3738, allocations: 39.53 kB / 476.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000576/0.3743, allocations: 342 kB / 477.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.3744, allocations: 7.984 kB / 477.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.3744, allocations: 0 / 477.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006084/0.375, allocations: 0.6722 MB / 477.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.3762, allocations: 0.8721 MB / 478.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.3762, allocations: 12.06 kB / 478.6 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003159/0.3765, allocations: 75.91 kB / 478.7 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.3765, allocations: 4 kB / 478.7 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.3766, allocations: 15.94 kB / 478.7 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.3766, allocations: 0 / 478.7 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.3766, allocations: 7.984 kB / 478.7 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007382/0.3773, allocations: 0.5612 MB / 479.3 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/0.3775, allocations: 140.8 kB / 479.4 MB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.791e-05/0.3776, allocations: 15.92 kB / 479.5 MB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.3778, allocations: 16 kB / 479.5 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.869e-05/0.3778, allocations: 19.97 kB / 479.5 MB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.714e-05/0.3779, allocations: 23.98 kB / 479.5 MB, free: 9.156 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002877/0.3782, allocations: 251 kB / 479.8 MB, free: 8.914 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3782, allocations: 0 / 479.8 MB, free: 8.914 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004493/0.3786, allocations: 112.6 kB / 479.9 MB, free: 8.805 MB / 362.7 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 (41): * Single equations (assignments): 39 * 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.0009936/0.3796, allocations: 446.2 kB / 480.3 MB, free: 8.387 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006573/0.3803, allocations: 378.2 kB / 480.7 MB, free: 8.004 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3803, allocations: 0 / 480.7 MB, free: 8.004 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002186/0.3805, allocations: 143.9 kB / 480.8 MB, free: 7.863 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006262/0.3812, allocations: 101 kB / 480.9 MB, free: 7.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.383, allocations: 1.272 MB / 482.2 MB, free: 6.453 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.3834, allocations: 0.8119 MB / 483 MB, free: 5.617 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001826/0.3836, allocations: 39.28 kB / 483 MB, free: 5.582 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.796e-05/0.3837, allocations: 39.42 kB / 483.1 MB, free: 5.543 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.3837, allocations: 0 / 483.1 MB, free: 5.543 MB / 362.7 MB Notification: Performance of Templates: time 0.009607/0.3933, allocations: 5.053 MB / 488.1 MB, free: 496 kB / 362.7 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/jenkins1/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