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.001001/0.001001, allocations: 84.98 kB / 23 MB, free: 1.504 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.001215/0.001215, allocations: 171.5 kB / 26.39 MB, free: 7.992 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.936/0.936, allocations: 158.6 MB / 188.3 MB, free: 2.816 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.142e-06/1.142e-06, allocations: 3.938 kB / 252.2 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.43e-05/1.544e-05, allocations: 6.25 kB / 252.2 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003396/0.003412, allocations: 3.718 MB / 256 MB, free: 3.523 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.004904, allocations: 1.013 MB / 257 MB, free: 2.5 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001951/0.005099, allocations: 11.94 kB / 257 MB, free: 2.488 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002507/0.00535, allocations: 111 kB / 257.1 MB, free: 2.379 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003128/0.005663, allocations: 214.1 kB / 257.3 MB, free: 2.168 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.005884, allocations: 147.7 kB / 257.4 MB, free: 2.023 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005828/0.006467, allocations: 0.7312 MB / 258.2 MB, free: 1.285 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/0.00666, allocations: 127.2 kB / 258.3 MB, free: 1.152 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003509/0.007011, allocations: 419 kB / 258.7 MB, free: 0.7422 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002317/0.007243, allocations: 219.4 kB / 258.9 MB, free: 0.5273 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.926e-05/0.007302, allocations: 56 kB / 259 MB, free: 484 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.764e-05/0.00736, allocations: 60 kB / 259 MB, free: 424 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.351e-05/0.007434, allocations: 135.5 kB / 259.2 MB, free: 288 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.0076, allocations: 227.5 kB / 259.4 MB, free: 60 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003848/0.007985, allocations: 470.3 kB / 259.9 MB, free: 15.6 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.007987, allocations: 0 / 259.9 MB, free: 15.6 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.007988, allocations: 0 / 259.9 MB, free: 15.6 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.007993, allocations: 0 / 259.9 MB, free: 15.6 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.0008473/0.00884, allocations: 0.9605 MB / 260.8 MB, free: 14.59 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.678e-05/0.008867, allocations: 11.98 kB / 260.8 MB, free: 14.58 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.809e-05/0.008965, allocations: 104.5 kB / 260.9 MB, free: 14.48 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.009278, allocations: 338.5 kB / 261.3 MB, free: 14.12 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.157e-05/0.00935, allocations: 110.7 kB / 261.4 MB, free: 14 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.412e-05/0.009394, allocations: 40.38 kB / 261.4 MB, free: 13.96 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005084/0.009902, allocations: 0.8105 MB / 262.2 MB, free: 12.98 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.009915, allocations: 4.172 kB / 262.2 MB, free: 12.98 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.742e-05/0.009943, allocations: 20.12 kB / 262.2 MB, free: 12.96 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.009949, allocations: 8 kB / 262.2 MB, free: 12.95 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.01012, allocations: 134.9 kB / 262.4 MB, free: 12.82 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.01118, allocations: 0.9303 MB / 263.3 MB, free: 11.85 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002709/0.01145, allocations: 207.6 kB / 263.5 MB, free: 11.63 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.957e-05/0.01154, allocations: 79.39 kB / 263.6 MB, free: 11.55 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.01156, allocations: 8 kB / 263.6 MB, free: 11.54 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.01159, allocations: 41.39 kB / 263.6 MB, free: 11.49 MB / 250.7 MB Notification: Performance of pre-optimization done (n=37): time 1.322e-06/0.01159, allocations: 0 / 263.6 MB, free: 11.49 MB / 250.7 MB Notification: Performance of matching and sorting (n=37): time 0.0005033/0.01209, allocations: 352.3 kB / 264 MB, free: 11.13 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/0.01221, allocations: 452.9 kB / 264.4 MB, free: 10.59 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002634/0.01248, allocations: 450.4 kB / 264.9 MB, free: 10.13 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.01251, allocations: 33.7 kB / 264.9 MB, free: 10.09 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.01265, allocations: 311.2 kB / 265.2 MB, free: 9.785 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.081e-05/0.01272, allocations: 134.8 kB / 265.3 MB, free: 9.652 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.96e-05/0.01281, allocations: 83.31 kB / 265.4 MB, free: 9.562 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.01295, allocations: 0.5351 MB / 266 MB, free: 9.016 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.888e-05/0.01302, allocations: 69.67 kB / 266 MB, free: 8.941 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.01329, allocations: 0.6189 MB / 266.6 MB, free: 8.152 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.01348, allocations: 184.8 kB / 266.8 MB, free: 7.957 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.01348, allocations: 3.938 kB / 266.8 MB, free: 7.953 MB / 250.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003263/0.01381, allocations: 343.4 kB / 267.2 MB, free: 7.59 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.01383, allocations: 41.64 kB / 267.2 MB, free: 7.543 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.01384, allocations: 0 / 267.2 MB, free: 7.543 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.865e-05/0.01392, allocations: 39.36 kB / 267.2 MB, free: 7.496 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.01412, allocations: 83.88 kB / 267.3 MB, free: 7.414 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/0.01557, allocations: 3.524 MB / 270.8 MB, free: 3.66 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.01576, allocations: 47.89 kB / 270.9 MB, free: 3.613 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.01578, allocations: 12 kB / 270.9 MB, free: 3.602 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.000118/0.01589, allocations: 184.5 kB / 271.1 MB, free: 3.41 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.614e-05/0.01596, allocations: 59.72 kB / 271.1 MB, free: 3.352 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.225e-05/0.01601, allocations: 60.55 kB / 271.2 MB, free: 3.293 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.01601, allocations: 4.188 kB / 271.2 MB, free: 3.289 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.01602, allocations: 0 / 271.2 MB, free: 3.289 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00031/0.01633, allocations: 0.5784 MB / 271.8 MB, free: 2.605 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006743/0.017, allocations: 0.71 MB / 272.5 MB, free: 1.859 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.017, allocations: 3.938 kB / 272.5 MB, free: 1.855 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.01722, allocations: 83.89 kB / 272.6 MB, free: 1.773 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.01722, allocations: 0 / 272.6 MB, free: 1.773 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.01723, allocations: 11.98 kB / 272.6 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.01724, allocations: 0 / 272.6 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.01724, allocations: 0 / 272.6 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003789/0.01761, allocations: 457 kB / 273 MB, free: 1.293 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.01773, allocations: 91.53 kB / 273.1 MB, free: 1.203 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/0.01777, allocations: 12 kB / 273.1 MB, free: 1.191 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.01793, allocations: 19.98 kB / 273.2 MB, free: 1.172 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.01797, allocations: 27.95 kB / 273.2 MB, free: 1.145 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.01799, allocations: 7.984 kB / 273.2 MB, free: 1.137 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001533/0.01814, allocations: 283 kB / 273.5 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01814, allocations: 0 / 273.5 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002979/0.01844, allocations: 151.7 kB / 273.6 MB, free: 0.7148 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 7.543e-05/0.01851, allocations: 103.3 kB / 273.7 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004455/0.01896, allocations: 0.6156 MB / 274.3 MB, free: 15.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01896, allocations: 0 / 274.3 MB, free: 15.93 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.01907, allocations: 111.5 kB / 274.4 MB, free: 15.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003944/0.01946, allocations: 145.9 kB / 274.6 MB, free: 15.68 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.02063, allocations: 0.8649 MB / 275.4 MB, free: 14.78 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.061e-05/0.0207, allocations: 113.8 kB / 275.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000161/0.02086, allocations: 64.23 kB / 275.6 MB, free: 14.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003475/0.02121, allocations: 270 kB / 275.9 MB, free: 14.31 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02121, allocations: 0 / 275.9 MB, free: 14.31 MB / 266.7 MB Notification: Performance of Templates: time 0.0111/0.03231, allocations: 10.28 MB / 286.2 MB, free: 4.07 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: 3.0437452630139887]