Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009684/0.0009684, allocations: 75.91 kB / 21.18 MB, free: 3.395 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008817/0.0008817, allocations: 145.5 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9274/0.9274, allocations: 173.4 MB / 201.1 MB, free: 9.344 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 3.938 kB / 268 MB, free: 6.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.249e-05/3.464e-05, allocations: 6.25 kB / 268 MB, free: 6.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005582/0.005616, allocations: 3.763 MB / 271.7 MB, free: 2.672 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002195/0.007811, allocations: 0.985 MB / 272.7 MB, free: 1.68 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004267/0.008238, allocations: 11.94 kB / 272.7 MB, free: 1.668 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004232/0.008661, allocations: 111 kB / 272.9 MB, free: 1.559 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006678/0.009329, allocations: 214.1 kB / 273.1 MB, free: 1.348 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007698/0.0101, allocations: 143.7 kB / 273.2 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00108/0.01118, allocations: 0.7346 MB / 273.9 MB, free: 484 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003437/0.01152, allocations: 135.2 kB / 274.1 MB, free: 344 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007688/0.01229, allocations: 415.2 kB / 274.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000427/0.01272, allocations: 219.4 kB / 274.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001341/0.01285, allocations: 60 kB / 274.7 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.01297, allocations: 60 kB / 274.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.01308, allocations: 135.5 kB / 274.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002881/0.01337, allocations: 231.5 kB / 275.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007362/0.01411, allocations: 482.1 kB / 275.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.01411, allocations: 0 / 275.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.01411, allocations: 0 / 275.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.01413, allocations: 0 / 275.6 MB, free: 14.77 MB / 266.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.001616/0.01574, allocations: 0.9529 MB / 276.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.81e-05/0.0158, allocations: 8.922 kB / 276.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000197/0.016, allocations: 96.56 kB / 276.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006716/0.01667, allocations: 367.5 kB / 277 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/0.01681, allocations: 110.7 kB / 277.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.174e-05/0.01689, allocations: 40.38 kB / 277.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008951/0.01779, allocations: 0.8262 MB / 278 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.01781, allocations: 192 / 278 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.532e-05/0.01785, allocations: 20.12 kB / 278 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.01787, allocations: 12 kB / 278.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003879/0.01826, allocations: 165.9 kB / 278.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002073/0.02033, allocations: 1 MB / 279.2 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005313/0.02086, allocations: 223.6 kB / 279.4 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.021, allocations: 103.4 kB / 279.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.09e-05/0.02104, allocations: 12 kB / 279.5 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.02107, allocations: 41.39 kB / 279.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 2.064e-06/0.02108, allocations: 0 / 279.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=37): time 0.0008535/0.02193, allocations: 388.3 kB / 280 MB, free: 10.08 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/0.02206, allocations: 444.9 kB / 280.4 MB, free: 9.543 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/0.0224, allocations: 458.6 kB / 280.8 MB, free: 9.078 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.02243, allocations: 37.7 kB / 280.9 MB, free: 9.035 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.02257, allocations: 307.2 kB / 281.2 MB, free: 8.727 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.909e-05/0.02265, allocations: 138.8 kB / 281.3 MB, free: 8.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.236e-05/0.02275, allocations: 83.34 kB / 281.4 MB, free: 8.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003894/0.02314, allocations: 0.5352 MB / 281.9 MB, free: 7.953 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.02326, allocations: 85.67 kB / 282 MB, free: 7.863 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003016/0.02356, allocations: 0.6384 MB / 282.7 MB, free: 7.055 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/0.02381, allocations: 200.6 kB / 282.9 MB, free: 6.844 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.02381, allocations: 0 / 282.9 MB, free: 6.844 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004173/0.02423, allocations: 375.4 kB / 283.2 MB, free: 6.449 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.589e-05/0.02427, allocations: 41.72 kB / 283.3 MB, free: 6.402 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.02427, allocations: 0 / 283.3 MB, free: 6.402 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000156/0.02443, allocations: 43.36 kB / 283.3 MB, free: 6.352 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003279/0.02476, allocations: 83.88 kB / 283.4 MB, free: 6.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002297/0.02705, allocations: 3.577 MB / 287 MB, free: 2.449 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003006/0.02735, allocations: 47.75 kB / 287 MB, free: 2.402 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/0.02738, allocations: 8 kB / 287 MB, free: 2.395 MB / 266.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.0001882/0.02757, allocations: 188.5 kB / 287.2 MB, free: 2.199 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.02768, allocations: 71.67 kB / 287.3 MB, free: 2.129 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.575e-05/0.02775, allocations: 44.62 kB / 287.3 MB, free: 2.078 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.02776, allocations: 7.984 kB / 287.3 MB, free: 2.07 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.02776, allocations: 4 kB / 287.3 MB, free: 2.066 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000539/0.0283, allocations: 0.6031 MB / 287.9 MB, free: 1.359 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001347/0.02965, allocations: 0.7861 MB / 288.7 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.02965, allocations: 0 / 288.7 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00033/0.02998, allocations: 87.94 kB / 288.8 MB, free: 444 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.02998, allocations: 3.938 kB / 288.8 MB, free: 440 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.03001, allocations: 8 kB / 288.8 MB, free: 432 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.03001, allocations: 0 / 288.8 MB, free: 432 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.03001, allocations: 0 / 288.8 MB, free: 432 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007004/0.03071, allocations: 489.2 kB / 289.3 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/0.0309, allocations: 91.55 kB / 289.4 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.72e-05/0.03096, allocations: 12 kB / 289.4 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.03122, allocations: 24.02 kB / 289.4 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.769e-05/0.03131, allocations: 31.94 kB / 289.4 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.03133, allocations: 12 kB / 289.5 MB, free: 15.75 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000305/0.03163, allocations: 303 kB / 289.8 MB, free: 15.46 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03163, allocations: 0 / 289.8 MB, free: 15.46 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005009/0.03214, allocations: 155.7 kB / 289.9 MB, free: 15.31 MB / 282.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.000129/0.03226, allocations: 111.2 kB / 290 MB, free: 15.2 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007995/0.03306, allocations: 0.6401 MB / 290.7 MB, free: 14.5 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.03307, allocations: 0 / 290.7 MB, free: 14.5 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.03327, allocations: 115.5 kB / 290.8 MB, free: 14.38 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006634/0.03393, allocations: 137.9 kB / 290.9 MB, free: 14.25 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/0.03585, allocations: 0.8765 MB / 291.8 MB, free: 13.34 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.676e-05/0.03594, allocations: 113.8 kB / 291.9 MB, free: 13.21 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001997/0.03614, allocations: 64.23 kB / 292 MB, free: 13.14 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.03626, allocations: 40.5 kB / 292 MB, free: 13.1 MB / 282.7 MB Notification: Performance of SimCode: time 1.052e-06/0.03626, allocations: 4 kB / 292 MB, free: 13.1 MB / 282.7 MB Notification: Performance of Templates: time 0.01471/0.05097, allocations: 9.409 MB / 301.4 MB, free: 3.914 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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: 3.128358473069966]