Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") [: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.001408/0.001408, allocations: 182.2 kB / 8.138 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 221.4 MB / 229.9 MB, free: 3.316 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009381/0.0009381, allocations: 88.81 kB / 280.8 MB, free: 1.297 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.67e-06/5.7e-06, allocations: 0 / 336.5 MB, free: 9.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2072, allocations: 50.38 MB / 386.9 MB, free: 38.08 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1049/0.3122, allocations: 81.25 MB / 468.2 MB, free: 5.562 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/0.3125, allocations: 71.95 kB / 468.2 MB, free: 5.492 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.04505/0.3575, allocations: 16.41 MB / 484.6 MB, free: 5.016 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.257e-05/0.3576, allocations: 16 kB / 484.6 MB, free: 5 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.002058/0.3597, allocations: 1.127 MB / 485.8 MB, free: 3.809 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.3597, allocations: 8.031 kB / 485.8 MB, free: 3.801 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001901/0.3599, allocations: 110.8 kB / 485.9 MB, free: 3.691 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008855/0.3608, allocations: 0.559 MB / 486.5 MB, free: 3.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001869/0.361, allocations: 130.3 kB / 486.6 MB, free: 2.941 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.955e-05/0.3611, allocations: 40.22 kB / 486.6 MB, free: 2.902 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009084/0.362, allocations: 498.5 kB / 487.1 MB, free: 2.418 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.3631, allocations: 0.7367 MB / 487.8 MB, free: 1.578 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.3631, allocations: 4 kB / 487.8 MB, free: 1.574 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.603e-05/0.3632, allocations: 0 / 487.8 MB, free: 1.574 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.457e-05/0.3632, allocations: 19.91 kB / 487.9 MB, free: 1.555 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003673/0.3669, allocations: 2.094 MB / 490 MB, free: 15.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.3682, allocations: 0.8347 MB / 490.8 MB, free: 14.47 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005359/0.3687, allocations: 348.1 kB / 491.1 MB, free: 14.13 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.862e-05/0.3688, allocations: 24.62 kB / 491.2 MB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.632e-05/0.3689, allocations: 43.22 kB / 491.2 MB, free: 14.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=78): time 2.926e-06/0.3689, allocations: 0 / 491.2 MB, free: 14.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=78): time 0.002239/0.3711, allocations: 0.8692 MB / 492.1 MB, free: 13.17 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003856/0.3715, allocations: 0.8234 MB / 492.9 MB, free: 12.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000632/0.3722, allocations: 0.4997 MB / 493.4 MB, free: 11.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.976e-05/0.3722, allocations: 33.7 kB / 493.4 MB, free: 11.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.3724, allocations: 240.8 kB / 493.7 MB, free: 11.37 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002036/0.3726, allocations: 264 kB / 493.9 MB, free: 11.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.3726, allocations: 0 / 493.9 MB, free: 11.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.3728, allocations: 386.7 kB / 494.3 MB, free: 10.72 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003819/0.3732, allocations: 209.6 kB / 494.5 MB, free: 10.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005735/0.3738, allocations: 484.1 kB / 495 MB, free: 9.938 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004476/0.3742, allocations: 253.2 kB / 495.2 MB, free: 9.695 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3742, allocations: 3.938 kB / 495.2 MB, free: 9.691 MB / 378.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0022/0.3764, allocations: 0.9305 MB / 496.2 MB, free: 8.738 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.3765, allocations: 7.938 kB / 496.2 MB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3765, allocations: 0 / 496.2 MB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000639/0.3771, allocations: 215.2 kB / 496.4 MB, free: 8.508 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007643/0.3779, allocations: 159.8 kB / 496.5 MB, free: 8.352 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006494/0.3844, allocations: 5.957 MB / 0.4907 GB, free: 1.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.3855, allocations: 103.4 kB / 0.4908 GB, free: 1.828 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.281e-05/0.3856, allocations: 25.62 kB / 0.4908 GB, free: 1.805 MB / 378.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: 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 ambient1.flowPort.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 (74): * Single equations (assignments): 67 * 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 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002999/0.3859, allocations: 136.7 kB / 0.491 GB, free: 1.664 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.3861, allocations: 90.97 kB / 0.491 GB, free: 1.574 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002271/0.3863, allocations: 88.06 kB / 0.4911 GB, free: 1.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.3863, allocations: 8 kB / 0.4911 GB, free: 1.473 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.3863, allocations: 0 / 0.4911 GB, free: 1.473 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002196/0.3885, allocations: 1.165 MB / 0.4923 GB, free: 196 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1398/0.5283, allocations: 1.801 MB / 0.494 GB, free: 132.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.5284, allocations: 0 / 0.494 GB, free: 132.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007807/0.5292, allocations: 163.8 kB / 0.4942 GB, free: 132.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004043/0.5296, allocations: 161.2 kB / 0.4943 GB, free: 132.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.637e-05/0.5297, allocations: 9.703 kB / 0.4944 GB, free: 132.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004545/0.5342, allocations: 4.63 MB / 0.4989 GB, free: 128.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.5342, allocations: 0 / 0.4989 GB, free: 128.9 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002424/0.5367, allocations: 1.283 MB / 0.5001 GB, free: 128.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003543/0.537, allocations: 242.8 kB / 0.5004 GB, free: 128.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.5372, allocations: 3.031 kB / 0.5004 GB, free: 128.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005711/0.5377, allocations: 55.88 kB / 0.5004 GB, free: 128.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.5379, allocations: 41.7 kB / 0.5005 GB, free: 128.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.89e-05/0.5379, allocations: 29.34 kB / 0.5005 GB, free: 128.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0004475/0.5384, allocations: 399.5 kB / 0.5009 GB, free: 128.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008186/0.5392, allocations: 261.6 kB / 0.5011 GB, free: 128.5 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (66): * Single equations (assignments): 63 * 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.0002131/0.5394, allocations: 128.5 kB / 0.5012 GB, free: 128.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001312/0.5407, allocations: 1.075 MB / 0.5023 GB, free: 127.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.5408, allocations: 6.625 kB / 0.5023 GB, free: 127.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009569/0.5417, allocations: 0.676 MB / 0.503 GB, free: 127.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000777/0.5425, allocations: 183 kB / 0.5031 GB, free: 127.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/0.5449, allocations: 1.26 MB / 0.5044 GB, free: 127.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005171/0.5454, allocations: 1.044 MB / 0.5054 GB, free: 126.6 MB / 378.7 MB Notification: Performance of SimCode: time 7.31e-07/0.5454, allocations: 0 / 0.5054 GB, free: 126.6 MB / 378.7 MB Notification: Performance of Templates: time 0.02701/0.5725, allocations: 15.26 MB / 0.5203 GB, free: 125.2 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches