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.001546/0.001546, allocations: 182.1 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.064/2.064, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001065/0.001065, allocations: 78.67 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.776e-05/2.796e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09328/0.09333, allocations: 47.58 MB / 369.1 MB, free: 2.188 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.417/0.5104, allocations: 81.9 MB / 451 MB, free: 11.34 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.5107, allocations: 74.64 kB / 451.1 MB, free: 11.3 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04347/0.5542, allocations: 10.35 MB / 461.4 MB, free: 2.582 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.5542, allocations: 0 / 461.4 MB, free: 2.582 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.226e-05/0.5543, allocations: 8 kB / 461.4 MB, free: 2.574 MB / 330.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.001779/0.5561, allocations: 0.7539 MB / 462.2 MB, free: 1.805 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.5562, allocations: 8.031 kB / 462.2 MB, free: 1.797 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001755/0.5563, allocations: 71.25 kB / 462.3 MB, free: 1.727 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008281/0.5572, allocations: 387.2 kB / 462.6 MB, free: 1.359 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.5573, allocations: 65.2 kB / 462.7 MB, free: 1.301 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.596e-05/0.5574, allocations: 38.59 kB / 462.7 MB, free: 1.273 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009974/0.5585, allocations: 468.6 kB / 463.2 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.5585, allocations: 0 / 463.2 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.138e-05/0.5586, allocations: 12 kB / 463.2 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.5586, allocations: 8 kB / 463.2 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008527/0.5594, allocations: 287 kB / 463.5 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003579/0.563, allocations: 1.346 MB / 464.8 MB, free: 15.15 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.5644, allocations: 441 kB / 465.3 MB, free: 14.69 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004383/0.5648, allocations: 160.8 kB / 465.4 MB, free: 14.53 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.872e-05/0.5649, allocations: 8 kB / 465.4 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.565, allocations: 42.56 kB / 465.5 MB, free: 14.47 MB / 346.7 MB Notification: Performance of pre-optimization done (n=38): time 4.148e-06/0.565, allocations: 3.938 kB / 465.5 MB, free: 14.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=38): time 0.001333/0.5663, allocations: 395.8 kB / 465.9 MB, free: 14.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002426/0.5666, allocations: 448.9 kB / 466.3 MB, free: 13.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008116/0.5674, allocations: 423.9 kB / 466.7 MB, free: 13.1 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.79e-05/0.5675, allocations: 33.7 kB / 466.7 MB, free: 13.06 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/0.5678, allocations: 271 kB / 467 MB, free: 12.8 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001698/0.568, allocations: 138 kB / 467.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.568, allocations: 8 kB / 467.2 MB, free: 12.65 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.5682, allocations: 326.8 kB / 467.5 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003594/0.5685, allocations: 108 kB / 467.6 MB, free: 12.22 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005523/0.5691, allocations: 250.5 kB / 467.8 MB, free: 11.92 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004252/0.5695, allocations: 165.1 kB / 468 MB, free: 11.76 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.5696, allocations: 4 kB / 468 MB, free: 11.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001244/0.5708, allocations: 424.6 kB / 468.4 MB, free: 11.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.393e-05/0.5709, allocations: 29.7 kB / 468.4 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.5709, allocations: 0 / 468.4 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003875/0.5713, allocations: 57.69 kB / 468.5 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008272/0.5721, allocations: 103.9 kB / 468.6 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003305/0.5755, allocations: 2.725 MB / 471.3 MB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008052/0.5763, allocations: 67.7 kB / 471.4 MB, free: 8.059 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.937e-05/0.5764, allocations: 12 kB / 471.4 MB, free: 8.047 MB / 346.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 () * 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.0001973/0.5766, allocations: 132.9 kB / 471.5 MB, free: 7.91 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.5768, allocations: 55.34 kB / 471.6 MB, free: 7.855 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001831/0.577, allocations: 65.05 kB / 471.6 MB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.577, allocations: 7.938 kB / 471.6 MB, free: 7.785 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.577, allocations: 3.953 kB / 471.7 MB, free: 7.781 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001056/0.5781, allocations: 0.68 MB / 472.3 MB, free: 6.996 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002243/0.5803, allocations: 0.993 MB / 473.3 MB, free: 5.941 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.5804, allocations: 3.938 kB / 473.3 MB, free: 5.938 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009183/0.5813, allocations: 95.88 kB / 473.4 MB, free: 5.844 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.38e-05/0.5813, allocations: 7.953 kB / 473.4 MB, free: 5.836 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.192e-05/0.5814, allocations: 12.22 kB / 473.4 MB, free: 5.824 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/0.5814, allocations: 4 kB / 473.4 MB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.5814, allocations: 0 / 473.4 MB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.5828, allocations: 0.5811 MB / 474 MB, free: 5.219 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003516/0.5832, allocations: 176.4 kB / 474.2 MB, free: 5.027 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.5833, allocations: 11.95 kB / 474.2 MB, free: 5.016 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005854/0.5839, allocations: 35.97 kB / 474.2 MB, free: 4.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.584, allocations: 31.89 kB / 474.3 MB, free: 4.949 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.588e-05/0.5841, allocations: 8 kB / 474.3 MB, free: 4.941 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006454/0.5847, allocations: 333.7 kB / 474.6 MB, free: 4.617 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.5848, allocations: 0 / 474.6 MB, free: 4.617 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007269/0.5855, allocations: 155.8 kB / 474.8 MB, free: 4.465 MB / 346.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 () * 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.0002437/0.5858, allocations: 116.1 kB / 474.9 MB, free: 4.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001385/0.5872, allocations: 0.5822 MB / 475.5 MB, free: 3.719 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.804e-06/0.5872, allocations: 8.062 kB / 475.5 MB, free: 3.711 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004179/0.5876, allocations: 152.2 kB / 475.6 MB, free: 3.562 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009788/0.5886, allocations: 124.5 kB / 475.7 MB, free: 3.445 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002063/0.5907, allocations: 0.6866 MB / 476.4 MB, free: 2.73 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005445/0.5913, allocations: 0.8511 MB / 477.3 MB, free: 1.848 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002892/0.5916, allocations: 47.44 kB / 477.3 MB, free: 1.805 MB / 346.7 MB Notification: Performance of SimCode: time 9.82e-07/0.5916, allocations: 0 / 477.3 MB, free: 1.805 MB / 346.7 MB Notification: Performance of Templates: time 0.01975/0.6113, allocations: 8.759 MB / 486.1 MB, free: 9.035 MB / 362.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