Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001658/0.001657, allocations: 177 kB / 8.148 MB, free: 2.211 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.681/1.681, allocations: 205.2 MB / 213.8 MB, free: 13.95 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.001272/0.001271, allocations: 90.91 kB / 261.8 MB, free: 13.65 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.138e-06/9.417e-06, allocations: 0 / 314.3 MB, free: 9.07 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2358, allocations: 47.56 MB / 361.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1511/0.3869, allocations: 81.15 MB / 443 MB, free: 4.91 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/0.3873, allocations: 72.45 kB / 443.1 MB, free: 4.84 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.04317/0.4305, allocations: 9.166 MB / 452.2 MB, free: 11.7 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.83e-05/0.4305, allocations: 8 kB / 452.2 MB, free: 11.7 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.001182/0.4317, allocations: 0.5976 MB / 452.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.4318, allocations: 12.03 kB / 452.8 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/0.432, allocations: 39.53 kB / 452.9 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007207/0.4327, allocations: 311.4 kB / 453.2 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/0.4327, allocations: 8 kB / 453.2 MB, free: 10.65 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.467e-05/0.4328, allocations: 16 kB / 453.2 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005593/0.4334, allocations: 156.9 kB / 453.4 MB, free: 10.48 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006332/0.434, allocations: 256.6 kB / 453.6 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.102e-05/0.4341, allocations: 8 kB / 453.6 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.105e-05/0.4341, allocations: 0 / 453.6 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.4342, allocations: 4 kB / 453.6 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00237/0.4365, allocations: 0.8203 MB / 454.4 MB, free: 9.324 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006341/0.4372, allocations: 190.3 kB / 454.6 MB, free: 9.133 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002955/0.4376, allocations: 93.34 kB / 454.7 MB, free: 9.039 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.371e-05/0.4376, allocations: 4.281 kB / 454.7 MB, free: 9.035 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003723/0.438, allocations: 141.6 kB / 454.9 MB, free: 8.887 MB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 3.045e-06/0.438, allocations: 0 / 454.9 MB, free: 8.887 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.003168/0.4412, allocations: 1.047 MB / 455.9 MB, free: 7.746 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001558/0.4414, allocations: 183.9 kB / 456.1 MB, free: 7.523 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006317/0.442, allocations: 299.5 kB / 456.4 MB, free: 7.223 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.625e-05/0.4422, allocations: 29.69 kB / 456.4 MB, free: 7.188 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.4423, allocations: 191 kB / 456.6 MB, free: 7 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001923/0.4425, allocations: 130 kB / 456.7 MB, free: 6.871 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.923e-05/0.4426, allocations: 0 / 456.7 MB, free: 6.871 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.4427, allocations: 326.8 kB / 457 MB, free: 6.543 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000278/0.443, allocations: 80.86 kB / 457.1 MB, free: 6.465 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003518/0.4434, allocations: 160.5 kB / 457.3 MB, free: 6.273 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003317/0.4437, allocations: 105.5 kB / 457.4 MB, free: 6.172 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.4438, allocations: 4 kB / 457.4 MB, free: 6.168 MB / 346.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000957/0.4447, allocations: 306.9 kB / 457.7 MB, free: 5.859 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.4448, allocations: 4 kB / 457.7 MB, free: 5.855 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.4448, allocations: 0 / 457.7 MB, free: 5.855 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001804/0.445, allocations: 24.84 kB / 457.7 MB, free: 5.828 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007773/0.4458, allocations: 95.83 kB / 457.8 MB, free: 5.734 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/0.4473, allocations: 1.227 MB / 459 MB, free: 4.395 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003012/0.4477, allocations: 4 kB / 459 MB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.733e-05/0.4477, allocations: 12 kB / 459 MB, free: 4.379 MB / 346.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.0002014/0.448, allocations: 41.8 kB / 459.1 MB, free: 4.332 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.4481, allocations: 35.53 kB / 459.1 MB, free: 4.297 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009984/0.4491, allocations: 305.9 kB / 459.4 MB, free: 3.984 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.4492, allocations: 6.438 kB / 459.4 MB, free: 3.98 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.4492, allocations: 0 / 459.4 MB, free: 3.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009394/0.4501, allocations: 0.6254 MB / 460.1 MB, free: 3.25 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002067/0.4522, allocations: 0.7916 MB / 460.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/0.4523, allocations: 4 kB / 460.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007198/0.453, allocations: 83.95 kB / 460.9 MB, free: 2.316 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.629e-05/0.4531, allocations: 8.125 kB / 460.9 MB, free: 2.309 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.106e-05/0.4531, allocations: 7.938 kB / 460.9 MB, free: 2.301 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.4531, allocations: 0 / 460.9 MB, free: 2.301 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/0.4532, allocations: 4 kB / 460.9 MB, free: 2.297 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001288/0.4545, allocations: 0.5674 MB / 461.5 MB, free: 1.676 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003067/0.4548, allocations: 148.6 kB / 461.7 MB, free: 1.512 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.122e-05/0.4549, allocations: 8 kB / 461.7 MB, free: 1.504 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003631/0.4553, allocations: 11.89 kB / 461.7 MB, free: 1.492 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.242e-05/0.4554, allocations: 23.97 kB / 461.7 MB, free: 1.469 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.973e-05/0.4554, allocations: 12 kB / 461.7 MB, free: 1.457 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0004188/0.4558, allocations: 231.1 kB / 461.9 MB, free: 1.23 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006056/0.4565, allocations: 100.5 kB / 462 MB, free: 1.133 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.0009553/0.4574, allocations: 314 kB / 462.3 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009249/0.4584, allocations: 329.7 kB / 462.7 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.4584, allocations: 0 / 462.7 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003527/0.4588, allocations: 135.8 kB / 462.8 MB, free: 412 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008256/0.4596, allocations: 73.47 kB / 462.9 MB, free: 340 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002485/0.4621, allocations: 0.8142 MB / 463.7 MB, free: 15.47 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007473/0.4629, allocations: 0.8543 MB / 464.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/0.4629, allocations: 0 / 464.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of Templates: time 0.01461/0.4776, allocations: 5.719 MB / 470.3 MB, free: 8.879 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches