Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [: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 trunk/package.mo): time 0.001417/0.001417, allocations: 200.3 kB / 8.539 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, allocations: 225.5 MB / 234.4 MB, free: 3.434 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009832/0.0009833, allocations: 97.72 kB / 286.3 MB, free: 5.25 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.264e-06/7.565e-06, allocations: 0 / 343.1 MB, free: 8.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1076, allocations: 51.48 MB / 394.6 MB, free: 5.254 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3322/0.4398, allocations: 80.34 MB / 474.9 MB, free: 12 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.4401, allocations: 66.2 kB / 475 MB, free: 11.97 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.022/0.4621, allocations: 9.133 MB / 484.1 MB, free: 5.551 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.244e-05/0.4622, allocations: 8 kB / 484.2 MB, free: 5.543 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001214/0.4635, allocations: 0.685 MB / 484.8 MB, free: 4.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.4635, allocations: 8.031 kB / 484.8 MB, free: 4.832 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001778/0.4637, allocations: 61.22 kB / 484.9 MB, free: 4.773 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005627/0.4643, allocations: 383.1 kB / 485.3 MB, free: 4.414 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.226e-05/0.4644, allocations: 50.36 kB / 485.3 MB, free: 4.359 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.701e-05/0.4644, allocations: 20 kB / 485.3 MB, free: 4.34 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004415/0.4649, allocations: 241.9 kB / 485.6 MB, free: 4.184 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005016/0.4654, allocations: 386.7 kB / 486 MB, free: 3.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.4654, allocations: 0 / 486 MB, free: 3.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.744e-05/0.4655, allocations: 0 / 486 MB, free: 3.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.4655, allocations: 8 kB / 486 MB, free: 3.832 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001811/0.4673, allocations: 1.185 MB / 487.2 MB, free: 2.859 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000511/0.4678, allocations: 349.2 kB / 487.5 MB, free: 2.57 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.468, allocations: 123.5 kB / 487.6 MB, free: 2.492 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.825e-05/0.4681, allocations: 7.781 kB / 487.6 MB, free: 2.488 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.4681, allocations: 46.72 kB / 487.7 MB, free: 2.438 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 1.683e-06/0.4681, allocations: 0 / 487.7 MB, free: 2.438 MB / 346.7 MB Notification: Performance of matching and sorting (n=33): time 0.0006255/0.4687, allocations: 313.5 kB / 488 MB, free: 2.191 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.803e-05/0.4688, allocations: 448.7 kB / 488.4 MB, free: 1.652 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003214/0.4692, allocations: 336.8 kB / 488.7 MB, free: 1.387 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.4692, allocations: 25.7 kB / 488.8 MB, free: 1.355 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.418e-05/0.4693, allocations: 185.9 kB / 489 MB, free: 1.191 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.966e-05/0.4694, allocations: 109.9 kB / 489.1 MB, free: 1.094 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.579e-05/0.4694, allocations: 0 / 489.1 MB, free: 1.094 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.826e-05/0.4695, allocations: 354 kB / 489.4 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.4696, allocations: 86.38 kB / 489.5 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.4698, allocations: 229.6 kB / 489.7 MB, free: 500 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.47, allocations: 119 kB / 489.8 MB, free: 424 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.47, allocations: 4 kB / 489.8 MB, free: 420 kB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005451/0.4706, allocations: 356.7 kB / 490.2 MB, free: 140 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.4706, allocations: 10.03 kB / 490.2 MB, free: 132 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.4706, allocations: 0 / 490.2 MB, free: 132 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003155/0.471, allocations: 73.33 kB / 490.3 MB, free: 68 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003338/0.4713, allocations: 67.89 kB / 490.3 MB, free: 0 / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002753/0.4741, allocations: 2.633 MB / 493 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003803/0.4745, allocations: 35.72 kB / 493 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/0.4745, allocations: 11.98 kB / 493 MB, free: 13.23 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000218/0.4747, allocations: 123.2 kB / 493.1 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.4749, allocations: 51.27 kB / 493.2 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001166/0.475, allocations: 39.69 kB / 493.2 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.475, allocations: 4 kB / 493.2 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.475, allocations: 1.406 kB / 493.2 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005869/0.4756, allocations: 0.614 MB / 493.8 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.4769, allocations: 0.8189 MB / 494.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.4769, allocations: 0 / 494.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003999/0.4773, allocations: 75.52 kB / 494.7 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/0.4773, allocations: 7.906 kB / 494.7 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/0.4774, allocations: 0 / 494.7 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4774, allocations: 0 / 494.7 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4774, allocations: 0 / 494.7 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006784/0.4781, allocations: 494 kB / 495.2 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000218/0.4783, allocations: 160.2 kB / 495.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.5e-05/0.4784, allocations: 0 / 495.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002666/0.4787, allocations: 19.84 kB / 495.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.212e-05/0.4787, allocations: 11.97 kB / 495.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.4787, allocations: 11.19 kB / 495.4 MB, free: 11.03 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0003017/0.4791, allocations: 266.6 kB / 495.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004868/0.4795, allocations: 123.8 kB / 495.8 MB, free: 10.71 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002013/0.4798, allocations: 114.7 kB / 495.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009515/0.4807, allocations: 496.1 kB / 496.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4807, allocations: 0 / 496.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001824/0.4809, allocations: 116.8 kB / 496.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005369/0.4815, allocations: 102.8 kB / 496.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.483, allocations: 0.5975 MB / 497.2 MB, free: 9.453 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000543/0.4835, allocations: 0.8733 MB / 498.1 MB, free: 8.562 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.4835, allocations: 7.875 kB / 498.1 MB, free: 8.555 MB / 362.7 MB Notification: Performance of Templates: time 0.01339/0.4969, allocations: 6.729 MB / 0.493 GB, free: 2.02 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches