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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 179.1 kB / 8.48 MB, free: 1.871 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.298/1.298, allocations: 205.2 MB / 214.1 MB, free: 5.086 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008227/0.0008227, allocations: 78 kB / 262.1 MB, free: 5.137 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.314e-06/7.354e-06, allocations: 0 / 315 MB, free: 41.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1079, allocations: 47.58 MB / 362.5 MB, free: 9.953 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3002/0.4082, allocations: 81.14 MB / 443.7 MB, free: 10.95 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/0.4085, allocations: 75.38 kB / 443.8 MB, free: 10.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02349/0.432, allocations: 9.161 MB / 452.9 MB, free: 8.449 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.587e-05/0.4321, allocations: 7.688 kB / 452.9 MB, free: 8.449 MB / 314.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.0007884/0.4329, allocations: 0.594 MB / 453.5 MB, free: 7.938 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.4329, allocations: 11.38 kB / 453.5 MB, free: 7.938 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.2e-05/0.433, allocations: 42.38 kB / 453.6 MB, free: 7.918 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004432/0.4335, allocations: 318 kB / 453.9 MB, free: 7.66 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.4335, allocations: 7.562 kB / 453.9 MB, free: 7.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.032e-05/0.4336, allocations: 15.34 kB / 453.9 MB, free: 7.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002764/0.4338, allocations: 152.6 kB / 454.1 MB, free: 7.648 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003249/0.4342, allocations: 256.9 kB / 454.3 MB, free: 7.523 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.4342, allocations: 0 / 454.3 MB, free: 7.523 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.4342, allocations: 3.844 kB / 454.3 MB, free: 7.523 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.4342, allocations: 3.844 kB / 454.3 MB, free: 7.523 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.4354, allocations: 0.8238 MB / 455.1 MB, free: 7.027 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003294/0.4357, allocations: 188.1 kB / 455.3 MB, free: 6.996 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.4359, allocations: 90.55 kB / 455.4 MB, free: 6.984 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.663e-05/0.4359, allocations: 12.11 kB / 455.4 MB, free: 6.977 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/0.4361, allocations: 142.7 kB / 455.6 MB, free: 6.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=34): time 1.794e-06/0.4361, allocations: 0 / 455.6 MB, free: 6.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.001506/0.4376, allocations: 1.04 MB / 456.6 MB, free: 6.285 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.4377, allocations: 187.7 kB / 456.8 MB, free: 6.062 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002725/0.4379, allocations: 291.8 kB / 457.1 MB, free: 5.938 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.438, allocations: 27.02 kB / 457.1 MB, free: 5.906 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.897e-05/0.438, allocations: 144.4 kB / 457.2 MB, free: 5.789 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.34e-05/0.4381, allocations: 140 kB / 457.4 MB, free: 5.688 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.25e-05/0.4381, allocations: 0 / 457.4 MB, free: 5.688 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.356e-05/0.4382, allocations: 349.4 kB / 457.7 MB, free: 5.363 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.4383, allocations: 75.16 kB / 457.8 MB, free: 5.363 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.4385, allocations: 164 kB / 457.9 MB, free: 5.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.4387, allocations: 111.4 kB / 458.1 MB, free: 5.246 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.4387, allocations: 3.688 kB / 458.1 MB, free: 5.246 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004306/0.4392, allocations: 321.3 kB / 458.4 MB, free: 5.148 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.4392, allocations: 7.719 kB / 458.4 MB, free: 5.148 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.4392, allocations: 0 / 458.4 MB, free: 5.148 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001049/0.4393, allocations: 19.91 kB / 458.4 MB, free: 5.137 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003393/0.4396, allocations: 100.7 kB / 458.5 MB, free: 5.113 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007046/0.4404, allocations: 1.226 MB / 459.7 MB, free: 3.891 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.4405, allocations: 8.062 kB / 459.7 MB, free: 3.887 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.4406, allocations: 14.72 kB / 459.7 MB, free: 3.887 MB / 314.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: cylinder1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real 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.0001387/0.4407, allocations: 111.3 kB / 459.9 MB, free: 3.773 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.721e-05/0.4408, allocations: 43.11 kB / 459.9 MB, free: 3.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00051/0.4413, allocations: 299.2 kB / 460.2 MB, free: 3.656 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.4413, allocations: 4.969 kB / 460.2 MB, free: 3.656 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.4413, allocations: 0 / 460.2 MB, free: 3.656 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000413/0.4417, allocations: 0.6317 MB / 460.8 MB, free: 3.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.4428, allocations: 0.7876 MB / 461.6 MB, free: 2.652 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.4428, allocations: 1.344 kB / 461.6 MB, free: 2.652 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003721/0.4432, allocations: 88.73 kB / 461.7 MB, free: 2.629 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.792e-06/0.4432, allocations: 3.906 kB / 461.7 MB, free: 2.629 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.4432, allocations: 6.531 kB / 461.7 MB, free: 2.625 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.4433, allocations: 2.625 kB / 461.7 MB, free: 2.625 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.4433, allocations: 1.312 kB / 461.7 MB, free: 2.625 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006472/0.4439, allocations: 0.5678 MB / 462.3 MB, free: 2.328 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.4441, allocations: 144.3 kB / 462.4 MB, free: 2.203 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.657e-05/0.4441, allocations: 5.844 kB / 462.4 MB, free: 2.203 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.4444, allocations: 14.38 kB / 462.4 MB, free: 2.195 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.4444, allocations: 25.88 kB / 462.5 MB, free: 2.184 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.999e-05/0.4445, allocations: 14.52 kB / 462.5 MB, free: 2.18 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0002598/0.4447, allocations: 236.8 kB / 462.7 MB, free: 2.078 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004386/0.4452, allocations: 94.09 kB / 462.8 MB, free: 2.07 MB / 314.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.0007266/0.4459, allocations: 325 kB / 463.1 MB, free: 1.816 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005533/0.4465, allocations: 323.9 kB / 463.4 MB, free: 1.707 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.4465, allocations: 5.156 kB / 463.4 MB, free: 1.703 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002103/0.4467, allocations: 130.9 kB / 463.6 MB, free: 1.688 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004556/0.4472, allocations: 66.36 kB / 463.6 MB, free: 1.672 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.4485, allocations: 0.7874 MB / 464.4 MB, free: 1.168 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000464/0.449, allocations: 0.8537 MB / 465.3 MB, free: 16.4 MB / 330.7 MB Notification: Performance of SimCode: time 1.302e-06/0.449, allocations: 0 / 465.3 MB, free: 16.4 MB / 330.7 MB Notification: Performance of Templates: time 0.01101/0.46, allocations: 4.858 MB / 470.1 MB, free: 13.98 MB / 330.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