Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001485/0.001485, allocations: 179.2 kB / 8.363 MB, free: 0.7148 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.993/1.993, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 101.5 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.293e-05/2.335e-05, allocations: 0 / 314.8 MB, free: 9.152 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3351, allocations: 47.56 MB / 362.3 MB, free: 45.83 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1326/0.4678, allocations: 82.08 MB / 444.4 MB, free: 4.223 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.4681, allocations: 64.53 kB / 444.5 MB, free: 4.16 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.07589/0.544, allocations: 16.8 MB / 461.3 MB, free: 3.316 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.5441, allocations: 3.938 kB / 461.3 MB, free: 3.312 MB / 347.1 MB Notification: Performance of Transformations before backend: time 8.571e-05/0.5442, allocations: 23.98 kB / 461.3 MB, free: 3.289 MB / 347.1 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.003631/0.5478, allocations: 1.11 MB / 462.4 MB, free: 2.113 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.5479, allocations: 8.031 kB / 462.4 MB, free: 2.105 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005104/0.5484, allocations: 110.8 kB / 462.5 MB, free: 1.996 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001689/0.5501, allocations: 0.5439 MB / 463.1 MB, free: 1.41 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003361/0.5505, allocations: 138.5 kB / 463.2 MB, free: 1.258 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002006/0.5507, allocations: 36 kB / 463.2 MB, free: 1.223 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001692/0.5524, allocations: 0.4985 MB / 463.7 MB, free: 0.7227 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/0.5543, allocations: 0.7236 MB / 464.5 MB, free: 15.89 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.311e-05/0.5543, allocations: 3.906 kB / 464.5 MB, free: 15.89 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.563e-05/0.5544, allocations: 0 / 464.5 MB, free: 15.89 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.5545, allocations: 16 kB / 464.5 MB, free: 15.87 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006453/0.5609, allocations: 2.086 MB / 466.6 MB, free: 13.7 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002057/0.5631, allocations: 0.94 MB / 467.5 MB, free: 12.68 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000834/0.5639, allocations: 319.8 kB / 467.8 MB, free: 12.37 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/0.564, allocations: 20.75 kB / 467.8 MB, free: 12.35 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.557e-05/0.5641, allocations: 51.28 kB / 467.9 MB, free: 12.29 MB / 363.1 MB Notification: Performance of pre-optimization done (n=78): time 3.927e-06/0.5641, allocations: 0 / 467.9 MB, free: 12.29 MB / 363.1 MB Notification: Performance of matching and sorting (n=78): time 0.003679/0.5678, allocations: 0.8625 MB / 468.7 MB, free: 11.41 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004128/0.5683, allocations: 0.8196 MB / 469.6 MB, free: 10.39 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.5694, allocations: 0.4996 MB / 470.1 MB, free: 9.887 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000213/0.5696, allocations: 29.7 kB / 470.1 MB, free: 9.852 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003433/0.57, allocations: 371.2 kB / 470.5 MB, free: 9.488 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003467/0.5703, allocations: 261 kB / 470.7 MB, free: 9.23 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.421e-05/0.5704, allocations: 0 / 470.7 MB, free: 9.23 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.5706, allocations: 342.8 kB / 471 MB, free: 8.887 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006439/0.5712, allocations: 213.6 kB / 471.3 MB, free: 8.676 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009414/0.5722, allocations: 477.9 kB / 471.7 MB, free: 8.105 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000751/0.5729, allocations: 266.6 kB / 472 MB, free: 7.848 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/0.573, allocations: 3.938 kB / 472 MB, free: 7.844 MB / 363.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003583/0.5766, allocations: 0.8701 MB / 472.9 MB, free: 6.957 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.728e-05/0.5767, allocations: 85.11 kB / 472.9 MB, free: 6.855 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.5767, allocations: 0 / 472.9 MB, free: 6.855 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/0.5777, allocations: 207.3 kB / 473.1 MB, free: 6.641 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/0.5791, allocations: 157.1 kB / 473.3 MB, free: 6.488 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00954/0.5887, allocations: 6.029 MB / 479.3 MB, free: 0 / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/0.5902, allocations: 95.78 kB / 479.4 MB, free: 15.9 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.5904, allocations: 27.98 kB / 479.4 MB, free: 15.88 MB / 379.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 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.0003771/0.5908, allocations: 130.7 kB / 479.6 MB, free: 15.74 MB / 379.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002665/0.591, allocations: 87.06 kB / 479.7 MB, free: 15.66 MB / 379.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000283/0.5913, allocations: 84.39 kB / 479.7 MB, free: 15.57 MB / 379.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.5914, allocations: 8 kB / 479.8 MB, free: 15.56 MB / 379.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.5914, allocations: 7.922 kB / 479.8 MB, free: 15.55 MB / 379.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003341/0.5947, allocations: 1.15 MB / 480.9 MB, free: 14.29 MB / 379.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005926/0.6007, allocations: 1.782 MB / 482.7 MB, free: 12.45 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.6008, allocations: 0 / 482.7 MB, free: 12.45 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001523/0.6023, allocations: 163.7 kB / 482.8 MB, free: 12.29 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007282/0.6031, allocations: 162.4 kB / 483 MB, free: 12.12 MB / 379.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001012/0.6032, allocations: 4 kB / 483 MB, free: 12.12 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008236/0.6114, allocations: 4.657 MB / 487.7 MB, free: 7.121 MB / 379.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.6115, allocations: 0 / 487.7 MB, free: 7.121 MB / 379.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004437/0.6159, allocations: 1.266 MB / 488.9 MB, free: 5.828 MB / 379.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007068/0.6167, allocations: 239.9 kB / 489.2 MB, free: 5.574 MB / 379.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001723/0.6169, allocations: 0 / 489.2 MB, free: 5.574 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009908/0.6179, allocations: 51.89 kB / 489.2 MB, free: 5.523 MB / 379.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002701/0.6182, allocations: 64.69 kB / 489.3 MB, free: 5.461 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.171e-05/0.6183, allocations: 19.98 kB / 489.3 MB, free: 5.441 MB / 379.1 MB Notification: Performance of sorting global known variables: time 0.0008128/0.6191, allocations: 399.2 kB / 489.7 MB, free: 5.059 MB / 379.1 MB Notification: Performance of sort global known variables: time 6.51e-07/0.6191, allocations: 4 kB / 489.7 MB, free: 5.055 MB / 379.1 MB Notification: Performance of remove unused functions: time 0.001483/0.6206, allocations: 267.6 kB / 490 MB, free: 4.793 MB / 379.1 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.0003196/0.621, allocations: 132.4 kB / 490.1 MB, free: 4.652 MB / 379.1 MB Notification: Performance of simCode: created initialization part: time 0.002674/0.6237, allocations: 1.206 MB / 491.3 MB, free: 3.375 MB / 379.1 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.6237, allocations: 0 / 491.3 MB, free: 3.375 MB / 379.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001983/0.6257, allocations: 0.7071 MB / 492 MB, free: 2.637 MB / 379.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/0.6274, allocations: 183.9 kB / 492.2 MB, free: 2.461 MB / 379.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003889/0.6313, allocations: 1.26 MB / 493.4 MB, free: 1.168 MB / 379.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007836/0.6321, allocations: 0.9716 MB / 494.4 MB, free: 164 kB / 379.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004871/0.6327, allocations: 71.42 kB / 494.5 MB, free: 92 kB / 379.1 MB Notification: Performance of SimCode: time 1.253e-06/0.6327, allocations: 0 / 494.5 MB, free: 92 kB / 379.1 MB Notification: Performance of Templates: time 0.3034/0.9361, allocations: 21.75 MB / 0.5041 GB, free: 117.5 MB / 395.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches