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.0009758/0.0009758, allocations: 82.28 kB / 22.21 MB, free: 2.293 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.001039/0.001039, allocations: 145.2 kB / 25.59 MB, free: 8.914 MB / 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.9122/0.9122, allocations: 173.4 MB / 202.2 MB, free: 8.281 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 1.082e-06/1.082e-06, allocations: 0 / 269.2 MB, free: 9.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/1.963e-05, allocations: 3.188 kB / 269.2 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004071/0.00409, allocations: 3.715 MB / 272.9 MB, free: 6.07 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.005591, allocations: 0.9767 MB / 273.9 MB, free: 5.098 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001999/0.005791, allocations: 8.438 kB / 273.9 MB, free: 5.09 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002541/0.006045, allocations: 115.6 kB / 274 MB, free: 4.977 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003314/0.006376, allocations: 216.6 kB / 274.2 MB, free: 4.766 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.0066, allocations: 143.7 kB / 274.3 MB, free: 4.625 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007741/0.007374, allocations: 0.7272 MB / 275.1 MB, free: 3.895 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001878/0.007562, allocations: 131.2 kB / 275.2 MB, free: 3.762 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003194/0.007881, allocations: 415 kB / 275.6 MB, free: 3.355 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.008103, allocations: 223.4 kB / 275.8 MB, free: 3.137 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.956e-05/0.008163, allocations: 60 kB / 275.9 MB, free: 3.078 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.525e-05/0.008218, allocations: 56 kB / 275.9 MB, free: 3.023 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.14e-05/0.00829, allocations: 135.5 kB / 276.1 MB, free: 2.891 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.008438, allocations: 231.5 kB / 276.3 MB, free: 2.664 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003809/0.008819, allocations: 466.3 kB / 276.7 MB, free: 2.207 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.008822, allocations: 0 / 276.7 MB, free: 2.207 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.008824, allocations: 3.984 kB / 276.8 MB, free: 2.203 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.008829, allocations: 4 kB / 276.8 MB, free: 2.199 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.0008887/0.009718, allocations: 0.9489 MB / 277.7 MB, free: 1.207 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.009753, allocations: 8.031 kB / 277.7 MB, free: 1.199 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.769e-05/0.00985, allocations: 92.56 kB / 277.8 MB, free: 1.109 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/0.0102, allocations: 342.5 kB / 278.1 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-05/0.01029, allocations: 110.7 kB / 278.2 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.528e-05/0.01033, allocations: 44.31 kB / 278.3 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005868/0.01092, allocations: 0.8067 MB / 279.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.01093, allocations: 4.125 kB / 279.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.01096, allocations: 20.12 kB / 279.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.01097, allocations: 8 kB / 279.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.01115, allocations: 138.8 kB / 279.3 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.01227, allocations: 0.9304 MB / 280.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.01256, allocations: 207.2 kB / 280.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.8e-05/0.01265, allocations: 79.64 kB / 280.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.01268, allocations: 7.984 kB / 280.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.01271, allocations: 46.05 kB / 280.5 MB, free: 14.1 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 2.184e-06/0.01271, allocations: 0 / 280.5 MB, free: 14.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=37): time 0.0005295/0.01324, allocations: 348.7 kB / 280.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/0.01336, allocations: 448.9 kB / 281.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002726/0.01363, allocations: 446.4 kB / 281.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.01366, allocations: 33.7 kB / 281.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.0138, allocations: 311.2 kB / 282.1 MB, free: 12.4 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.082e-05/0.01387, allocations: 142.7 kB / 282.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.901e-05/0.01397, allocations: 87.27 kB / 282.3 MB, free: 12.17 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.01411, allocations: 0.5312 MB / 282.8 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.838e-05/0.01419, allocations: 73.66 kB / 282.9 MB, free: 11.55 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/0.01446, allocations: 0.6344 MB / 283.5 MB, free: 10.74 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.01464, allocations: 176.6 kB / 283.7 MB, free: 10.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.01464, allocations: 3.938 kB / 283.7 MB, free: 10.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003584/0.015, allocations: 347.4 kB / 284.1 MB, free: 10.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.16e-05/0.01503, allocations: 29.7 kB / 284.1 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.01504, allocations: 0 / 284.1 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-05/0.01513, allocations: 47.28 kB / 284.1 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.01534, allocations: 79.92 kB / 284.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00189/0.01723, allocations: 3.533 MB / 287.7 MB, free: 6.254 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.01745, allocations: 39.77 kB / 287.8 MB, free: 6.215 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.01747, allocations: 11.98 kB / 287.8 MB, free: 6.203 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.0001397/0.01761, allocations: 188.4 kB / 288 MB, free: 6.008 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.989e-05/0.01768, allocations: 63.67 kB / 288 MB, free: 5.945 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.12e-05/0.01774, allocations: 60.5 kB / 288.1 MB, free: 5.883 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.01774, allocations: 4 kB / 288.1 MB, free: 5.879 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.01775, allocations: 3.984 kB / 288.1 MB, free: 5.875 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000369/0.01812, allocations: 0.5836 MB / 288.7 MB, free: 5.188 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007597/0.01888, allocations: 0.6968 MB / 289.4 MB, free: 4.445 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.01888, allocations: 3.938 kB / 289.4 MB, free: 4.441 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.0191, allocations: 87.88 kB / 289.5 MB, free: 4.355 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.0191, allocations: 0 / 289.5 MB, free: 4.355 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.01912, allocations: 8 kB / 289.5 MB, free: 4.348 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.01912, allocations: 0 / 289.5 MB, free: 4.348 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01912, allocations: 4 kB / 289.5 MB, free: 4.344 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003949/0.01952, allocations: 453.3 kB / 289.9 MB, free: 3.879 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.01966, allocations: 99.48 kB / 290 MB, free: 3.781 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/0.0197, allocations: 8 kB / 290 MB, free: 3.773 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.01988, allocations: 23.98 kB / 290.1 MB, free: 3.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.924e-05/0.01994, allocations: 31.88 kB / 290.1 MB, free: 3.719 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.01995, allocations: 4 kB / 290.1 MB, free: 3.715 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001697/0.02012, allocations: 291 kB / 290.4 MB, free: 3.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02012, allocations: 0 / 290.4 MB, free: 3.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003271/0.02045, allocations: 151.8 kB / 290.5 MB, free: 3.281 MB / 266.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.0001057/0.02055, allocations: 107.2 kB / 290.6 MB, free: 3.168 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004913/0.02104, allocations: 0.6048 MB / 291.2 MB, free: 2.508 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.02105, allocations: 0 / 291.2 MB, free: 2.508 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.02115, allocations: 103.5 kB / 291.3 MB, free: 2.402 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.02155, allocations: 149.8 kB / 291.5 MB, free: 2.258 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.02287, allocations: 0.8765 MB / 292.4 MB, free: 1.348 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.642e-05/0.02294, allocations: 117.8 kB / 292.5 MB, free: 1.211 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001582/0.02309, allocations: 56.25 kB / 292.5 MB, free: 1.152 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003397/0.02343, allocations: 282 kB / 292.8 MB, free: 0.875 MB / 266.7 MB Notification: Performance of SimCode: time 1.342e-06/0.02344, allocations: 4 kB / 292.8 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of Templates: time 0.01208/0.03551, allocations: 10.29 MB / 303.1 MB, free: 6.844 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: 2.846633007749915]