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.0009139/0.0009139, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.001332/0.001332, allocations: 167.9 kB / 25.7 MB, free: 8.445 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.8825/0.8825, allocations: 158.6 MB / 187.6 MB, free: 2.785 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.343e-06/1.343e-06, allocations: 0 / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.394e-05/1.528e-05, allocations: 2.312 kB / 251.5 MB, free: 7.246 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003647/0.003662, allocations: 3.784 MB / 255.3 MB, free: 3.441 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.005292, allocations: 1.056 MB / 256.4 MB, free: 2.375 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001861/0.005478, allocations: 7.938 kB / 256.4 MB, free: 2.367 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002247/0.005703, allocations: 111 kB / 256.5 MB, free: 2.258 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000301/0.006003, allocations: 218.1 kB / 256.7 MB, free: 2.043 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.006234, allocations: 143.7 kB / 256.9 MB, free: 1.902 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005698/0.006803, allocations: 0.735 MB / 257.6 MB, free: 1.16 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/0.006989, allocations: 141.1 kB / 257.7 MB, free: 1.012 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003761/0.007365, allocations: 407.1 kB / 258.1 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002165/0.007581, allocations: 223.4 kB / 258.3 MB, free: 404 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.727e-05/0.007639, allocations: 60 kB / 258.4 MB, free: 344 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.633e-05/0.007695, allocations: 60 kB / 258.5 MB, free: 284 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.101e-05/0.007766, allocations: 135.5 kB / 258.6 MB, free: 148 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.007928, allocations: 227.5 kB / 258.8 MB, free: 15.92 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003903/0.008319, allocations: 474.2 kB / 259.3 MB, free: 15.46 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.00832, allocations: 0 / 259.3 MB, free: 15.46 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.008321, allocations: 0 / 259.3 MB, free: 15.46 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.008327, allocations: 0 / 259.3 MB, free: 15.46 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.0008207/0.009148, allocations: 0.8086 MB / 260.1 MB, free: 14.62 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.009179, allocations: 11.98 kB / 260.1 MB, free: 14.61 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.76e-05/0.009266, allocations: 80.86 kB / 260.2 MB, free: 14.53 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.009579, allocations: 275.8 kB / 260.5 MB, free: 14.23 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.167e-05/0.009661, allocations: 114.7 kB / 260.6 MB, free: 14.1 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.542e-05/0.009706, allocations: 44.31 kB / 260.6 MB, free: 14.06 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004895/0.0102, allocations: 0.7664 MB / 261.4 MB, free: 13.14 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.01021, allocations: 4.188 kB / 261.4 MB, free: 13.14 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.01023, allocations: 20.12 kB / 261.4 MB, free: 13.12 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.01024, allocations: 8 kB / 261.4 MB, free: 13.11 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.01041, allocations: 118.9 kB / 261.5 MB, free: 13 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009702/0.01138, allocations: 0.6851 MB / 262.2 MB, free: 12.29 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.01162, allocations: 178.7 kB / 262.4 MB, free: 12.11 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.861e-05/0.0117, allocations: 72.52 kB / 262.4 MB, free: 12.03 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.01172, allocations: 11.94 kB / 262.5 MB, free: 12.02 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.01175, allocations: 42.56 kB / 262.5 MB, free: 11.97 MB / 250.7 MB Notification: Performance of pre-optimization done (n=37): time 1.242e-06/0.01175, allocations: 0 / 262.5 MB, free: 11.97 MB / 250.7 MB Notification: Performance of matching and sorting (n=37): time 0.0004426/0.01219, allocations: 274.7 kB / 262.8 MB, free: 11.69 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/0.01232, allocations: 448.9 kB / 263.2 MB, free: 11.14 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.01255, allocations: 363.2 kB / 263.6 MB, free: 10.78 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.01257, allocations: 41.64 kB / 263.6 MB, free: 10.73 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.223e-05/0.01267, allocations: 197.4 kB / 263.8 MB, free: 10.54 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.108e-05/0.01274, allocations: 142.8 kB / 263.9 MB, free: 10.39 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.324e-05/0.01282, allocations: 73.61 kB / 264 MB, free: 10.32 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.01292, allocations: 362.7 kB / 264.4 MB, free: 9.953 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.231e-05/0.013, allocations: 61.69 kB / 264.4 MB, free: 9.887 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/0.01326, allocations: 0.5681 MB / 265 MB, free: 9.168 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.01343, allocations: 174.8 kB / 265.2 MB, free: 8.984 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.01343, allocations: 0 / 265.2 MB, free: 8.984 MB / 250.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002696/0.0137, allocations: 282.1 kB / 265.4 MB, free: 8.684 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.01373, allocations: 33.7 kB / 265.5 MB, free: 8.645 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.01374, allocations: 0 / 265.5 MB, free: 8.645 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.089e-05/0.01383, allocations: 33.69 kB / 265.5 MB, free: 8.605 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002684/0.01409, allocations: 103.9 kB / 265.6 MB, free: 8.504 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/0.01537, allocations: 2.407 MB / 268 MB, free: 5.926 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.01554, allocations: 43.77 kB / 268.1 MB, free: 5.883 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.01555, allocations: 8 kB / 268.1 MB, free: 5.875 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.0001106/0.01566, allocations: 129.8 kB / 268.2 MB, free: 5.738 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.701e-05/0.01572, allocations: 59.88 kB / 268.2 MB, free: 5.68 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.007e-05/0.01577, allocations: 44.62 kB / 268.3 MB, free: 5.633 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.01577, allocations: 4 kB / 268.3 MB, free: 5.629 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.01578, allocations: 4 kB / 268.3 MB, free: 5.625 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002805/0.01606, allocations: 0.5397 MB / 268.8 MB, free: 4.98 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005575/0.01661, allocations: 0.5467 MB / 269.4 MB, free: 4.406 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01662, allocations: 0 / 269.4 MB, free: 4.406 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002633/0.01688, allocations: 107.8 kB / 269.5 MB, free: 4.301 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.01688, allocations: 4 kB / 269.5 MB, free: 4.297 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.0169, allocations: 8 kB / 269.5 MB, free: 4.289 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.0169, allocations: 0 / 269.5 MB, free: 4.289 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.0169, allocations: 0 / 269.5 MB, free: 4.289 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/0.01722, allocations: 357 kB / 269.9 MB, free: 3.918 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.911e-05/0.01731, allocations: 51.59 kB / 269.9 MB, free: 3.867 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.01734, allocations: 12 kB / 269.9 MB, free: 3.855 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.01749, allocations: 19.98 kB / 269.9 MB, free: 3.836 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.01753, allocations: 23.95 kB / 270 MB, free: 3.812 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.01754, allocations: 16.02 kB / 270 MB, free: 3.797 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001097/0.01765, allocations: 156.7 kB / 270.1 MB, free: 3.648 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01765, allocations: 0 / 270.1 MB, free: 3.648 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002512/0.0179, allocations: 143.8 kB / 270.3 MB, free: 3.508 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 8.629e-05/0.01799, allocations: 88.3 kB / 270.4 MB, free: 3.414 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004162/0.01841, allocations: 0.4893 MB / 270.8 MB, free: 2.879 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.01841, allocations: 8 kB / 270.8 MB, free: 2.871 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.584e-05/0.01851, allocations: 96.8 kB / 270.9 MB, free: 2.773 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.01884, allocations: 153.8 kB / 271.1 MB, free: 2.621 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.01999, allocations: 0.8553 MB / 271.9 MB, free: 1.734 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.572e-05/0.02006, allocations: 113.8 kB / 272.1 MB, free: 1.598 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001526/0.02021, allocations: 60.34 kB / 272.1 MB, free: 1.535 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003345/0.02054, allocations: 237.2 kB / 272.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of SimCode: time 5.41e-07/0.02054, allocations: 4 kB / 272.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of Templates: time 0.01169/0.03224, allocations: 10.14 MB / 282.5 MB, free: 7.203 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 -s gbode -gbm=radauIIA3 -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.768132102675736]