Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001419/0.002567, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009135/0.0009135, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00121/0.002123, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9632/0.9632, allocations: 173.4 MB / 185.8 MB, free: 8.977 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08584/1.049, allocations: 52.49 MB / 238.3 MB, free: 4.418 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 239.5 MB, free: 3.172 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.217e-05/2.376e-05, allocations: 2.312 kB / 239.5 MB, free: 3.168 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005177/0.005201, allocations: 3.768 MB / 243.3 MB, free: 15.38 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002455/0.007656, allocations: 1.028 MB / 244.3 MB, free: 14.35 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003845/0.008041, allocations: 11.94 kB / 244.4 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003311/0.008372, allocations: 115 kB / 244.5 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005555/0.008927, allocations: 222.1 kB / 244.7 MB, free: 14 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/0.009323, allocations: 135.8 kB / 244.8 MB, free: 13.87 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009093/0.01023, allocations: 0.7312 MB / 245.5 MB, free: 13.14 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002751/0.01051, allocations: 153 kB / 245.7 MB, free: 12.98 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006825/0.01119, allocations: 489.9 kB / 246.2 MB, free: 12.5 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004252/0.01162, allocations: 227.3 kB / 246.4 MB, free: 12.28 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.01173, allocations: 56 kB / 246.5 MB, free: 12.23 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.01183, allocations: 60 kB / 246.5 MB, free: 12.17 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.057e-05/0.01192, allocations: 91.69 kB / 246.6 MB, free: 12.08 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000232/0.01215, allocations: 187.6 kB / 246.8 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005818/0.01273, allocations: 434.4 kB / 247.2 MB, free: 11.47 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-05/0.01275, allocations: 0 / 247.2 MB, free: 11.47 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.01275, allocations: 0 / 247.2 MB, free: 11.47 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.319e-05/0.01277, allocations: 0 / 247.2 MB, free: 11.47 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.001479/0.01425, allocations: 0.9294 MB / 248.1 MB, free: 10.5 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.01429, allocations: 8.031 kB / 248.1 MB, free: 10.5 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/0.01442, allocations: 76.86 kB / 248.2 MB, free: 10.42 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004555/0.01487, allocations: 291.7 kB / 248.5 MB, free: 10.11 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.01499, allocations: 110.7 kB / 248.6 MB, free: 9.984 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.449e-05/0.01506, allocations: 44.38 kB / 248.7 MB, free: 9.941 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006573/0.01571, allocations: 0.7664 MB / 249.4 MB, free: 9.027 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.01573, allocations: 192 / 249.4 MB, free: 9.027 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.454e-05/0.01576, allocations: 20.12 kB / 249.4 MB, free: 9.008 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.01577, allocations: 8 kB / 249.5 MB, free: 9 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002478/0.01602, allocations: 110.9 kB / 249.6 MB, free: 8.891 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/0.01748, allocations: 0.6967 MB / 250.3 MB, free: 8.176 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003663/0.01784, allocations: 178.3 kB / 250.4 MB, free: 7.988 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.01796, allocations: 76.52 kB / 250.5 MB, free: 7.91 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.809e-05/0.018, allocations: 15.98 kB / 250.5 MB, free: 7.895 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.01803, allocations: 38.56 kB / 250.6 MB, free: 7.848 MB / 250.7 MB Notification: Performance of pre-optimization done (n=37): time 2.094e-06/0.01803, allocations: 0 / 250.6 MB, free: 7.848 MB / 250.7 MB Notification: Performance of matching and sorting (n=37): time 0.0006298/0.01866, allocations: 270.9 kB / 250.8 MB, free: 7.57 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.0187, allocations: 59.41 kB / 250.9 MB, free: 7.5 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003192/0.01902, allocations: 363.2 kB / 251.2 MB, free: 7.133 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/0.01905, allocations: 33.7 kB / 251.3 MB, free: 7.094 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.01917, allocations: 201.5 kB / 251.5 MB, free: 6.895 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002856/0.01945, allocations: 138.8 kB / 251.6 MB, free: 6.758 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.01957, allocations: 85.58 kB / 251.7 MB, free: 6.668 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.01969, allocations: 362.7 kB / 252 MB, free: 6.305 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.01979, allocations: 61.69 kB / 252.1 MB, free: 6.238 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003124/0.02011, allocations: 0.5719 MB / 252.7 MB, free: 5.516 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.02033, allocations: 174.6 kB / 252.8 MB, free: 5.332 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.02034, allocations: 0 / 252.8 MB, free: 5.332 MB / 250.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003702/0.02071, allocations: 274.3 kB / 253.1 MB, free: 5.039 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.388e-05/0.02075, allocations: 37.73 kB / 253.1 MB, free: 4.996 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.02076, allocations: 0 / 253.1 MB, free: 4.996 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001099/0.02087, allocations: 33.7 kB / 253.2 MB, free: 4.957 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004077/0.02127, allocations: 103.9 kB / 253.3 MB, free: 4.855 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001669/0.02294, allocations: 2.418 MB / 255.7 MB, free: 2.258 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002842/0.02323, allocations: 39.77 kB / 255.7 MB, free: 2.219 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/0.02325, allocations: 12 kB / 255.7 MB, free: 2.207 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.0001479/0.0234, allocations: 141.8 kB / 255.9 MB, free: 2.059 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.005e-05/0.02348, allocations: 47.89 kB / 255.9 MB, free: 2.012 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.801e-05/0.02356, allocations: 52.62 kB / 256 MB, free: 1.961 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.02356, allocations: 4 kB / 256 MB, free: 1.957 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.02357, allocations: 3.984 kB / 256 MB, free: 1.953 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003833/0.02395, allocations: 0.533 MB / 256.5 MB, free: 1.316 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008544/0.0248, allocations: 0.5492 MB / 257.1 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.02481, allocations: 8 kB / 257.1 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004256/0.02523, allocations: 114.7 kB / 257.2 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.02538, allocations: 47.61 kB / 257.2 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.02538, allocations: 4 kB / 257.2 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.0254, allocations: 11.92 kB / 257.3 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.02541, allocations: 4 kB / 257.3 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.02541, allocations: 0 / 257.3 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004313/0.02584, allocations: 341.3 kB / 257.6 MB, free: 196 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.221e-05/0.0259, allocations: 12 kB / 257.6 MB, free: 184 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002321/0.02614, allocations: 27.97 kB / 257.6 MB, free: 156 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.293e-05/0.0262, allocations: 23.95 kB / 257.7 MB, free: 132 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.02622, allocations: 4 kB / 257.7 MB, free: 128 kB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001898/0.02641, allocations: 160.8 kB / 257.8 MB, free: 15.96 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.02641, allocations: 0 / 257.8 MB, free: 15.96 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004049/0.02681, allocations: 151.6 kB / 258 MB, free: 15.82 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 0.0001222/0.02694, allocations: 96.58 kB / 258.1 MB, free: 15.71 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007618/0.0277, allocations: 0.4945 MB / 258.6 MB, free: 15.18 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-05/0.02771, allocations: 8 kB / 258.6 MB, free: 15.17 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.02784, allocations: 92.69 kB / 258.7 MB, free: 15.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005899/0.02843, allocations: 197.8 kB / 258.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008177/0.03661, allocations: 0.8396 MB / 259.7 MB, free: 14.01 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.241e-05/0.03668, allocations: 117.8 kB / 259.8 MB, free: 13.87 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001823/0.03686, allocations: 64.34 kB / 259.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000331/0.03719, allocations: 241.2 kB / 260.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of SimCode: time 1.422e-06/0.03719, allocations: 0 / 260.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of Templates: time 0.01145/0.04864, allocations: 11.02 MB / 271.1 MB, free: 2.82 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.593725807033479]