Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007491/0.0007491, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00107/0.001819, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0006992/0.0006992, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008881/0.001587, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9291/0.9291, allocations: 177.5 MB / 190 MB, free: 4.777 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07743/1.007, allocations: 53.88 MB / 243.9 MB, free: 14.82 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 0 / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.508e-06/1.054e-05, allocations: 2.312 kB / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003863/0.003874, allocations: 3.804 MB / 249 MB, free: 9.734 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.00529, allocations: 1.055 MB / 250.1 MB, free: 8.672 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.005443, allocations: 7.938 kB / 250.1 MB, free: 8.664 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002079/0.005651, allocations: 115 kB / 250.2 MB, free: 8.551 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003088/0.00596, allocations: 218.1 kB / 250.4 MB, free: 8.336 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.006177, allocations: 139.7 kB / 250.5 MB, free: 8.199 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005989/0.006776, allocations: 0.7351 MB / 251.3 MB, free: 7.461 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001987/0.006975, allocations: 141.1 kB / 251.4 MB, free: 7.32 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004631/0.007438, allocations: 497.8 kB / 251.9 MB, free: 6.836 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000254/0.007692, allocations: 223.4 kB / 252.1 MB, free: 6.617 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.294e-05/0.007765, allocations: 56 kB / 252.2 MB, free: 6.562 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.616e-05/0.007851, allocations: 60 kB / 252.2 MB, free: 6.504 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.642e-05/0.007927, allocations: 103.6 kB / 252.3 MB, free: 6.402 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.008093, allocations: 183.7 kB / 252.5 MB, free: 6.223 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000412/0.008505, allocations: 426.4 kB / 252.9 MB, free: 5.805 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.778e-06/0.008515, allocations: 8 kB / 252.9 MB, free: 5.797 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.6e-07/0.008515, allocations: 0 / 252.9 MB, free: 5.797 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.008524, allocations: 0 / 252.9 MB, free: 5.797 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.001234/0.009758, allocations: 0.9332 MB / 253.9 MB, free: 4.828 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.787e-05/0.009786, allocations: 12.61 kB / 253.9 MB, free: 4.816 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.994e-05/0.009886, allocations: 72.88 kB / 253.9 MB, free: 4.746 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/0.01022, allocations: 283.7 kB / 254.2 MB, free: 4.445 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.455e-05/0.01031, allocations: 114.7 kB / 254.3 MB, free: 4.312 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.502e-05/0.01036, allocations: 40.38 kB / 254.4 MB, free: 4.273 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000527/0.01089, allocations: 0.7625 MB / 255.1 MB, free: 3.359 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.0109, allocations: 192 / 255.1 MB, free: 3.359 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.098e-05/0.01093, allocations: 24.12 kB / 255.2 MB, free: 3.336 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-06/0.01094, allocations: 8 kB / 255.2 MB, free: 3.328 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/0.01113, allocations: 110.9 kB / 255.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.01223, allocations: 0.7083 MB / 256 MB, free: 2.484 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/0.01252, allocations: 178.7 kB / 256.2 MB, free: 2.297 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.91e-05/0.01262, allocations: 84.5 kB / 256.2 MB, free: 2.211 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.01265, allocations: 8 kB / 256.2 MB, free: 2.203 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.01267, allocations: 38.56 kB / 256.3 MB, free: 2.156 MB / 250.7 MB Notification: Performance of pre-optimization done (n=37): time 1.403e-06/0.01267, allocations: 0 / 256.3 MB, free: 2.156 MB / 250.7 MB Notification: Performance of matching and sorting (n=37): time 0.0004967/0.01317, allocations: 272.5 kB / 256.5 MB, free: 1.879 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.01319, allocations: 55.41 kB / 256.6 MB, free: 1.812 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.01346, allocations: 363.3 kB / 257 MB, free: 1.445 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.01349, allocations: 37.7 kB / 257 MB, free: 1.402 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.863e-05/0.01358, allocations: 201.4 kB / 257.2 MB, free: 1.203 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.886e-05/0.01366, allocations: 138.8 kB / 257.3 MB, free: 1.066 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.951e-05/0.01376, allocations: 73.66 kB / 257.4 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.97e-05/0.01386, allocations: 358.7 kB / 257.7 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.344e-05/0.01395, allocations: 65.67 kB / 257.8 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002733/0.01422, allocations: 0.5757 MB / 258.4 MB, free: 15.83 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.01442, allocations: 168.6 kB / 258.5 MB, free: 15.65 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01442, allocations: 3.938 kB / 258.6 MB, free: 15.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003043/0.01473, allocations: 278.1 kB / 258.8 MB, free: 15.35 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/0.01476, allocations: 29.7 kB / 258.9 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.01476, allocations: 4 kB / 258.9 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.208e-05/0.01485, allocations: 37.62 kB / 258.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003237/0.01518, allocations: 107.9 kB / 259 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001538/0.01672, allocations: 2.401 MB / 261.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.01692, allocations: 47.75 kB / 261.4 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.01694, allocations: 8 kB / 261.5 MB, free: 12.54 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.0001099/0.01705, allocations: 129.8 kB / 261.6 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.842e-05/0.01712, allocations: 59.83 kB / 261.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.968e-05/0.01718, allocations: 48.61 kB / 261.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.01718, allocations: 8 kB / 261.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.01719, allocations: 4 kB / 261.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003111/0.0175, allocations: 0.5436 MB / 262.2 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006504/0.01815, allocations: 0.5374 MB / 262.8 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.01815, allocations: 0 / 262.8 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003283/0.01848, allocations: 116.5 kB / 262.9 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.01858, allocations: 51.64 kB / 262.9 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.01859, allocations: 0 / 262.9 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.0186, allocations: 8 kB / 263 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.0186, allocations: 0 / 263 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01861, allocations: 0 / 263 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003483/0.01895, allocations: 365 kB / 263.3 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.445e-05/0.019, allocations: 15.94 kB / 263.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.0192, allocations: 15.98 kB / 263.3 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.01925, allocations: 27.98 kB / 263.4 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.01926, allocations: 11.98 kB / 263.4 MB, free: 10.45 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001413/0.0194, allocations: 164.7 kB / 263.5 MB, free: 10.29 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.0194, allocations: 0 / 263.5 MB, free: 10.29 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003298/0.01973, allocations: 143.8 kB / 263.7 MB, free: 10.14 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.169e-05/0.01982, allocations: 84.36 kB / 263.8 MB, free: 10.05 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004554/0.02027, allocations: 0.4981 MB / 264.3 MB, free: 9.508 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.449e-05/0.02028, allocations: 11.98 kB / 264.3 MB, free: 9.496 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.02043, allocations: 108.8 kB / 264.4 MB, free: 9.387 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008667/0.0213, allocations: 1.41 MB / 265.8 MB, free: 7.699 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007858/0.02916, allocations: 0.8399 MB / 266.6 MB, free: 6.824 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.546e-05/0.02923, allocations: 117.9 kB / 266.7 MB, free: 6.688 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000186/0.02942, allocations: 64.34 kB / 266.8 MB, free: 6.625 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004047/0.02982, allocations: 241.2 kB / 267 MB, free: 6.391 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02982, allocations: 0 / 267 MB, free: 6.391 MB / 266.7 MB Notification: Performance of Templates: time 0.01122/0.04105, allocations: 11.34 MB / 278.4 MB, free: 11.29 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.531088247895241]