Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [: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 4.0.0+maint.om/package.mo): time 0.0009901/0.0009902, allocations: 182.8 kB / 8.138 MB, free: 2.688 MB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.227/1.227, allocations: 221.4 MB / 229.9 MB, free: 7.664 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000957/0.0009572, allocations: 105.2 kB / 280.8 MB, free: 5.137 MB / 222.1 MB Notification: Performance of FrontEnd - loaded program: time 8.075e-06/8.105e-06, allocations: 0 / 336.5 MB, free: 13.4 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2105, allocations: 50.39 MB / 386.9 MB, free: 40.43 MB / 302.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08606/0.2966, allocations: 80.25 MB / 467.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/0.2969, allocations: 71.91 kB / 467.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.04115/0.338, allocations: 15.57 MB / 482.8 MB, free: 10.63 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.73e-05/0.3381, allocations: 15.98 kB / 482.8 MB, free: 10.62 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.00159/0.3397, allocations: 1.053 MB / 483.9 MB, free: 9.496 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.3397, allocations: 12.03 kB / 483.9 MB, free: 9.484 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.3399, allocations: 106.9 kB / 484 MB, free: 9.379 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007924/0.3407, allocations: 0.52 MB / 484.5 MB, free: 8.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001763/0.3409, allocations: 134.4 kB / 484.6 MB, free: 8.672 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-05/0.341, allocations: 39.91 kB / 484.7 MB, free: 8.633 MB / 366.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008453/0.3418, allocations: 474.5 kB / 485.1 MB, free: 8.168 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009434/0.3428, allocations: 0.7017 MB / 485.8 MB, free: 7.363 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.3428, allocations: 4 kB / 485.8 MB, free: 7.359 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.564e-05/0.3429, allocations: 3.938 kB / 485.8 MB, free: 7.355 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.3429, allocations: 16.75 kB / 485.9 MB, free: 7.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00312/0.346, allocations: 1.996 MB / 487.9 MB, free: 5.258 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/0.3474, allocations: 0.8386 MB / 488.7 MB, free: 4.355 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004816/0.3479, allocations: 323.2 kB / 489 MB, free: 4.043 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.121e-05/0.348, allocations: 20.7 kB / 489 MB, free: 4.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.348, allocations: 51.22 kB / 489.1 MB, free: 3.961 MB / 366.1 MB Notification: Performance of pre-optimization done (n=74): time 2.454e-06/0.348, allocations: 4 kB / 489.1 MB, free: 3.957 MB / 366.1 MB Notification: Performance of matching and sorting (n=74): time 0.002033/0.35, allocations: 0.824 MB / 489.9 MB, free: 3.117 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002931/0.3503, allocations: 0.8279 MB / 490.7 MB, free: 2.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005369/0.3509, allocations: 474.4 kB / 491.2 MB, free: 1.621 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.318e-05/0.351, allocations: 29.7 kB / 491.2 MB, free: 1.586 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.3511, allocations: 236.8 kB / 491.5 MB, free: 1.352 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001757/0.3513, allocations: 248.2 kB / 491.7 MB, free: 1.105 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.3513, allocations: 0 / 491.7 MB, free: 1.105 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3515, allocations: 382.8 kB / 492.1 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003412/0.3518, allocations: 194.5 kB / 492.3 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005406/0.3524, allocations: 472.1 kB / 492.7 MB, free: 15.97 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003987/0.3528, allocations: 245.2 kB / 493 MB, free: 15.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3528, allocations: 0 / 493 MB, free: 15.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00206/0.3548, allocations: 0.9031 MB / 493.9 MB, free: 14.81 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.3549, allocations: 4 kB / 493.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.3549, allocations: 3.984 kB / 493.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006309/0.3555, allocations: 211.2 kB / 494.1 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006203/0.3562, allocations: 143.8 kB / 494.2 MB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006279/0.3624, allocations: 5.974 MB / 0.4885 GB, free: 8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007019/0.3632, allocations: 79.55 kB / 0.4886 GB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.179e-05/0.3632, allocations: 27.09 kB / 0.4886 GB, free: 7.898 MB / 382.1 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: pipe1.flowPort_b.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.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: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002177/0.3635, allocations: 141.5 kB / 0.4887 GB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.3636, allocations: 79.06 kB / 0.4888 GB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001725/0.3638, allocations: 79.47 kB / 0.4889 GB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.3638, allocations: 8 kB / 0.4889 GB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.3638, allocations: 192 / 0.4889 GB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001932/0.3657, allocations: 1.127 MB / 0.49 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003263/0.369, allocations: 1.735 MB / 0.4917 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.369, allocations: 0 / 0.4917 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007372/0.3698, allocations: 139.9 kB / 0.4918 GB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004375/0.3702, allocations: 166.4 kB / 0.492 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.531e-05/0.3703, allocations: 3.984 kB / 0.492 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1181/0.4884, allocations: 4.642 MB / 0.4965 GB, free: 135.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/0.4884, allocations: 3.938 kB / 0.4965 GB, free: 135.2 MB / 382.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002514/0.4909, allocations: 1.242 MB / 0.4977 GB, free: 135 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004951/0.4915, allocations: 238.8 kB / 0.4979 GB, free: 134.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002151/0.4917, allocations: 5.75 kB / 0.4979 GB, free: 134.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006153/0.4923, allocations: 33.81 kB / 0.498 GB, free: 134.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.4925, allocations: 41.09 kB / 0.498 GB, free: 134.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.253e-05/0.4925, allocations: 22.53 kB / 0.498 GB, free: 134.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 0.000496/0.493, allocations: 364.4 kB / 0.4984 GB, free: 134.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00108/0.4941, allocations: 261.1 kB / 0.4986 GB, free: 134.8 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 59 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002522/0.4944, allocations: 131 kB / 0.4988 GB, free: 134.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001638/0.496, allocations: 1.045 MB / 0.4998 GB, free: 134.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.496, allocations: 8.719 kB / 0.4998 GB, free: 134.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009795/0.497, allocations: 0.6595 MB / 0.5004 GB, free: 134 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009249/0.498, allocations: 173.8 kB / 0.5006 GB, free: 134 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002507/0.5005, allocations: 1.227 MB / 0.5018 GB, free: 133.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005462/0.501, allocations: 1.025 MB / 0.5028 GB, free: 132.9 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.501, allocations: 0 / 0.5028 GB, free: 132.9 MB / 382.1 MB Notification: Performance of Templates: time 0.02681/0.5279, allocations: 14.7 MB / 0.5172 GB, free: 132.2 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches