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.001332/0.001332, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.382/1.382, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008518/0.0008518, allocations: 78.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.335e-05/2.337e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08927/0.08931, allocations: 47.58 MB / 370 MB, free: 1.715 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3277/0.4171, allocations: 81.87 MB / 451.9 MB, free: 11.42 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.4174, allocations: 70.2 kB / 452 MB, free: 11.39 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02792/0.4453, allocations: 9.558 MB / 461.5 MB, free: 3.352 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.4454, allocations: 0 / 461.5 MB, free: 3.352 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.108e-05/0.4454, allocations: 8 kB / 461.5 MB, free: 3.344 MB / 330.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.0007823/0.4462, allocations: 0.5938 MB / 462.1 MB, free: 2.703 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.4462, allocations: 8.031 kB / 462.1 MB, free: 2.695 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.239e-05/0.4463, allocations: 47.48 kB / 462.2 MB, free: 2.648 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004626/0.4468, allocations: 308.3 kB / 462.5 MB, free: 2.305 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.4468, allocations: 24.5 kB / 462.5 MB, free: 2.281 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.609e-05/0.4469, allocations: 24.22 kB / 462.5 MB, free: 2.258 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004338/0.4473, allocations: 283.2 kB / 462.8 MB, free: 1.957 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.4474, allocations: 7.938 kB / 462.8 MB, free: 1.949 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.4474, allocations: 12 kB / 462.8 MB, free: 1.938 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.4474, allocations: 4 kB / 462.8 MB, free: 1.934 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002882/0.4477, allocations: 178.1 kB / 463 MB, free: 1.762 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.449, allocations: 0.8639 MB / 463.9 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004564/0.4495, allocations: 255.5 kB / 464.1 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.4496, allocations: 97.41 kB / 464.2 MB, free: 484 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.4496, allocations: 8.234 kB / 464.2 MB, free: 476 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002635/0.4499, allocations: 165.8 kB / 464.4 MB, free: 300 kB / 330.7 MB Notification: Performance of pre-optimization done (n=34): time 1.773e-06/0.4499, allocations: 0 / 464.4 MB, free: 300 kB / 330.7 MB Notification: Performance of matching and sorting (n=40): time 0.002167/0.4521, allocations: 1.148 MB / 465.5 MB, free: 15.05 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.773e-05/0.4522, allocations: 187.9 kB / 465.7 MB, free: 14.82 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004553/0.4527, allocations: 318.7 kB / 466 MB, free: 14.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/0.4527, allocations: 33.7 kB / 466 MB, free: 14.46 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.4529, allocations: 184.6 kB / 466.2 MB, free: 14.28 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.453, allocations: 134 kB / 466.4 MB, free: 14.15 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.078e-05/0.4531, allocations: 8 kB / 466.4 MB, free: 14.14 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.4532, allocations: 350.8 kB / 466.7 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.4534, allocations: 84.88 kB / 466.8 MB, free: 13.71 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002928/0.4538, allocations: 185.8 kB / 467 MB, free: 13.49 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002643/0.454, allocations: 109.6 kB / 467.1 MB, free: 13.39 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.454, allocations: 0 / 467.1 MB, free: 13.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005762/0.4546, allocations: 362.6 kB / 467.4 MB, free: 13.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.4547, allocations: 4 kB / 467.4 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.4547, allocations: 0 / 467.4 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001115/0.4548, allocations: 20.86 kB / 467.5 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003218/0.4551, allocations: 95.95 kB / 467.6 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009082/0.456, allocations: 1.296 MB / 468.9 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.4562, allocations: 12.19 kB / 468.9 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/0.4563, allocations: 16 kB / 468.9 MB, free: 11.45 MB / 346.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 () * 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.0001109/0.4564, allocations: 129.8 kB / 469 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.947e-05/0.4564, allocations: 39.53 kB / 469 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005779/0.457, allocations: 342 kB / 469.4 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.457, allocations: 11.95 kB / 469.4 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.457, allocations: 3.938 kB / 469.4 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005563/0.4576, allocations: 0.6528 MB / 470 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.4588, allocations: 0.8682 MB / 470.9 MB, free: 9.219 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.4588, allocations: 0 / 470.9 MB, free: 9.219 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003407/0.4592, allocations: 88.02 kB / 471 MB, free: 9.133 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.4592, allocations: 3.984 kB / 471 MB, free: 9.129 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.4592, allocations: 12 kB / 471 MB, free: 9.117 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.4592, allocations: 4 kB / 471 MB, free: 9.113 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4592, allocations: 4 kB / 471 MB, free: 9.109 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007188/0.46, allocations: 0.5946 MB / 471.6 MB, free: 8.461 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/0.4601, allocations: 140.8 kB / 471.8 MB, free: 8.305 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.444e-05/0.4602, allocations: 15.98 kB / 471.8 MB, free: 8.289 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.4604, allocations: 15.95 kB / 471.8 MB, free: 8.273 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.51e-05/0.4605, allocations: 27.97 kB / 471.8 MB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.744e-05/0.4605, allocations: 15.98 kB / 471.8 MB, free: 8.23 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002796/0.4608, allocations: 250.2 kB / 472.1 MB, free: 7.984 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4608, allocations: 0 / 472.1 MB, free: 7.984 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004071/0.4612, allocations: 120.5 kB / 472.2 MB, free: 7.867 MB / 346.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) * 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.0009272/0.4622, allocations: 405.2 kB / 472.6 MB, free: 7.477 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005833/0.4628, allocations: 358.3 kB / 472.9 MB, free: 7.113 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4628, allocations: 0 / 472.9 MB, free: 7.113 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.463, allocations: 139.6 kB / 473.1 MB, free: 6.977 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004435/0.4634, allocations: 77.61 kB / 473.1 MB, free: 6.902 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.4648, allocations: 0.8171 MB / 474 MB, free: 6.047 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/0.4652, allocations: 0.8196 MB / 474.8 MB, free: 5.199 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001744/0.4653, allocations: 51.25 kB / 474.8 MB, free: 5.148 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.654e-05/0.4654, allocations: 31.44 kB / 474.9 MB, free: 5.117 MB / 346.7 MB Notification: Performance of SimCode: time 3.8e-07/0.4654, allocations: 4 kB / 474.9 MB, free: 5.113 MB / 346.7 MB Notification: Performance of Templates: time 0.009302/0.4747, allocations: 4.987 MB / 479.9 MB, free: 124 kB / 346.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/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