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.001317/0.001317, 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.001508/0.001508, allocations: 169.1 kB / 24.91 MB, free: 9.156 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.9332/0.9332, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.142e-06/1.142e-06, allocations: 0 / 273.5 MB, free: 1.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.676e-05/1.79e-05, allocations: 2.312 kB / 273.5 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003915/0.003932, allocations: 3.791 MB / 277.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.005386, allocations: 1.039 MB / 278.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000189/0.005575, allocations: 7.938 kB / 278.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002823/0.005858, allocations: 119 kB / 278.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00032/0.006178, allocations: 218.1 kB / 278.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.006403, allocations: 139.7 kB / 278.8 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005666/0.00697, allocations: 0.7312 MB / 279.5 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001889/0.007159, allocations: 145.1 kB / 279.6 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003309/0.00749, allocations: 415 kB / 280.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002271/0.007717, allocations: 215.4 kB / 280.3 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.203e-05/0.007779, allocations: 60 kB / 280.3 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.712e-05/0.007836, allocations: 60 kB / 280.4 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.474e-05/0.007911, allocations: 139.5 kB / 280.5 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.008062, allocations: 227.5 kB / 280.7 MB, free: 9.957 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003828/0.008444, allocations: 470.2 kB / 281.2 MB, free: 9.496 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.008447, allocations: 0 / 281.2 MB, free: 9.496 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.008448, allocations: 0 / 281.2 MB, free: 9.496 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.008453, allocations: 0 / 281.2 MB, free: 9.496 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.0009131/0.009366, allocations: 0.8086 MB / 282 MB, free: 8.656 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.542e-05/0.009391, allocations: 8.031 kB / 282 MB, free: 8.648 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.486e-05/0.009466, allocations: 76.88 kB / 282.1 MB, free: 8.574 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.009768, allocations: 287.7 kB / 282.4 MB, free: 8.266 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.733e-05/0.009845, allocations: 118.6 kB / 282.5 MB, free: 8.133 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.209e-05/0.009887, allocations: 36.38 kB / 282.5 MB, free: 8.098 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004466/0.01033, allocations: 0.7742 MB / 283.3 MB, free: 7.172 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.01035, allocations: 192 / 283.3 MB, free: 7.172 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/0.01037, allocations: 24.12 kB / 283.3 MB, free: 7.148 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.01038, allocations: 11.94 kB / 283.3 MB, free: 7.137 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.01053, allocations: 110.9 kB / 283.4 MB, free: 7.027 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008976/0.01143, allocations: 0.6889 MB / 284.1 MB, free: 6.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.01165, allocations: 166.7 kB / 284.3 MB, free: 6.145 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.505e-05/0.01172, allocations: 76.52 kB / 284.4 MB, free: 6.066 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.01175, allocations: 15.98 kB / 284.4 MB, free: 6.051 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.01177, allocations: 42.5 kB / 284.4 MB, free: 6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 1.122e-06/0.01177, allocations: 0 / 284.4 MB, free: 6 MB / 266.7 MB Notification: Performance of matching and sorting (n=37): time 0.0003904/0.01216, allocations: 271.4 kB / 284.7 MB, free: 5.723 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.01227, allocations: 445 kB / 285.1 MB, free: 5.184 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.01248, allocations: 363.3 kB / 285.5 MB, free: 4.816 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.0125, allocations: 33.7 kB / 285.5 MB, free: 4.777 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.345e-05/0.01258, allocations: 209.4 kB / 285.7 MB, free: 4.57 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.963e-05/0.01264, allocations: 134.8 kB / 285.8 MB, free: 4.438 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.898e-05/0.01272, allocations: 77.66 kB / 285.9 MB, free: 4.355 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.52e-05/0.01281, allocations: 358.7 kB / 286.3 MB, free: 3.996 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.374e-05/0.01287, allocations: 69.61 kB / 286.3 MB, free: 3.922 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.01309, allocations: 0.5679 MB / 286.9 MB, free: 3.203 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.01324, allocations: 174.8 kB / 287.1 MB, free: 3.02 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.01325, allocations: 0 / 287.1 MB, free: 3.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002316/0.01348, allocations: 270.4 kB / 287.3 MB, free: 2.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.0135, allocations: 37.73 kB / 287.4 MB, free: 2.688 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.01351, allocations: 7.922 kB / 287.4 MB, free: 2.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.34e-05/0.01358, allocations: 37.69 kB / 287.4 MB, free: 2.637 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.01381, allocations: 99.86 kB / 287.5 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/0.015, allocations: 2.411 MB / 289.9 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.01515, allocations: 35.83 kB / 290 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.01517, allocations: 11.98 kB / 290 MB, free: 15.91 MB / 282.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 9.859e-05/0.01527, allocations: 141.8 kB / 290.1 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.851e-05/0.01532, allocations: 47.89 kB / 290.2 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.717e-05/0.01536, allocations: 56.61 kB / 290.2 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.01537, allocations: 4 kB / 290.2 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.01537, allocations: 0 / 290.2 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002515/0.01562, allocations: 0.5319 MB / 290.8 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000525/0.01615, allocations: 0.5467 MB / 291.3 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.01615, allocations: 4 kB / 291.3 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.01639, allocations: 108.5 kB / 291.4 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.01639, allocations: 0 / 291.4 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.0164, allocations: 11.98 kB / 291.4 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.0164, allocations: 0 / 291.4 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.0164, allocations: 0 / 291.4 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.01668, allocations: 353 kB / 291.8 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.711e-05/0.01677, allocations: 63.53 kB / 291.8 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/0.0168, allocations: 8 kB / 291.8 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.01693, allocations: 23.98 kB / 291.9 MB, free: 13.85 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.01698, allocations: 27.94 kB / 291.9 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.01699, allocations: 4 kB / 291.9 MB, free: 13.82 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000105/0.0171, allocations: 160.7 kB / 292.1 MB, free: 13.66 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0171, allocations: 0 / 292.1 MB, free: 13.66 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002323/0.01733, allocations: 143.8 kB / 292.2 MB, free: 13.52 MB / 282.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.555e-05/0.01742, allocations: 100.4 kB / 292.3 MB, free: 13.42 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003804/0.0178, allocations: 494.2 kB / 292.8 MB, free: 12.89 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.281e-06/0.0178, allocations: 4 kB / 292.8 MB, free: 12.89 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.786e-05/0.01789, allocations: 92.77 kB / 292.9 MB, free: 12.79 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.01822, allocations: 153.7 kB / 293 MB, free: 12.64 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.01932, allocations: 0.8629 MB / 293.9 MB, free: 11.75 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.893e-05/0.01938, allocations: 113.8 kB / 294 MB, free: 11.62 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001485/0.01952, allocations: 64.34 kB / 294.1 MB, free: 11.55 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003116/0.01984, allocations: 233.2 kB / 294.3 MB, free: 11.33 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01984, allocations: 0 / 294.3 MB, free: 11.33 MB / 282.7 MB Notification: Performance of Templates: time 0.01121/0.03105, allocations: 10.15 MB / 304.4 MB, free: 1.441 MB / 282.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 -s gbode -gbm=radauIIA3 -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.7219453118741512]