Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009389/0.0009389, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001149/0.001149, allocations: 173 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9818/0.9818, allocations: 177.1 MB / 205.3 MB, free: 5.094 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 3.938 kB / 273.4 MB, free: 1.195 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.592e-05/1.742e-05, allocations: 2.312 kB / 273.4 MB, free: 1.191 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003326/0.003343, allocations: 3.733 MB / 277.2 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.00513, allocations: 1.051 MB / 278.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002031/0.005333, allocations: 7.938 kB / 278.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002646/0.005597, allocations: 119 kB / 278.3 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003273/0.005925, allocations: 210.2 kB / 278.5 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.006163, allocations: 143.7 kB / 278.7 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005844/0.006748, allocations: 0.735 MB / 279.4 MB, free: 11.17 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002337/0.006982, allocations: 141.1 kB / 279.6 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003853/0.007367, allocations: 407.1 kB / 280 MB, free: 10.63 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.0076, allocations: 223.4 kB / 280.2 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.51e-05/0.007665, allocations: 60 kB / 280.2 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.164e-05/0.007727, allocations: 64 kB / 280.3 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.747e-05/0.007804, allocations: 135.5 kB / 280.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.007969, allocations: 223.5 kB / 280.6 MB, free: 9.938 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003886/0.008357, allocations: 482.2 kB / 281.1 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.008359, allocations: 0 / 281.1 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.008359, allocations: 0 / 281.1 MB, free: 9.465 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.008366, allocations: 0 / 281.1 MB, free: 9.465 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.0008376/0.009203, allocations: 0.8125 MB / 281.9 MB, free: 8.621 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.009235, allocations: 8.031 kB / 281.9 MB, free: 8.613 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.638e-05/0.009321, allocations: 72.88 kB / 282 MB, free: 8.543 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/0.009631, allocations: 283.6 kB / 282.3 MB, free: 8.238 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.291e-05/0.009714, allocations: 118.7 kB / 282.4 MB, free: 8.105 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.767e-05/0.009762, allocations: 44.38 kB / 282.4 MB, free: 8.062 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005517/0.01031, allocations: 0.7664 MB / 283.2 MB, free: 7.145 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.01032, allocations: 192 / 283.2 MB, free: 7.145 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.01035, allocations: 24.12 kB / 283.2 MB, free: 7.121 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.01036, allocations: 8 kB / 283.2 MB, free: 7.113 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.01052, allocations: 110.9 kB / 283.4 MB, free: 7.004 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009926/0.01151, allocations: 0.6967 MB / 284 MB, free: 6.285 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.01175, allocations: 174.6 kB / 284.2 MB, free: 6.102 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.074e-05/0.01183, allocations: 72.53 kB / 284.3 MB, free: 6.027 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.01186, allocations: 11.98 kB / 284.3 MB, free: 6.016 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.01189, allocations: 38.56 kB / 284.3 MB, free: 5.969 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 1.162e-06/0.01189, allocations: 0 / 284.3 MB, free: 5.969 MB / 266.7 MB Notification: Performance of matching and sorting (n=37): time 0.0004363/0.01233, allocations: 279.3 kB / 284.6 MB, free: 5.684 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/0.01246, allocations: 449 kB / 285 MB, free: 5.141 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.0127, allocations: 363.3 kB / 285.4 MB, free: 4.773 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.01273, allocations: 33.7 kB / 285.4 MB, free: 4.734 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.01287, allocations: 205.4 kB / 285.6 MB, free: 4.531 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.927e-05/0.01294, allocations: 130.8 kB / 285.8 MB, free: 4.402 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.674e-05/0.01303, allocations: 73.67 kB / 285.8 MB, free: 4.324 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.01313, allocations: 358.7 kB / 286.2 MB, free: 3.965 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.74e-05/0.01321, allocations: 65.67 kB / 286.3 MB, free: 3.895 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002654/0.01347, allocations: 0.572 MB / 286.8 MB, free: 3.172 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.01365, allocations: 178.7 kB / 287 MB, free: 2.984 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.01365, allocations: 0 / 287 MB, free: 2.984 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003613/0.01401, allocations: 274.3 kB / 287.3 MB, free: 2.691 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.095e-05/0.01404, allocations: 33.7 kB / 287.3 MB, free: 2.652 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.01405, allocations: 0 / 287.3 MB, free: 2.652 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001016/0.01415, allocations: 41.67 kB / 287.3 MB, free: 2.605 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/0.01435, allocations: 79.92 kB / 287.4 MB, free: 2.527 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1216/0.136, allocations: 2.405 MB / 289.8 MB, free: 25.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000351/0.1363, allocations: 42.42 kB / 289.9 MB, free: 25.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.1363, allocations: 7.969 kB / 289.9 MB, free: 25.11 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.0001352/0.1365, allocations: 131.2 kB / 290 MB, free: 24.99 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.944e-05/0.1365, allocations: 51.42 kB / 290 MB, free: 24.99 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.007e-05/0.1366, allocations: 54.17 kB / 290.1 MB, free: 24.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1366, allocations: 3.812 kB / 290.1 MB, free: 24.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1366, allocations: 1.688 kB / 290.1 MB, free: 24.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002576/0.1369, allocations: 0.5329 MB / 290.6 MB, free: 24.45 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006511/0.1375, allocations: 0.5458 MB / 291.2 MB, free: 24.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.1375, allocations: 0.5938 kB / 291.2 MB, free: 24.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000233/0.1377, allocations: 85.67 kB / 291.3 MB, free: 24.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1378, allocations: 1.312 kB / 291.3 MB, free: 24.24 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.1378, allocations: 6.578 kB / 291.3 MB, free: 24.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.1378, allocations: 1.969 kB / 291.3 MB, free: 24.24 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1378, allocations: 2.094 kB / 291.3 MB, free: 24.24 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003101/0.1381, allocations: 351.3 kB / 291.6 MB, free: 24.1 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.705e-05/0.1382, allocations: 59.62 kB / 291.7 MB, free: 24.1 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.837e-05/0.1382, allocations: 11.84 kB / 291.7 MB, free: 24.1 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.1384, allocations: 22.73 kB / 291.7 MB, free: 24.1 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.057e-05/0.1384, allocations: 25.73 kB / 291.7 MB, free: 24.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.1384, allocations: 7.172 kB / 291.7 MB, free: 24.1 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001351/0.1386, allocations: 159.9 kB / 291.9 MB, free: 24.08 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1386, allocations: 1.188 kB / 291.9 MB, free: 24.08 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002925/0.1389, allocations: 144 kB / 292 MB, free: 24.08 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.0001/0.139, allocations: 97 kB / 292.1 MB, free: 24.01 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000425/0.1394, allocations: 0.4935 MB / 292.6 MB, free: 23.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/0.1394, allocations: 5.672 kB / 292.6 MB, free: 23.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.1395, allocations: 93.94 kB / 292.7 MB, free: 23.67 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.1399, allocations: 137.4 kB / 292.9 MB, free: 23.67 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.1411, allocations: 0.8692 MB / 293.7 MB, free: 23.26 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.419e-05/0.1412, allocations: 114.6 kB / 293.8 MB, free: 23.18 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001686/0.1413, allocations: 64.02 kB / 293.9 MB, free: 23.17 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003308/0.1417, allocations: 233.2 kB / 294.1 MB, free: 23.12 MB / 266.7 MB Notification: Performance of SimCode: time 9.72e-07/0.1417, allocations: 0 / 294.1 MB, free: 23.12 MB / 266.7 MB Notification: Performance of Templates: time 0.0121/0.1538, allocations: 9.951 MB / 304.1 MB, free: 19.95 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.9340316457673907]