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.001003/0.001003, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.00108/0.00108, allocations: 167.1 kB / 25.7 MB, free: 8.402 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.8703/0.8703, allocations: 158.6 MB / 187.6 MB, free: 2.773 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.202e-06/1.202e-06, allocations: 0 / 251.5 MB, free: 7.281 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.89e-05/2.01e-05, allocations: 6.25 kB / 251.5 MB, free: 7.273 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003753/0.003773, allocations: 3.71 MB / 255.2 MB, free: 3.539 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.005682, allocations: 1.06 MB / 256.3 MB, free: 2.469 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001938/0.005876, allocations: 7.938 kB / 256.3 MB, free: 2.461 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002663/0.006142, allocations: 115 kB / 256.4 MB, free: 2.348 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000329/0.006471, allocations: 226.1 kB / 256.6 MB, free: 2.125 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.006707, allocations: 135.7 kB / 256.8 MB, free: 1.992 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006172/0.007324, allocations: 0.7273 MB / 257.5 MB, free: 1.258 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.00752, allocations: 145.1 kB / 257.6 MB, free: 1.105 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003784/0.007899, allocations: 415 kB / 258 MB, free: 0.6992 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002328/0.008132, allocations: 219.4 kB / 258.3 MB, free: 496 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.97e-05/0.008191, allocations: 60 kB / 258.3 MB, free: 436 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.014e-05/0.008251, allocations: 60 kB / 258.4 MB, free: 376 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.552e-05/0.008327, allocations: 135.5 kB / 258.5 MB, free: 240 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.008492, allocations: 227.5 kB / 258.7 MB, free: 12 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000391/0.008883, allocations: 474.4 kB / 259.2 MB, free: 15.54 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.008886, allocations: 0 / 259.2 MB, free: 15.54 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.008887, allocations: 0 / 259.2 MB, free: 15.54 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.008894, allocations: 3.938 kB / 259.2 MB, free: 15.54 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.000858/0.009752, allocations: 0.8086 MB / 260 MB, free: 14.7 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.009782, allocations: 11.98 kB / 260 MB, free: 14.69 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.524e-05/0.009868, allocations: 72.88 kB / 260.1 MB, free: 14.62 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003201/0.01019, allocations: 283.7 kB / 260.4 MB, free: 14.31 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.523e-05/0.01027, allocations: 114.7 kB / 260.5 MB, free: 14.18 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.034e-05/0.01032, allocations: 40.38 kB / 260.5 MB, free: 14.14 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004721/0.0108, allocations: 0.7741 MB / 261.3 MB, free: 13.22 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.01081, allocations: 192 / 261.3 MB, free: 13.22 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.59e-05/0.01083, allocations: 20.12 kB / 261.3 MB, free: 13.2 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.01084, allocations: 12 kB / 261.3 MB, free: 13.19 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/0.01101, allocations: 110.9 kB / 261.4 MB, free: 13.08 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009942/0.012, allocations: 0.7006 MB / 262.1 MB, free: 12.36 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002497/0.01225, allocations: 166.7 kB / 262.3 MB, free: 12.18 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.31e-05/0.01233, allocations: 76.52 kB / 262.4 MB, free: 12.11 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.01236, allocations: 11.98 kB / 262.4 MB, free: 12.09 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.01238, allocations: 38.56 kB / 262.4 MB, free: 12.05 MB / 250.7 MB Notification: Performance of pre-optimization done (n=37): time 1.382e-06/0.01239, allocations: 0 / 262.4 MB, free: 12.05 MB / 250.7 MB Notification: Performance of matching and sorting (n=37): time 0.0004393/0.01282, allocations: 274.7 kB / 262.7 MB, free: 11.77 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003769/0.0132, allocations: 449 kB / 263.1 MB, free: 11.22 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.01342, allocations: 363.2 kB / 263.5 MB, free: 10.86 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.01345, allocations: 37.7 kB / 263.5 MB, free: 10.82 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.422e-05/0.01353, allocations: 205.4 kB / 263.7 MB, free: 10.61 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.196e-05/0.01359, allocations: 130.8 kB / 263.8 MB, free: 10.48 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-05/0.01367, allocations: 77.66 kB / 263.9 MB, free: 10.4 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.625e-05/0.01376, allocations: 362.7 kB / 264.3 MB, free: 10.04 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.164e-05/0.01383, allocations: 61.69 kB / 264.3 MB, free: 9.969 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.01406, allocations: 0.572 MB / 264.9 MB, free: 9.246 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.01422, allocations: 170.8 kB / 265.1 MB, free: 9.066 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01422, allocations: 0 / 265.1 MB, free: 9.066 MB / 250.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002615/0.01448, allocations: 281.9 kB / 265.3 MB, free: 8.766 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.01451, allocations: 33.7 kB / 265.4 MB, free: 8.727 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.01451, allocations: 0 / 265.4 MB, free: 8.727 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.348e-05/0.0146, allocations: 41.62 kB / 265.4 MB, free: 8.68 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.01478, allocations: 75.89 kB / 265.5 MB, free: 8.605 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001147/0.01593, allocations: 2.399 MB / 267.9 MB, free: 6.035 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.0161, allocations: 55.69 kB / 267.9 MB, free: 5.98 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.01612, allocations: 4 kB / 267.9 MB, free: 5.977 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.0001044/0.01622, allocations: 137.8 kB / 268.1 MB, free: 5.832 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.156e-05/0.01627, allocations: 47.89 kB / 268.1 MB, free: 5.785 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.219e-05/0.01632, allocations: 52.61 kB / 268.2 MB, free: 5.73 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.01633, allocations: 7.938 kB / 268.2 MB, free: 5.723 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.01633, allocations: 0 / 268.2 MB, free: 5.723 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002613/0.01659, allocations: 0.5436 MB / 268.7 MB, free: 5.074 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005522/0.01714, allocations: 0.5428 MB / 269.3 MB, free: 4.504 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01715, allocations: 0 / 269.3 MB, free: 4.504 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.01735, allocations: 87.88 kB / 269.4 MB, free: 4.418 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.01735, allocations: 3.938 kB / 269.4 MB, free: 4.414 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.01737, allocations: 8 kB / 269.4 MB, free: 4.406 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.01737, allocations: 0 / 269.4 MB, free: 4.406 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01737, allocations: 0 / 269.4 MB, free: 4.406 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002877/0.01766, allocations: 345.1 kB / 269.7 MB, free: 4.047 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.002e-05/0.01775, allocations: 51.61 kB / 269.8 MB, free: 3.996 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.798e-05/0.01779, allocations: 23.86 kB / 269.8 MB, free: 3.973 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.01793, allocations: 19.98 kB / 269.8 MB, free: 3.953 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.01797, allocations: 24.14 kB / 269.8 MB, free: 3.93 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.01798, allocations: 8 kB / 269.8 MB, free: 3.922 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001162/0.0181, allocations: 164.7 kB / 270 MB, free: 3.766 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0181, allocations: 0 / 270 MB, free: 3.766 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005058/0.0186, allocations: 143.8 kB / 270.1 MB, free: 3.625 MB / 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 9.06e-05/0.0187, allocations: 92.38 kB / 270.2 MB, free: 3.527 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004011/0.0191, allocations: 497.2 kB / 270.7 MB, free: 2.996 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.0191, allocations: 4 kB / 270.7 MB, free: 2.992 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.33e-05/0.0192, allocations: 88.77 kB / 270.8 MB, free: 2.902 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.01953, allocations: 145.9 kB / 270.9 MB, free: 2.758 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.0207, allocations: 0.8666 MB / 271.8 MB, free: 1.863 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.59e-05/0.02077, allocations: 113.8 kB / 271.9 MB, free: 1.727 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001535/0.02092, allocations: 60.25 kB / 272 MB, free: 1.664 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003209/0.02124, allocations: 233.2 kB / 272.2 MB, free: 1.438 MB / 250.7 MB Notification: Performance of SimCode: time 7.52e-07/0.02124, allocations: 0 / 272.2 MB, free: 1.438 MB / 250.7 MB Notification: Performance of Templates: time 0.01133/0.03257, allocations: 9.95 MB / 282.2 MB, free: 7.527 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.664788259193301]