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.0009091/0.0009091, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001555/0.001555, allocations: 147.6 kB / 24.9 MB, free: 8.727 MB / 18.57 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.9507/0.9507, allocations: 173.4 MB / 201.5 MB, free: 8.73 MB / 186.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.172e-06/1.172e-06, allocations: 0 / 268.5 MB, free: 5.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.006e-05, allocations: 2.312 kB / 268.5 MB, free: 5.977 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003912/0.003932, allocations: 3.762 MB / 272.3 MB, free: 2.191 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.005545, allocations: 1.016 MB / 273.3 MB, free: 1.168 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002034/0.005748, allocations: 11.94 kB / 273.3 MB, free: 1.156 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002757/0.006024, allocations: 111 kB / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003243/0.006348, allocations: 222 kB / 273.6 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002451/0.006593, allocations: 139.8 kB / 273.8 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005964/0.007189, allocations: 0.7309 MB / 274.5 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002147/0.007404, allocations: 153.1 kB / 274.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003751/0.007779, allocations: 407.1 kB / 275 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000237/0.008016, allocations: 227.4 kB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.374e-05/0.00808, allocations: 60 kB / 275.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.106e-05/0.008141, allocations: 56 kB / 275.4 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.04e-05/0.008211, allocations: 135.5 kB / 275.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001614/0.008373, allocations: 223.5 kB / 275.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006557/0.009029, allocations: 474.3 kB / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.009032, allocations: 3.938 kB / 276.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.009034, allocations: 4 kB / 276.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.009042, allocations: 0 / 276.2 MB, free: 14.24 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.0008451/0.009887, allocations: 0.8047 MB / 277 MB, free: 13.4 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.009918, allocations: 8.922 kB / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.198e-05/0.01001, allocations: 76.86 kB / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00033/0.01034, allocations: 295.7 kB / 277.4 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.909e-05/0.01042, allocations: 106.7 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.376e-05/0.01046, allocations: 44.38 kB / 277.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004692/0.01093, allocations: 0.7664 MB / 278.3 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.01094, allocations: 4.125 kB / 278.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.01097, allocations: 20.12 kB / 278.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.01098, allocations: 8 kB / 278.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.01114, allocations: 114.9 kB / 278.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00097/0.01211, allocations: 0.6889 MB / 279.1 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/0.01237, allocations: 182.4 kB / 279.3 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.726e-05/0.01244, allocations: 72.75 kB / 279.4 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.01247, allocations: 8 kB / 279.4 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.0125, allocations: 46.56 kB / 279.4 MB, free: 10.74 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 1.493e-06/0.0125, allocations: 0 / 279.4 MB, free: 10.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=37): time 0.0004395/0.01294, allocations: 266.9 kB / 279.7 MB, free: 10.47 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/0.01307, allocations: 441 kB / 280.1 MB, free: 9.934 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.0133, allocations: 367.3 kB / 280.5 MB, free: 9.562 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.01333, allocations: 37.7 kB / 280.5 MB, free: 9.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.672e-05/0.01342, allocations: 197.4 kB / 280.7 MB, free: 9.324 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.441e-05/0.01348, allocations: 134.8 kB / 280.8 MB, free: 9.191 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-05/0.01357, allocations: 81.61 kB / 280.9 MB, free: 9.105 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.395e-05/0.01366, allocations: 362.7 kB / 281.3 MB, free: 8.742 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.27e-05/0.01373, allocations: 65.69 kB / 281.3 MB, free: 8.672 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.01397, allocations: 0.5719 MB / 281.9 MB, free: 7.949 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.01415, allocations: 170.6 kB / 282.1 MB, free: 7.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.01415, allocations: 0 / 282.1 MB, free: 7.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002643/0.01441, allocations: 282.1 kB / 282.3 MB, free: 7.469 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.01444, allocations: 32.67 kB / 282.4 MB, free: 7.434 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.01444, allocations: 0 / 282.4 MB, free: 7.434 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.385e-05/0.01453, allocations: 41.72 kB / 282.4 MB, free: 7.387 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/0.0148, allocations: 103.4 kB / 282.5 MB, free: 7.289 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.01607, allocations: 2.407 MB / 284.9 MB, free: 4.707 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.01625, allocations: 43.81 kB / 285 MB, free: 4.664 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.01626, allocations: 4 kB / 285 MB, free: 4.66 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 0.0001065/0.01637, allocations: 137.8 kB / 285.1 MB, free: 4.516 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.284e-05/0.01642, allocations: 51.89 kB / 285.1 MB, free: 4.465 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.966e-05/0.01647, allocations: 52.61 kB / 285.2 MB, free: 4.414 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.01647, allocations: 4 kB / 285.2 MB, free: 4.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.01648, allocations: 4 kB / 285.2 MB, free: 4.406 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002698/0.01675, allocations: 0.5445 MB / 285.8 MB, free: 3.758 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005655/0.01731, allocations: 0.5452 MB / 286.3 MB, free: 3.176 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01732, allocations: 3.938 kB / 286.3 MB, free: 3.172 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002654/0.01758, allocations: 107.9 kB / 286.4 MB, free: 3.066 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.01758, allocations: 0 / 286.4 MB, free: 3.066 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.0176, allocations: 4 kB / 286.4 MB, free: 3.062 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.0176, allocations: 7.938 kB / 286.4 MB, free: 3.055 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.0176, allocations: 0 / 286.4 MB, free: 3.055 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/0.01789, allocations: 345.4 kB / 286.8 MB, free: 2.695 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.741e-05/0.01798, allocations: 47.66 kB / 286.8 MB, free: 2.648 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.497e-05/0.01802, allocations: 20.02 kB / 286.8 MB, free: 2.629 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.01816, allocations: 19.98 kB / 286.8 MB, free: 2.609 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/0.01821, allocations: 23.95 kB / 286.9 MB, free: 2.586 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.01822, allocations: 8 kB / 286.9 MB, free: 2.578 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001148/0.01834, allocations: 164.7 kB / 287 MB, free: 2.414 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01834, allocations: 0 / 287 MB, free: 2.414 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002664/0.0186, allocations: 147.8 kB / 287.2 MB, free: 2.27 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 8.885e-05/0.01869, allocations: 84.36 kB / 287.3 MB, free: 2.176 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004135/0.0191, allocations: 0.4981 MB / 287.8 MB, free: 1.633 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/0.01911, allocations: 4 kB / 287.8 MB, free: 1.629 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.333e-05/0.01921, allocations: 80.7 kB / 287.8 MB, free: 1.547 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.01954, allocations: 153.9 kB / 288 MB, free: 1.398 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.02074, allocations: 0.8669 MB / 288.9 MB, free: 0.5 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.257e-05/0.02081, allocations: 113.8 kB / 289 MB, free: 376 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001616/0.02097, allocations: 60.36 kB / 289 MB, free: 312 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003553/0.02133, allocations: 237.2 kB / 289.3 MB, free: 76 kB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02133, allocations: 0 / 289.3 MB, free: 76 kB / 266.7 MB Notification: Performance of Templates: time 0.1141/0.1354, allocations: 10.14 MB / 299.4 MB, free: 26.6 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 -s gbode -gbm=radauIIA3 -emit_protected -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.8726441874168813]