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.001347/0.001347, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001578/0.001578, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9597/0.9597, allocations: 177.1 MB / 205 MB, free: 5.594 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.773e-06/1.773e-06, allocations: 0 / 273 MB, free: 1.531 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.771e-05/2.949e-05, allocations: 6.312 kB / 273 MB, free: 1.523 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005457/0.005486, allocations: 3.778 MB / 276.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001969/0.007456, allocations: 1.008 MB / 277.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000277/0.007733, allocations: 11.94 kB / 277.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003601/0.008093, allocations: 115 kB / 277.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004817/0.008575, allocations: 214.1 kB / 278.1 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003327/0.008907, allocations: 143.7 kB / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008109/0.009718, allocations: 0.7347 MB / 279 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002763/0.009994, allocations: 135.2 kB / 279.1 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004933/0.01049, allocations: 407.1 kB / 279.5 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00034/0.01083, allocations: 227.4 kB / 279.7 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.665e-05/0.01092, allocations: 63.94 kB / 279.8 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.01103, allocations: 60 kB / 279.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.01114, allocations: 135.5 kB / 280 MB, free: 10.49 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002527/0.01139, allocations: 231.5 kB / 280.2 MB, free: 10.26 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006072/0.012, allocations: 482.2 kB / 280.7 MB, free: 9.789 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.012, allocations: 0 / 280.7 MB, free: 9.789 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.012, allocations: 0 / 280.7 MB, free: 9.789 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.01201, allocations: 0 / 280.7 MB, free: 9.789 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.001417/0.01343, allocations: 0.9451 MB / 281.6 MB, free: 8.801 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.01347, allocations: 8.031 kB / 281.6 MB, free: 8.793 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.01364, allocations: 100.5 kB / 281.7 MB, free: 8.695 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006296/0.01427, allocations: 367.4 kB / 282.1 MB, free: 8.309 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.01439, allocations: 110.7 kB / 282.2 MB, free: 8.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.982e-05/0.01447, allocations: 44.38 kB / 282.2 MB, free: 8.137 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.01547, allocations: 0.8254 MB / 283 MB, free: 7.148 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.01549, allocations: 192 / 283 MB, free: 7.148 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.295e-05/0.01554, allocations: 24.12 kB / 283.1 MB, free: 7.125 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.01555, allocations: 8 kB / 283.1 MB, free: 7.117 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004215/0.01597, allocations: 161.9 kB / 283.2 MB, free: 6.957 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001823/0.01779, allocations: 1.004 MB / 284.2 MB, free: 5.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005358/0.01833, allocations: 227.1 kB / 284.5 MB, free: 5.676 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002074/0.01854, allocations: 95.47 kB / 284.6 MB, free: 5.578 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.585e-05/0.01858, allocations: 12 kB / 284.6 MB, free: 5.566 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.01862, allocations: 41.39 kB / 284.6 MB, free: 5.516 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 2.154e-06/0.01862, allocations: 0 / 284.6 MB, free: 5.516 MB / 266.7 MB Notification: Performance of matching and sorting (n=37): time 0.0009418/0.01956, allocations: 385.5 kB / 285 MB, free: 5.125 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001663/0.01973, allocations: 448.9 kB / 285.4 MB, free: 4.582 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004927/0.02022, allocations: 454.7 kB / 285.9 MB, free: 4.125 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.635e-05/0.02026, allocations: 41.64 kB / 285.9 MB, free: 4.078 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002211/0.02048, allocations: 315.2 kB / 286.2 MB, free: 3.762 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.961e-05/0.02058, allocations: 126.9 kB / 286.3 MB, free: 3.637 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.02071, allocations: 83.34 kB / 286.4 MB, free: 3.547 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.02089, allocations: 0.5352 MB / 287 MB, free: 3 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.02108, allocations: 85.66 kB / 287 MB, free: 2.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004283/0.02151, allocations: 0.6345 MB / 287.7 MB, free: 2.105 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003663/0.02188, allocations: 204.8 kB / 287.9 MB, free: 1.891 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.02188, allocations: 0 / 287.9 MB, free: 1.891 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006263/0.02251, allocations: 379.6 kB / 288.2 MB, free: 1.492 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.635e-05/0.02254, allocations: 33.69 kB / 288.3 MB, free: 1.453 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.02255, allocations: 3.984 kB / 288.3 MB, free: 1.449 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001676/0.02272, allocations: 43.36 kB / 288.3 MB, free: 1.398 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003294/0.02305, allocations: 79.89 kB / 288.4 MB, free: 1.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002364/0.02541, allocations: 3.589 MB / 292 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/0.0256, allocations: 35.83 kB / 292 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.02562, allocations: 19.98 kB / 292 MB, free: 13.43 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 0.0001352/0.02576, allocations: 180.5 kB / 292.2 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.088e-05/0.02583, allocations: 67.72 kB / 292.3 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.679e-05/0.02589, allocations: 48.62 kB / 292.3 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.02589, allocations: 4 kB / 292.3 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.0259, allocations: 0 / 292.3 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003858/0.02628, allocations: 0.6097 MB / 292.9 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007733/0.02705, allocations: 0.7899 MB / 293.7 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.02706, allocations: 0 / 293.7 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/0.02729, allocations: 87.88 kB / 293.8 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.02729, allocations: 8 kB / 293.8 MB, free: 11.47 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.02731, allocations: 4 kB / 293.8 MB, free: 11.47 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.02731, allocations: 4 kB / 293.8 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.02731, allocations: 4.188 kB / 293.8 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004528/0.02776, allocations: 493.3 kB / 294.3 MB, free: 10.96 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.02788, allocations: 91.53 kB / 294.4 MB, free: 10.87 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/0.02791, allocations: 12 kB / 294.4 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.02807, allocations: 19.98 kB / 294.4 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.625e-05/0.02813, allocations: 31.88 kB / 294.5 MB, free: 10.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.02814, allocations: 12 kB / 294.5 MB, free: 10.79 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002042/0.02834, allocations: 303 kB / 294.8 MB, free: 10.5 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02834, allocations: 0 / 294.8 MB, free: 10.5 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002917/0.02864, allocations: 155.8 kB / 294.9 MB, free: 10.35 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 0.0001/0.02874, allocations: 115.2 kB / 295.1 MB, free: 10.22 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005803/0.02932, allocations: 0.6361 MB / 295.7 MB, free: 9.531 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.02932, allocations: 0 / 295.7 MB, free: 9.531 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.02945, allocations: 115.8 kB / 295.8 MB, free: 9.414 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.02988, allocations: 141.8 kB / 295.9 MB, free: 9.277 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.03123, allocations: 0.8702 MB / 296.8 MB, free: 8.375 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.077e-05/0.0313, allocations: 121.8 kB / 296.9 MB, free: 8.234 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004426/0.03175, allocations: 56.25 kB / 297 MB, free: 8.176 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.037e-05/0.03184, allocations: 40.5 kB / 297 MB, free: 8.137 MB / 282.7 MB Notification: Performance of SimCode: time 6.82e-07/0.03184, allocations: 0 / 297 MB, free: 8.137 MB / 282.7 MB Notification: Performance of Templates: time 0.1046/0.1364, allocations: 9.398 MB / 306.4 MB, free: 39.91 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 -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: 3.0922649106942117]