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.001098/0.001098, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.001102/0.001102, allocations: 165.8 kB / 25.75 MB, free: 8.926 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.8736/0.8736, allocations: 158.6 MB / 187.5 MB, free: 2.953 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.303e-06/1.303e-06, allocations: 0 / 251.1 MB, free: 7.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.649e-05/1.779e-05, allocations: 2.312 kB / 251.1 MB, free: 7.816 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004368/0.004386, allocations: 3.757 MB / 254.9 MB, free: 4.035 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.005906, allocations: 1.021 MB / 255.9 MB, free: 3.004 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001961/0.006102, allocations: 11.94 kB / 255.9 MB, free: 2.992 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002945/0.006396, allocations: 103.1 kB / 256 MB, free: 2.891 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003609/0.006757, allocations: 222.1 kB / 256.2 MB, free: 2.672 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.007005, allocations: 139.7 kB / 256.3 MB, free: 2.535 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006916/0.007697, allocations: 0.7311 MB / 257.1 MB, free: 1.801 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002263/0.007923, allocations: 135.1 kB / 257.2 MB, free: 1.66 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003794/0.008303, allocations: 407.1 kB / 257.6 MB, free: 1.258 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002639/0.008567, allocations: 227.4 kB / 257.8 MB, free: 1.035 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 7.574e-05/0.008642, allocations: 64 kB / 257.9 MB, free: 0.9727 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.635e-05/0.008719, allocations: 60 kB / 257.9 MB, free: 0.9141 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.114e-05/0.00881, allocations: 131.5 kB / 258.1 MB, free: 0.7852 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002028/0.009013, allocations: 231.5 kB / 258.3 MB, free: 0.5586 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004784/0.009491, allocations: 474.3 kB / 258.8 MB, free: 96 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.009493, allocations: 0 / 258.8 MB, free: 96 kB / 234.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.009494, allocations: 0 / 258.8 MB, free: 96 kB / 234.7 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.009501, allocations: 0 / 258.8 MB, free: 96 kB / 234.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.001165/0.01067, allocations: 0.949 MB / 259.7 MB, free: 15.1 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.0107, allocations: 15.98 kB / 259.7 MB, free: 15.09 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.01085, allocations: 100.5 kB / 259.8 MB, free: 14.99 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005274/0.01138, allocations: 367.4 kB / 260.2 MB, free: 14.6 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.01148, allocations: 114.7 kB / 260.3 MB, free: 14.47 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.457e-05/0.01155, allocations: 40.38 kB / 260.3 MB, free: 14.43 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007076/0.01225, allocations: 0.8224 MB / 261.2 MB, free: 13.45 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.01227, allocations: 192 / 261.2 MB, free: 13.45 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.939e-05/0.01231, allocations: 24.06 kB / 261.2 MB, free: 13.42 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.01232, allocations: 8 kB / 261.2 MB, free: 13.41 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005994/0.01292, allocations: 169.8 kB / 261.4 MB, free: 13.25 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001516/0.01444, allocations: 0.9962 MB / 262.4 MB, free: 12.21 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000445/0.01488, allocations: 227.4 kB / 262.6 MB, free: 11.97 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.01505, allocations: 100.1 kB / 262.7 MB, free: 11.87 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.164e-05/0.01508, allocations: 11.98 kB / 262.7 MB, free: 11.86 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.01511, allocations: 45.33 kB / 262.7 MB, free: 11.8 MB / 250.7 MB Notification: Performance of pre-optimization done (n=37): time 1.723e-06/0.01511, allocations: 4 kB / 262.7 MB, free: 11.8 MB / 250.7 MB Notification: Performance of matching and sorting (n=37): time 0.000788/0.0159, allocations: 381.1 kB / 263.1 MB, free: 11.41 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001366/0.01604, allocations: 445 kB / 263.5 MB, free: 10.88 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004176/0.01646, allocations: 462.6 kB / 264 MB, free: 10.41 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.01649, allocations: 37.7 kB / 264 MB, free: 10.36 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.01666, allocations: 303.3 kB / 264.3 MB, free: 10.06 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.989e-05/0.01675, allocations: 134.8 kB / 264.5 MB, free: 9.93 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.01687, allocations: 83.34 kB / 264.5 MB, free: 9.84 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.01703, allocations: 0.5391 MB / 265.1 MB, free: 9.289 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.01719, allocations: 93.59 kB / 265.2 MB, free: 9.191 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003691/0.01756, allocations: 0.6229 MB / 265.8 MB, free: 8.398 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003076/0.01787, allocations: 204.8 kB / 266 MB, free: 8.184 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.01787, allocations: 3.938 kB / 266 MB, free: 8.18 MB / 250.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005186/0.01839, allocations: 375.4 kB / 266.4 MB, free: 7.785 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.987e-05/0.01842, allocations: 33.7 kB / 266.4 MB, free: 7.746 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.01842, allocations: 0 / 266.4 MB, free: 7.746 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001331/0.01855, allocations: 59.31 kB / 266.4 MB, free: 7.68 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.01882, allocations: 75.89 kB / 266.5 MB, free: 7.605 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002114/0.02094, allocations: 3.566 MB / 270.1 MB, free: 3.793 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002468/0.02118, allocations: 51.69 kB / 270.1 MB, free: 3.742 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.02121, allocations: 8 kB / 270.1 MB, free: 3.734 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.0001483/0.02136, allocations: 188.5 kB / 270.3 MB, free: 3.539 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.722e-05/0.02144, allocations: 63.66 kB / 270.4 MB, free: 3.477 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.741e-05/0.02151, allocations: 56.61 kB / 270.4 MB, free: 3.422 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.02151, allocations: 4 kB / 270.5 MB, free: 3.418 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.02152, allocations: 0 / 270.5 MB, free: 3.418 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004605/0.02198, allocations: 0.602 MB / 271.1 MB, free: 2.711 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009696/0.02295, allocations: 0.7938 MB / 271.8 MB, free: 1.871 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.02295, allocations: 0 / 271.8 MB, free: 1.871 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002916/0.02324, allocations: 83.89 kB / 271.9 MB, free: 1.789 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.02324, allocations: 8 kB / 271.9 MB, free: 1.781 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.02327, allocations: 8 kB / 271.9 MB, free: 1.773 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.02327, allocations: 0 / 271.9 MB, free: 1.773 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.02327, allocations: 0 / 271.9 MB, free: 1.773 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005713/0.02384, allocations: 497.2 kB / 272.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.02398, allocations: 87.59 kB / 272.5 MB, free: 1.18 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.434e-05/0.02404, allocations: 16.17 kB / 272.5 MB, free: 1.164 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.02427, allocations: 19.98 kB / 272.6 MB, free: 1.145 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.342e-05/0.02433, allocations: 27.94 kB / 272.6 MB, free: 1.117 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.02435, allocations: 12.03 kB / 272.6 MB, free: 1.105 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002563/0.0246, allocations: 311 kB / 272.9 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0246, allocations: 0 / 272.9 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004/0.025, allocations: 151.7 kB / 273 MB, free: 0.6523 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 0.0001025/0.02511, allocations: 107.2 kB / 273.1 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006623/0.02577, allocations: 0.6313 MB / 273.8 MB, free: 15.85 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.02577, allocations: 0 / 273.8 MB, free: 15.85 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003507/0.02612, allocations: 115.9 kB / 273.9 MB, free: 15.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005453/0.02667, allocations: 133.9 kB / 274 MB, free: 15.6 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.02826, allocations: 0.8772 MB / 274.9 MB, free: 14.69 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.516e-05/0.02835, allocations: 113.8 kB / 275 MB, free: 14.55 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001971/0.02854, allocations: 60.23 kB / 275.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.02865, allocations: 48.48 kB / 275.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of SimCode: time 7.32e-07/0.02865, allocations: 0 / 275.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of Templates: time 0.01288/0.04153, allocations: 9.394 MB / 284.5 MB, free: 5.094 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: 2.887612845050171]