Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009417/0.0009417, allocations: 79.73 kB / 21.97 MB, free: 2.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 170.2 kB / 25.33 MB, free: 9.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8379/0.8379, allocations: 158.6 MB / 187.2 MB, free: 2.945 MB / 170.7 MB " [Timeout remaining time 179] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 251 MB, free: 7.535 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.799e-05/1.914e-05, allocations: 2.312 kB / 251 MB, free: 7.531 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.00345/0.003469, allocations: 3.776 MB / 254.8 MB, free: 3.734 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.004982, allocations: 1.025 MB / 255.8 MB, free: 2.699 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001867/0.005168, allocations: 11.94 kB / 255.8 MB, free: 2.688 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002865/0.005455, allocations: 103.1 kB / 255.9 MB, free: 2.586 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003207/0.005775, allocations: 230 kB / 256.2 MB, free: 2.359 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/0.006008, allocations: 135.7 kB / 256.3 MB, free: 2.227 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005766/0.006585, allocations: 0.735 MB / 257 MB, free: 1.484 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001987/0.006784, allocations: 131.2 kB / 257.2 MB, free: 1.348 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003458/0.007129, allocations: 415.1 kB / 257.6 MB, free: 0.9414 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002289/0.007358, allocations: 219.4 kB / 257.8 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.677e-05/0.007425, allocations: 63.98 kB / 257.8 MB, free: 0.6641 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.331e-05/0.007488, allocations: 60 kB / 257.9 MB, free: 0.6055 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.027e-05/0.007559, allocations: 131.5 kB / 258 MB, free: 488 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.007712, allocations: 223.5 kB / 258.2 MB, free: 264 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004254/0.008137, allocations: 478.4 kB / 258.7 MB, free: 15.79 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.008141, allocations: 0 / 258.7 MB, free: 15.79 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.008142, allocations: 0 / 258.7 MB, free: 15.79 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.00815, allocations: 0 / 258.7 MB, free: 15.79 MB / 250.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.0009916/0.009142, allocations: 0.9412 MB / 259.7 MB, free: 14.8 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.009176, allocations: 11.98 kB / 259.7 MB, free: 14.79 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.009308, allocations: 100.5 kB / 259.8 MB, free: 14.69 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003881/0.009696, allocations: 358.5 kB / 260.1 MB, free: 14.31 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.619e-05/0.009792, allocations: 106.7 kB / 260.2 MB, free: 14.19 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.932e-05/0.009841, allocations: 44.38 kB / 260.3 MB, free: 14.15 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005982/0.01044, allocations: 0.8223 MB / 261.1 MB, free: 13.16 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.01046, allocations: 8.188 kB / 261.1 MB, free: 13.15 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.01049, allocations: 20.06 kB / 261.1 MB, free: 13.13 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.0105, allocations: 8 kB / 261.1 MB, free: 13.12 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002688/0.01076, allocations: 165.9 kB / 261.3 MB, free: 12.96 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.01201, allocations: 0.9962 MB / 262.3 MB, free: 11.92 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003881/0.0124, allocations: 232 kB / 262.5 MB, free: 11.68 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.01254, allocations: 99.38 kB / 262.6 MB, free: 11.58 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.381e-05/0.01257, allocations: 8 kB / 262.6 MB, free: 11.57 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.0126, allocations: 45.39 kB / 262.7 MB, free: 11.52 MB / 250.7 MB Notification: Performance of pre-optimization done (n=37): time 2.014e-06/0.0126, allocations: 0 / 262.7 MB, free: 11.52 MB / 250.7 MB Notification: Performance of matching and sorting (n=37): time 0.001105/0.01371, allocations: 385.1 kB / 263 MB, free: 11.13 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002022/0.01391, allocations: 445 kB / 263.5 MB, free: 10.59 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005059/0.01441, allocations: 466.6 kB / 263.9 MB, free: 10.12 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/0.01445, allocations: 29.7 kB / 263.9 MB, free: 10.08 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/0.01467, allocations: 303.3 kB / 264.2 MB, free: 9.781 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.01479, allocations: 138.8 kB / 264.4 MB, free: 9.645 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.01492, allocations: 83.36 kB / 264.5 MB, free: 9.555 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002664/0.01519, allocations: 0.5391 MB / 265 MB, free: 9.004 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.01537, allocations: 85.66 kB / 265.1 MB, free: 8.914 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004708/0.01585, allocations: 0.6307 MB / 265.7 MB, free: 8.113 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003257/0.01617, allocations: 204.8 kB / 265.9 MB, free: 7.898 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.01617, allocations: 0 / 265.9 MB, free: 7.898 MB / 250.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004437/0.01662, allocations: 379.4 kB / 266.3 MB, free: 7.5 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/0.01665, allocations: 33.7 kB / 266.3 MB, free: 7.461 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.01666, allocations: 0 / 266.3 MB, free: 7.461 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001305/0.01679, allocations: 51.38 kB / 266.4 MB, free: 7.402 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002707/0.01706, allocations: 75.89 kB / 266.4 MB, free: 7.328 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/0.01885, allocations: 3.57 MB / 270 MB, free: 3.512 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.01906, allocations: 43.77 kB / 270.1 MB, free: 3.469 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.01908, allocations: 16 kB / 270.1 MB, free: 3.453 MB / 250.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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001426/0.01922, allocations: 184.5 kB / 270.2 MB, free: 3.262 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.44e-05/0.01929, allocations: 67.66 kB / 270.3 MB, free: 3.195 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.026e-05/0.01935, allocations: 56.61 kB / 270.4 MB, free: 3.141 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.01935, allocations: 4 kB / 270.4 MB, free: 3.137 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.01936, allocations: 0 / 270.4 MB, free: 3.137 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006813/0.02004, allocations: 0.5981 MB / 271 MB, free: 2.434 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008218/0.02086, allocations: 0.7938 MB / 271.8 MB, free: 1.594 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.02086, allocations: 0 / 271.8 MB, free: 1.594 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.02109, allocations: 79.89 kB / 271.8 MB, free: 1.516 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.0211, allocations: 12 kB / 271.9 MB, free: 1.504 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.02112, allocations: 4 kB / 271.9 MB, free: 1.5 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.02112, allocations: 7.984 kB / 271.9 MB, free: 1.492 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.02112, allocations: 0 / 271.9 MB, free: 1.492 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000475/0.0216, allocations: 0.4895 MB / 272.4 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.02171, allocations: 87.59 kB / 272.4 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.614e-05/0.02175, allocations: 8 kB / 272.5 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.02191, allocations: 19.98 kB / 272.5 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/0.02197, allocations: 27.95 kB / 272.5 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.02199, allocations: 12.03 kB / 272.5 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001987/0.02219, allocations: 307 kB / 272.8 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02219, allocations: 0 / 272.8 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002969/0.02248, allocations: 155.7 kB / 273 MB, free: 384 kB / 250.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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001117/0.0226, allocations: 103.2 kB / 273.1 MB, free: 268 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006205/0.02322, allocations: 0.6352 MB / 273.7 MB, free: 15.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.02322, allocations: 4.062 kB / 273.7 MB, free: 15.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.02336, allocations: 111.8 kB / 273.8 MB, free: 15.45 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004373/0.02379, allocations: 137.9 kB / 273.9 MB, free: 15.32 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.02524, allocations: 0.8849 MB / 274.8 MB, free: 14.4 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.943e-05/0.02531, allocations: 113.8 kB / 274.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001451/0.02546, allocations: 60.25 kB / 275 MB, free: 14.2 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.081e-05/0.02555, allocations: 44.48 kB / 275 MB, free: 14.16 MB / 266.7 MB Notification: Performance of SimCode: time 1.442e-06/0.02555, allocations: 0 / 275 MB, free: 14.16 MB / 266.7 MB Notification: Performance of Templates: time 0.01161/0.03715, allocations: 9.913 MB / 285 MB, free: 4.289 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.877973490860313]