Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.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.001873/0.001873, allocations: 103.5 kB / 20.97 MB, free: 3.453 MB / 18.57 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.001969/0.001969, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 18.57 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 1.544/1.544, allocations: 177 MB / 204.4 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.592e-05/2.736e-05, allocations: 2.312 kB / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.00755/0.007577, allocations: 4.805 MB / 277 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002963/0.01054, allocations: 1.363 MB / 278.4 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003024/0.01084, allocations: 15.88 kB / 278.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004625/0.01131, allocations: 150.7 kB / 278.5 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009352/0.01224, allocations: 353.1 kB / 278.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000536/0.01278, allocations: 231.5 kB / 279.1 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001324/0.0141, allocations: 1.069 MB / 280.2 MB, free: 9.793 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003654/0.01447, allocations: 198.4 kB / 280.3 MB, free: 9.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009192/0.01538, allocations: 0.6081 MB / 281 MB, free: 8.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005425/0.01593, allocations: 331.1 kB / 281.3 MB, free: 8.656 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001552/0.01608, allocations: 88 kB / 281.4 MB, free: 8.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.01627, allocations: 92 kB / 281.5 MB, free: 8.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002205/0.01649, allocations: 199.3 kB / 281.7 MB, free: 8.285 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006583/0.01715, allocations: 339.2 kB / 282 MB, free: 7.953 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001384/0.01853, allocations: 1.125 MB / 283.1 MB, free: 6.824 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.01853, allocations: 4 kB / 283.1 MB, free: 6.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.01853, allocations: 0 / 283.1 MB, free: 6.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.01854, allocations: 0 / 283.1 MB, free: 6.82 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.00257/0.02111, allocations: 1.31 MB / 284.4 MB, free: 5.457 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.02116, allocations: 11.98 kB / 284.4 MB, free: 5.445 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002723/0.02143, allocations: 148.3 kB / 284.6 MB, free: 5.301 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008889/0.02232, allocations: 473.2 kB / 285 MB, free: 4.809 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001992/0.02252, allocations: 152.7 kB / 285.2 MB, free: 4.637 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.02265, allocations: 68.38 kB / 285.3 MB, free: 4.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002097/0.02475, allocations: 1.635 MB / 286.9 MB, free: 2.613 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.02477, allocations: 192 / 286.9 MB, free: 2.613 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.228e-05/0.02484, allocations: 28.12 kB / 286.9 MB, free: 2.586 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.02486, allocations: 12 kB / 286.9 MB, free: 2.574 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/0.02604, allocations: 475.7 kB / 287.4 MB, free: 2.105 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004112/0.03015, allocations: 1.95 MB / 289.3 MB, free: 80 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/0.03143, allocations: 494.7 kB / 289.8 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005525/0.03199, allocations: 225.1 kB / 290 MB, free: 15.35 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.222e-05/0.03205, allocations: 16.48 kB / 290.1 MB, free: 15.33 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007459/0.03279, allocations: 315.8 kB / 290.4 MB, free: 15.01 MB / 282.7 MB Notification: Performance of pre-optimization done (n=56): time 2.555e-06/0.0328, allocations: 0 / 290.4 MB, free: 15.01 MB / 282.7 MB Notification: Performance of matching and sorting (n=56): time 0.004841/0.03764, allocations: 1.265 MB / 291.6 MB, free: 13.73 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005738/0.03821, allocations: 0.8271 MB / 292.5 MB, free: 12.71 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.03922, allocations: 0.7252 MB / 293.2 MB, free: 11.97 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.797e-05/0.0393, allocations: 41.7 kB / 293.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00043/0.03973, allocations: 431.8 kB / 293.7 MB, free: 11.49 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002305/0.03996, allocations: 207.2 kB / 293.9 MB, free: 11.29 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002605/0.04022, allocations: 140 kB / 294 MB, free: 11.14 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000406/0.04062, allocations: 0.6015 MB / 294.6 MB, free: 10.53 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005782/0.0412, allocations: 252.6 kB / 294.8 MB, free: 10.27 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001825/0.04303, allocations: 1.431 MB / 296.3 MB, free: 8.477 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.04425, allocations: 0.5762 MB / 296.8 MB, free: 7.844 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.04425, allocations: 0 / 296.8 MB, free: 7.844 MB / 282.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002357/0.04661, allocations: 0.9365 MB / 297.8 MB, free: 6.867 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.555e-05/0.04667, allocations: 59.41 kB / 297.8 MB, free: 6.797 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.04668, allocations: 3.984 kB / 297.8 MB, free: 6.793 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007726/0.04746, allocations: 227.1 kB / 298.1 MB, free: 6.562 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006068/0.04806, allocations: 111.8 kB / 298.2 MB, free: 6.453 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00822/0.05628, allocations: 5.429 MB / 303.6 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007936/0.05708, allocations: 71.66 kB / 303.7 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.585e-05/0.05713, allocations: 24.06 kB / 303.7 MB, free: 0.6914 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (oneWayValve.backward,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * 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 {(9,3), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004268/0.05756, allocations: 264.4 kB / 304 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.05773, allocations: 95.58 kB / 304 MB, free: 336 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001737/0.05791, allocations: 78.55 kB / 304.1 MB, free: 252 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.05791, allocations: 4 kB / 304.1 MB, free: 248 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.05792, allocations: 4 kB / 304.1 MB, free: 244 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.116/0.1739, allocations: 1.001 MB / 305.1 MB, free: 41.79 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002802/0.1767, allocations: 1.466 MB / 306.6 MB, free: 41.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.1767, allocations: 2.781 kB / 306.6 MB, free: 41.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005682/0.1773, allocations: 97.83 kB / 306.7 MB, free: 41.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005262/0.1778, allocations: 173.5 kB / 306.9 MB, free: 41.38 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.438e-05/0.1778, allocations: 13.67 kB / 306.9 MB, free: 41.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004299/0.1821, allocations: 4.771 MB / 311.7 MB, free: 37.44 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1821, allocations: 4.594 kB / 311.7 MB, free: 37.44 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002113/0.1842, allocations: 1.043 MB / 312.7 MB, free: 36.98 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003532/0.1846, allocations: 141.3 kB / 312.8 MB, free: 36.9 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.1847, allocations: 18.17 kB / 312.9 MB, free: 36.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006137/0.1854, allocations: 39.16 kB / 312.9 MB, free: 36.88 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/0.1855, allocations: 59.25 kB / 313 MB, free: 36.87 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.925e-05/0.1856, allocations: 16.33 kB / 313 MB, free: 36.87 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006161/0.1862, allocations: 474.1 kB / 313.4 MB, free: 36.63 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1862, allocations: 0 / 313.4 MB, free: 36.63 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008658/0.187, allocations: 257.6 kB / 313.7 MB, free: 36.59 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (speed.phi) * Number of discrete variables: 4 ($whenCondition1,trapezoid.T_start,trapezoid.count,oneWayValve.backward) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(2,3), (1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001668/0.1872, allocations: 114.2 kB / 313.8 MB, free: 36.5 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001852/0.1891, allocations: 1.176 MB / 315 MB, free: 35.74 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.1891, allocations: 4.812 kB / 315 MB, free: 35.74 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008778/0.1899, allocations: 0.6546 MB / 315.6 MB, free: 35.28 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.191, allocations: 214.2 kB / 315.8 MB, free: 35.23 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.1935, allocations: 1.268 MB / 317.1 MB, free: 34.56 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.1938, allocations: 317.4 kB / 317.4 MB, free: 34.46 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003945/0.1942, allocations: 81.69 kB / 317.5 MB, free: 34.45 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.1943, allocations: 56.52 kB / 317.6 MB, free: 34.43 MB / 282.7 MB Notification: Performance of SimCode: time 1.503e-06/0.1943, allocations: 0 / 317.6 MB, free: 34.43 MB / 282.7 MB Notification: Performance of Templates: time 0.02305/0.2174, allocations: 16.92 MB / 334.5 MB, free: 21.19 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.20165688090492]