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.001347/0.001347, allocations: 79.69 kB / 21.7 MB, free: 2.844 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.0009452/0.0009452, allocations: 157.9 kB / 24.99 MB, free: 8.25 MB / 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 0.9694/0.9694, allocations: 177 MB / 205.2 MB, free: 5.57 MB / 186.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.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.243e-06/1.243e-06, allocations: 0 / 273 MB, free: 1.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.392e-05/1.516e-05, allocations: 2.312 kB / 273 MB, free: 1.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.004014/0.004029, allocations: 4.843 MB / 277.8 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.005962, allocations: 1.363 MB / 279.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002274/0.006189, allocations: 15.88 kB / 279.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003483/0.006537, allocations: 150.7 kB / 279.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004899/0.007027, allocations: 365.1 kB / 279.7 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.007355, allocations: 219.5 kB / 279.9 MB, free: 10.76 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007287/0.008084, allocations: 1.061 MB / 281 MB, free: 9.695 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002498/0.008334, allocations: 202.3 kB / 281.2 MB, free: 9.488 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005455/0.008879, allocations: 0.612 MB / 281.8 MB, free: 8.875 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003016/0.009181, allocations: 327.1 kB / 282.1 MB, free: 8.555 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.659e-05/0.009267, allocations: 88 kB / 282.2 MB, free: 8.469 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.015e-05/0.009357, allocations: 96 kB / 282.3 MB, free: 8.375 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.009468, allocations: 199.3 kB / 282.5 MB, free: 8.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002381/0.009706, allocations: 339.3 kB / 282.8 MB, free: 7.848 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005478/0.01025, allocations: 0.7123 MB / 283.5 MB, free: 7.133 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.01026, allocations: 4 kB / 283.5 MB, free: 7.129 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01026, allocations: 0 / 283.5 MB, free: 7.129 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.01027, allocations: 0 / 283.5 MB, free: 7.129 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.001302/0.01157, allocations: 1.26 MB / 284.8 MB, free: 5.816 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.0116, allocations: 11.98 kB / 284.8 MB, free: 5.805 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001594/0.01176, allocations: 148.4 kB / 284.9 MB, free: 5.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004934/0.01225, allocations: 461 kB / 285.4 MB, free: 5.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.01237, allocations: 156.7 kB / 285.5 MB, free: 5.004 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.87e-05/0.01243, allocations: 64.38 kB / 285.6 MB, free: 4.941 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009317/0.01337, allocations: 1.491 MB / 287.1 MB, free: 3.125 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.01338, allocations: 192 / 287.1 MB, free: 3.125 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.404e-05/0.01343, allocations: 32.12 kB / 287.1 MB, free: 3.094 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.01344, allocations: 16 kB / 287.2 MB, free: 3.078 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004184/0.01386, allocations: 257.8 kB / 287.4 MB, free: 2.824 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00192/0.01578, allocations: 1.704 MB / 289.1 MB, free: 1.035 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004754/0.01625, allocations: 318.7 kB / 289.4 MB, free: 0.707 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.01643, allocations: 133.1 kB / 289.5 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.01647, allocations: 12.44 kB / 289.6 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002768/0.01674, allocations: 223.9 kB / 289.8 MB, free: 336 kB / 266.7 MB Notification: Performance of pre-optimization done (n=56): time 1.743e-06/0.01674, allocations: 0 / 289.8 MB, free: 336 kB / 266.7 MB Notification: Performance of matching and sorting (n=56): time 0.002189/0.01893, allocations: 0.9912 MB / 290.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000216/0.01915, allocations: 0.8232 MB / 291.6 MB, free: 14.3 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004343/0.01958, allocations: 0.5806 MB / 292.2 MB, free: 13.71 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.994e-05/0.01962, allocations: 45.7 kB / 292.2 MB, free: 13.66 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.01982, allocations: 399.8 kB / 292.6 MB, free: 13.26 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.01992, allocations: 195.4 kB / 292.8 MB, free: 13.07 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.02005, allocations: 135.9 kB / 292.9 MB, free: 12.93 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003708/0.02042, allocations: 0.5547 MB / 293.5 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.02062, allocations: 160.6 kB / 293.6 MB, free: 12.19 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005545/0.02117, allocations: 1.299 MB / 294.9 MB, free: 10.52 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003989/0.02157, allocations: 402.1 kB / 295.3 MB, free: 10.08 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.02158, allocations: 0 / 295.3 MB, free: 10.08 MB / 282.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008976/0.02247, allocations: 0.7177 MB / 296.1 MB, free: 9.32 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.02251, allocations: 59.41 kB / 296.1 MB, free: 9.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.02251, allocations: 192 / 296.1 MB, free: 9.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000335/0.02285, allocations: 179 kB / 296.3 MB, free: 9.066 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/0.02313, allocations: 103.9 kB / 296.4 MB, free: 8.965 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003433/0.02656, allocations: 4.725 MB / 301.1 MB, free: 4.004 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003122/0.02688, allocations: 79.58 kB / 301.2 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/0.0269, allocations: 20.08 kB / 301.2 MB, free: 3.906 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.0001736/0.02708, allocations: 212.4 kB / 301.4 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.823e-05/0.02717, allocations: 95.58 kB / 301.5 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.26e-05/0.02724, allocations: 78.55 kB / 301.6 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.02724, allocations: 4 kB / 301.6 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.02724, allocations: 0 / 301.6 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007868/0.02803, allocations: 0.828 MB / 302.4 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.02923, allocations: 1.169 MB / 303.6 MB, free: 1.336 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.02923, allocations: 0 / 303.6 MB, free: 1.336 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002734/0.0295, allocations: 99.88 kB / 303.7 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002194/0.02972, allocations: 127.2 kB / 303.8 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.02975, allocations: 15.98 kB / 303.8 MB, free: 1.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1036/0.1334, allocations: 4.293 MB / 308.1 MB, free: 38.91 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1334, allocations: 1.031 kB / 308.1 MB, free: 38.91 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000991/0.1344, allocations: 0.7313 MB / 308.9 MB, free: 38.7 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002124/0.1346, allocations: 137.6 kB / 309 MB, free: 38.7 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.515e-05/0.1347, allocations: 17.14 kB / 309 MB, free: 38.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002833/0.135, allocations: 41.52 kB / 309 MB, free: 38.7 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.1351, allocations: 59.83 kB / 309.1 MB, free: 38.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.1351, allocations: 20.77 kB / 309.1 MB, free: 38.7 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002832/0.1354, allocations: 375.2 kB / 309.5 MB, free: 38.56 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1354, allocations: 0.9688 kB / 309.5 MB, free: 38.56 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000587/0.136, allocations: 253.9 kB / 309.7 MB, free: 38.56 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.000114/0.1361, allocations: 115.9 kB / 309.8 MB, free: 38.48 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009428/0.137, allocations: 0.9864 MB / 310.8 MB, free: 37.89 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.137, allocations: 4.891 kB / 310.8 MB, free: 37.89 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004044/0.1374, allocations: 0.5546 MB / 311.4 MB, free: 37.53 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005781/0.138, allocations: 220.4 kB / 311.6 MB, free: 37.52 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.14, allocations: 1.236 MB / 312.8 MB, free: 36.95 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.1401, allocations: 151.2 kB / 313 MB, free: 36.87 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002406/0.1403, allocations: 85.5 kB / 313.1 MB, free: 36.86 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.309e-05/0.1404, allocations: 55.95 kB / 313.1 MB, free: 36.86 MB / 282.7 MB Notification: Performance of SimCode: time 7.01e-07/0.1404, allocations: 1.406 kB / 313.1 MB, free: 36.86 MB / 282.7 MB Notification: Performance of Templates: time 0.01592/0.1563, allocations: 16.93 MB / 330.1 MB, free: 26.09 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.27510873391293]