Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001497/0.001497, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.894/1.894, allocations: 205.4 MB / 222.5 MB, free: 9.133 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 91.25 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003949/0.0003947, allocations: 8 kB / 327 MB, free: 232 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3413, allocations: 47.56 MB / 374.5 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.13/0.4714, allocations: 82 MB / 456.5 MB, free: 14.79 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/0.4717, allocations: 83.95 kB / 456.6 MB, free: 14.71 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04585/0.5176, allocations: 10.36 MB / 467 MB, free: 4.277 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5176, allocations: 0 / 467 MB, free: 4.277 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.613e-05/0.5177, allocations: 8 kB / 467 MB, free: 4.27 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.002348/0.5201, allocations: 0.8431 MB / 467.8 MB, free: 3.371 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.5201, allocations: 12.03 kB / 467.8 MB, free: 3.359 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000267/0.5204, allocations: 63.25 kB / 467.9 MB, free: 3.297 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.5214, allocations: 394 kB / 468.3 MB, free: 2.871 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/0.5216, allocations: 66.98 kB / 468.3 MB, free: 2.801 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.932e-05/0.5217, allocations: 32 kB / 468.4 MB, free: 2.77 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.5233, allocations: 0.5137 MB / 468.9 MB, free: 2.199 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/0.5234, allocations: 3.906 kB / 468.9 MB, free: 2.195 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-05/0.5234, allocations: 20 kB / 468.9 MB, free: 2.176 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.5235, allocations: 8 kB / 468.9 MB, free: 2.168 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/0.525, allocations: 387.8 kB / 469.3 MB, free: 1.793 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003935/0.529, allocations: 1.343 MB / 470.6 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001915/0.531, allocations: 0.5126 MB / 471.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.924e-05/0.5311, allocations: 4 kB / 471.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.569e-05/0.5311, allocations: 42.56 kB / 471.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=38): time 3.276e-06/0.5311, allocations: 0 / 471.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=38): time 0.002987/0.5341, allocations: 0.7905 MB / 472 MB, free: 14.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002582/0.5344, allocations: 460.6 kB / 472.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008377/0.5353, allocations: 413.2 kB / 472.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001148/0.5354, allocations: 37.7 kB / 472.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/0.5357, allocations: 282.9 kB / 473.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/0.5359, allocations: 134 kB / 473.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.397e-05/0.5359, allocations: 8 kB / 473.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.5361, allocations: 326.8 kB / 473.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007442/0.5369, allocations: 159.9 kB / 473.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000887/0.5378, allocations: 298.5 kB / 474.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008076/0.5386, allocations: 210.4 kB / 474.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.5386, allocations: 0 / 474.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001818/0.5404, allocations: 0.4896 MB / 474.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.535e-05/0.5405, allocations: 37.64 kB / 474.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.5406, allocations: 0 / 474.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002376/0.5408, allocations: 53.7 kB / 474.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000846/0.5417, allocations: 95.88 kB / 474.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003635/0.5453, allocations: 2.768 MB / 477.7 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008082/0.5462, allocations: 63.61 kB / 477.8 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-05/0.5463, allocations: 12 kB / 477.8 MB, free: 8.656 MB / 362.7 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 37 * 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 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000386/0.5467, allocations: 177.8 kB / 478 MB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.5469, allocations: 51.44 kB / 478 MB, free: 8.422 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001735/0.5471, allocations: 56.94 kB / 478.1 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.5471, allocations: 7.984 kB / 478.1 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.5471, allocations: 0 / 478.1 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00175/0.5488, allocations: 0.7751 MB / 478.8 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003125/0.552, allocations: 1.104 MB / 479.9 MB, free: 6.312 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.5521, allocations: 0 / 479.9 MB, free: 6.312 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009102/0.553, allocations: 103.9 kB / 480 MB, free: 6.211 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.966e-06/0.553, allocations: 0 / 480 MB, free: 6.211 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.401e-05/0.5531, allocations: 15.94 kB / 480.1 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.5531, allocations: 0 / 480.1 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5531, allocations: 0 / 480.1 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002467/0.5556, allocations: 0.7216 MB / 480.8 MB, free: 5.453 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003947/0.556, allocations: 172.4 kB / 481 MB, free: 5.266 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.5561, allocations: 8 kB / 481 MB, free: 5.258 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005821/0.5567, allocations: 40 kB / 481 MB, free: 5.219 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.5569, allocations: 27.95 kB / 481 MB, free: 5.191 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.621e-05/0.5569, allocations: 8 kB / 481 MB, free: 5.184 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006485/0.5576, allocations: 334.9 kB / 481.4 MB, free: 4.859 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.5576, allocations: 0 / 481.4 MB, free: 4.859 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007717/0.5584, allocations: 151.8 kB / 481.5 MB, free: 4.711 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.0002417/0.5586, allocations: 127.1 kB / 481.6 MB, free: 4.578 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002113/0.5608, allocations: 0.6882 MB / 482.3 MB, free: 3.852 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.515e-06/0.5608, allocations: 4 kB / 482.3 MB, free: 3.848 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007725/0.5616, allocations: 203.5 kB / 482.5 MB, free: 3.648 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.5628, allocations: 139.1 kB / 482.7 MB, free: 3.516 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002839/0.5656, allocations: 1.169 MB / 483.8 MB, free: 2.312 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00053/0.5662, allocations: 0.8473 MB / 484.7 MB, free: 1.438 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003321/0.5665, allocations: 47.36 kB / 484.7 MB, free: 1.391 MB / 362.7 MB Notification: Performance of SimCode: time 1.152e-06/0.5666, allocations: 0 / 484.7 MB, free: 1.391 MB / 362.7 MB Notification: Performance of Templates: time 0.01918/0.5858, allocations: 8.762 MB / 493.5 MB, free: 8.652 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches