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.001021/0.001021, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001006/0.002027, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007143/0.0007143, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008968/0.001611, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9994/0.9994, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07539/1.075, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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.703e-06/1.703e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.48e-05/1.65e-05, allocations: 5.125 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003248/0.003264, allocations: 3.793 MB / 248.3 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.004815, allocations: 1.047 MB / 249.4 MB, free: 9.449 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002077/0.005023, allocations: 11.94 kB / 249.4 MB, free: 9.438 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002144/0.005237, allocations: 119 kB / 249.5 MB, free: 9.32 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002991/0.005536, allocations: 214.2 kB / 249.7 MB, free: 9.109 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.005766, allocations: 139.7 kB / 249.8 MB, free: 8.973 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006007/0.006366, allocations: 0.7312 MB / 250.6 MB, free: 8.238 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003699/0.006736, allocations: 153.1 kB / 250.7 MB, free: 8.086 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006681/0.007404, allocations: 493.8 kB / 251.2 MB, free: 7.605 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003228/0.007727, allocations: 223.4 kB / 251.4 MB, free: 7.387 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.208e-05/0.007799, allocations: 56 kB / 251.5 MB, free: 7.332 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.373e-05/0.007883, allocations: 60 kB / 251.5 MB, free: 7.273 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.61e-05/0.007949, allocations: 95.69 kB / 251.6 MB, free: 7.18 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000153/0.008102, allocations: 183.6 kB / 251.8 MB, free: 7 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004055/0.008507, allocations: 430.4 kB / 252.2 MB, free: 6.578 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.59e-05/0.008523, allocations: 0 / 252.2 MB, free: 6.578 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.008525, allocations: 4 kB / 252.2 MB, free: 6.574 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.682e-05/0.008541, allocations: 0 / 252.2 MB, free: 6.574 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.0009949/0.009536, allocations: 0.9332 MB / 253.2 MB, free: 5.605 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.889e-05/0.009565, allocations: 8.031 kB / 253.2 MB, free: 5.598 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.014e-05/0.009655, allocations: 80.86 kB / 253.2 MB, free: 5.52 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003169/0.009972, allocations: 287.7 kB / 253.5 MB, free: 5.215 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.344e-05/0.01006, allocations: 110.7 kB / 253.6 MB, free: 5.086 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.105e-05/0.0101, allocations: 48.25 kB / 253.7 MB, free: 5.039 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004564/0.01055, allocations: 0.7625 MB / 254.4 MB, free: 4.125 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.01057, allocations: 192 / 254.4 MB, free: 4.125 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.01059, allocations: 20.12 kB / 254.5 MB, free: 4.105 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.0106, allocations: 8 kB / 254.5 MB, free: 4.098 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/0.01076, allocations: 118.9 kB / 254.6 MB, free: 3.984 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009633/0.01172, allocations: 0.6928 MB / 255.3 MB, free: 3.27 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.01197, allocations: 166.7 kB / 255.4 MB, free: 3.094 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.517e-05/0.01204, allocations: 84.52 kB / 255.5 MB, free: 3.008 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.01207, allocations: 7.938 kB / 255.5 MB, free: 3 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.01209, allocations: 42.55 kB / 255.6 MB, free: 2.949 MB / 250.7 MB Notification: Performance of pre-optimization done (n=37): time 1.473e-06/0.0121, allocations: 4 kB / 255.6 MB, free: 2.945 MB / 250.7 MB Notification: Performance of matching and sorting (n=37): time 0.0004355/0.01253, allocations: 263.9 kB / 255.8 MB, free: 2.676 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/0.01256, allocations: 59.41 kB / 255.9 MB, free: 2.605 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.01277, allocations: 363.2 kB / 256.3 MB, free: 2.234 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.01279, allocations: 33.7 kB / 256.3 MB, free: 2.195 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.734e-05/0.01288, allocations: 209.4 kB / 256.5 MB, free: 1.988 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.308e-05/0.01294, allocations: 134.8 kB / 256.6 MB, free: 1.855 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.067e-05/0.01302, allocations: 77.66 kB / 256.7 MB, free: 1.773 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.052e-05/0.01311, allocations: 362.7 kB / 257.1 MB, free: 1.41 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.29e-05/0.01319, allocations: 61.69 kB / 257.1 MB, free: 1.344 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003984/0.01358, allocations: 0.5757 MB / 257.7 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.01374, allocations: 171 kB / 257.9 MB, free: 448 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.01374, allocations: 0 / 257.9 MB, free: 448 kB / 250.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002456/0.01399, allocations: 282.2 kB / 258.1 MB, free: 140 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.01402, allocations: 33.7 kB / 258.2 MB, free: 100 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.01402, allocations: 0 / 258.2 MB, free: 100 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.175e-05/0.01411, allocations: 33.7 kB / 258.2 MB, free: 60 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002917/0.0144, allocations: 108 kB / 258.3 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001129/0.01553, allocations: 2.407 MB / 260.7 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.01569, allocations: 43.77 kB / 260.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.01571, allocations: 8.062 kB / 260.8 MB, free: 13.32 MB / 266.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.964e-05/0.01581, allocations: 141.8 kB / 260.9 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.848e-05/0.01586, allocations: 47.89 kB / 260.9 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.154e-05/0.01591, allocations: 52.62 kB / 261 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.01591, allocations: 4 kB / 261 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.01591, allocations: 3.828 kB / 261 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002695/0.01618, allocations: 0.5358 MB / 261.5 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005415/0.01672, allocations: 0.5569 MB / 262.1 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01673, allocations: 0 / 262.1 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002677/0.01699, allocations: 111.9 kB / 262.2 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.849e-05/0.01708, allocations: 51.83 kB / 262.3 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.01708, allocations: 0 / 262.3 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.0171, allocations: 11.97 kB / 262.3 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.01711, allocations: 4 kB / 262.3 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.01711, allocations: 3.984 kB / 262.3 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.01739, allocations: 353.3 kB / 262.6 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.522e-05/0.01742, allocations: 8 kB / 262.6 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.01757, allocations: 27.97 kB / 262.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.01761, allocations: 23.95 kB / 262.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.01762, allocations: 4 kB / 262.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001068/0.01773, allocations: 160.7 kB / 262.8 MB, free: 11.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01773, allocations: 0 / 262.8 MB, free: 11.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002562/0.01798, allocations: 147.8 kB / 263 MB, free: 10.93 MB / 266.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 9.905e-05/0.01808, allocations: 100.4 kB / 263.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003982/0.01848, allocations: 494.1 kB / 263.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/0.0185, allocations: 8 kB / 263.6 MB, free: 10.28 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.782e-05/0.01858, allocations: 85.02 kB / 263.7 MB, free: 10.2 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.01894, allocations: 202.5 kB / 263.9 MB, free: 10 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006056/0.025, allocations: 0.8597 MB / 264.7 MB, free: 9.105 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.021e-05/0.02507, allocations: 117.8 kB / 264.8 MB, free: 8.969 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001725/0.02524, allocations: 60.36 kB / 264.9 MB, free: 8.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003297/0.02557, allocations: 233.2 kB / 265.1 MB, free: 8.68 MB / 266.7 MB Notification: Performance of SimCode: time 7.72e-07/0.02557, allocations: 0 / 265.1 MB, free: 8.68 MB / 266.7 MB Notification: Performance of Templates: time 0.01306/0.03863, allocations: 11.02 MB / 276.1 MB, free: 13.92 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 -ignoreHideResult -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.659065349958837]