Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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 3.2.3+maint.om/package.mo): time 0.001315/0.001315, allocations: 187.7 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.236/1.236, allocations: 205.2 MB / 214.1 MB, free: 5.168 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.0008292/0.0008292, allocations: 90.5 kB / 262.1 MB, free: 5.207 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.803e-06/6.823e-06, allocations: 0 / 315 MB, free: 41.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06668/0.06671, allocations: 47.58 MB / 362.5 MB, free: 9.984 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2221/0.2889, allocations: 81.98 MB / 444.5 MB, free: 10.76 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002051/0.2892, allocations: 72.86 kB / 444.6 MB, free: 10.76 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.04079/0.33, allocations: 16.7 MB / 461.3 MB, free: 5.18 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.438e-05/0.3301, allocations: 16.47 kB / 461.3 MB, free: 5.18 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.002411/0.3325, allocations: 1.129 MB / 462.4 MB, free: 4.371 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.3326, allocations: 8.812 kB / 462.4 MB, free: 4.371 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003781/0.3329, allocations: 120.2 kB / 462.6 MB, free: 4.312 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.3341, allocations: 0.5572 MB / 463.1 MB, free: 3.961 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001842/0.3343, allocations: 130.4 kB / 463.2 MB, free: 3.859 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.3344, allocations: 40.22 kB / 463.3 MB, free: 3.855 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009679/0.3354, allocations: 499.9 kB / 463.8 MB, free: 3.824 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.3364, allocations: 0.7234 MB / 464.5 MB, free: 3.438 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.3364, allocations: 5.562 kB / 464.5 MB, free: 3.434 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.724e-05/0.3365, allocations: 5.312 kB / 464.5 MB, free: 3.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.3365, allocations: 13.94 kB / 464.5 MB, free: 3.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003903/0.3404, allocations: 2.104 MB / 466.6 MB, free: 2.418 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/0.3417, allocations: 0.8355 MB / 467.5 MB, free: 2.07 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005611/0.3423, allocations: 338.2 kB / 467.8 MB, free: 2.051 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.27e-05/0.3424, allocations: 14.41 kB / 467.8 MB, free: 2.051 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.3424, allocations: 52.75 kB / 467.9 MB, free: 2.008 MB / 314.7 MB Notification: Performance of pre-optimization done (n=78): time 3.677e-06/0.3425, allocations: 0 / 467.9 MB, free: 2.008 MB / 314.7 MB Notification: Performance of matching and sorting (n=78): time 0.00223/0.3447, allocations: 0.8739 MB / 468.7 MB, free: 1.77 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001517/0.3449, allocations: 0.8232 MB / 469.6 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007366/0.3456, allocations: 0.4979 MB / 470.1 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.534e-05/0.3457, allocations: 30.17 kB / 470.1 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.3459, allocations: 235 kB / 470.3 MB, free: 420 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/0.3461, allocations: 265.2 kB / 470.6 MB, free: 216 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.3461, allocations: 0 / 470.6 MB, free: 216 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.3463, allocations: 386.3 kB / 470.9 MB, free: 15.87 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003984/0.3467, allocations: 215.3 kB / 471.2 MB, free: 15.87 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000624/0.3473, allocations: 482.1 kB / 471.6 MB, free: 15.57 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004719/0.3478, allocations: 259.3 kB / 471.9 MB, free: 15.53 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.3478, allocations: 1.406 kB / 471.9 MB, free: 15.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002359/0.3502, allocations: 0.938 MB / 472.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.3502, allocations: 4.094 kB / 472.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.3502, allocations: 1.188 kB / 472.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006665/0.3509, allocations: 205.9 kB / 473 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007751/0.3517, allocations: 156.5 kB / 473.2 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006236/0.3579, allocations: 5.966 MB / 479.1 MB, free: 9.996 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.359, allocations: 99.98 kB / 479.2 MB, free: 9.949 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/0.3591, allocations: 31.23 kB / 479.3 MB, free: 9.926 MB / 330.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.000314/0.3595, allocations: 129 kB / 479.4 MB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002617/0.3597, allocations: 91.06 kB / 479.5 MB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000222/0.36, allocations: 82.88 kB / 479.6 MB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.36, allocations: 8 kB / 479.6 MB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.36, allocations: 7.984 kB / 479.6 MB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001953/0.362, allocations: 1.163 MB / 480.7 MB, free: 8.547 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003371/0.3653, allocations: 1.801 MB / 482.6 MB, free: 7.191 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.3654, allocations: 4 kB / 482.6 MB, free: 7.188 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007925/0.3662, allocations: 163.7 kB / 482.7 MB, free: 7.031 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004154/0.3666, allocations: 156.5 kB / 482.9 MB, free: 6.91 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-05/0.3667, allocations: 11.98 kB / 482.9 MB, free: 6.898 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004991/0.3717, allocations: 4.625 MB / 487.5 MB, free: 2.309 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.3717, allocations: 8.125 kB / 487.5 MB, free: 2.301 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002465/0.3741, allocations: 1.277 MB / 488.8 MB, free: 1.359 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004971/0.3747, allocations: 250.3 kB / 489 MB, free: 1.145 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002277/0.3749, allocations: 7.984 kB / 489 MB, free: 1.137 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006734/0.3756, allocations: 43.97 kB / 489.1 MB, free: 1.094 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.3757, allocations: 51.8 kB / 489.1 MB, free: 1.051 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.72e-05/0.3758, allocations: 23.17 kB / 489.2 MB, free: 1.035 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0005002/0.3763, allocations: 396.2 kB / 489.5 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001064/0.3773, allocations: 267.6 kB / 489.8 MB, free: 0.4961 MB / 330.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.0002257/0.3776, allocations: 126.4 kB / 489.9 MB, free: 376 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001573/0.3791, allocations: 1.07 MB / 491 MB, free: 15.45 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.3792, allocations: 8.125 kB / 491 MB, free: 15.44 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.3802, allocations: 0.686 MB / 491.7 MB, free: 14.84 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.3813, allocations: 185.9 kB / 491.9 MB, free: 14.7 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002791/0.3841, allocations: 1.262 MB / 493.1 MB, free: 13.53 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000718/0.3848, allocations: 1.043 MB / 494.2 MB, free: 12.46 MB / 346.7 MB Notification: Performance of SimCode: time 5.51e-07/0.3848, allocations: 0 / 494.2 MB, free: 12.46 MB / 346.7 MB Notification: Performance of Templates: time 0.02485/0.4097, allocations: 15.26 MB / 0.4975 GB, free: 13.25 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches