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.00125/0.00125, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001017/0.001017, allocations: 160.5 kB / 24.56 MB, free: 16 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.035/1.035, allocations: 177 MB / 204.8 MB, free: 5.582 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.363e-06/1.363e-06, allocations: 0 / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.763e-05/1.9e-05, allocations: 2.312 kB / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.004421/0.00444, allocations: 4.86 MB / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002316/0.006756, allocations: 1.363 MB / 279.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004783/0.007234, allocations: 15.88 kB / 279.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004225/0.007657, allocations: 154.7 kB / 279.3 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007108/0.008368, allocations: 357.1 kB / 279.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004558/0.008823, allocations: 223.5 kB / 279.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001038/0.009861, allocations: 1.064 MB / 280.9 MB, free: 9.395 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003133/0.01017, allocations: 198.3 kB / 281.1 MB, free: 9.191 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007805/0.01095, allocations: 0.6081 MB / 281.7 MB, free: 8.582 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003694/0.01132, allocations: 339 kB / 282.1 MB, free: 8.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.01142, allocations: 88 kB / 282.1 MB, free: 8.164 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.01153, allocations: 92 kB / 282.2 MB, free: 8.074 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.01164, allocations: 199.3 kB / 282.4 MB, free: 7.879 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002646/0.01191, allocations: 335.3 kB / 282.7 MB, free: 7.551 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007107/0.01262, allocations: 0.7123 MB / 283.5 MB, free: 6.836 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.01262, allocations: 4 kB / 283.5 MB, free: 6.832 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.796e-06/0.01263, allocations: 3.984 kB / 283.5 MB, free: 6.828 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.943e-05/0.01265, allocations: 0 / 283.5 MB, free: 6.828 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.001523/0.01417, allocations: 1.256 MB / 284.7 MB, free: 5.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.01421, allocations: 19.98 kB / 284.7 MB, free: 5.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001891/0.0144, allocations: 144.4 kB / 284.9 MB, free: 5.359 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006054/0.01501, allocations: 457.1 kB / 285.3 MB, free: 4.883 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/0.01515, allocations: 152.6 kB / 285.5 MB, free: 4.711 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-05/0.01523, allocations: 68.31 kB / 285.5 MB, free: 4.645 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.01631, allocations: 1.491 MB / 287 MB, free: 2.828 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.01633, allocations: 4.188 kB / 287 MB, free: 2.824 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.599e-05/0.01637, allocations: 28.12 kB / 287.1 MB, free: 2.797 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.01639, allocations: 16 kB / 287.1 MB, free: 2.781 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004267/0.01681, allocations: 257.8 kB / 287.3 MB, free: 2.527 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002116/0.01893, allocations: 1.701 MB / 289 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005391/0.01947, allocations: 319.3 kB / 289.3 MB, free: 424 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/0.01967, allocations: 137.1 kB / 289.5 MB, free: 284 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.491e-05/0.01971, allocations: 16.48 kB / 289.5 MB, free: 268 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003041/0.02002, allocations: 223.9 kB / 289.7 MB, free: 28 kB / 266.7 MB Notification: Performance of pre-optimization done (n=56): time 2.795e-06/0.02002, allocations: 4 kB / 289.7 MB, free: 24 kB / 266.7 MB Notification: Performance of matching and sorting (n=56): time 0.002129/0.02215, allocations: 0.9839 MB / 290.7 MB, free: 15.02 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002849/0.02243, allocations: 0.8271 MB / 291.5 MB, free: 14 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004947/0.02293, allocations: 0.5806 MB / 292.1 MB, free: 13.4 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.077e-05/0.02297, allocations: 41.7 kB / 292.2 MB, free: 13.36 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002171/0.02319, allocations: 399.8 kB / 292.5 MB, free: 12.96 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.0233, allocations: 198.2 kB / 292.7 MB, free: 12.77 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.02345, allocations: 135.9 kB / 292.9 MB, free: 12.62 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002318/0.02368, allocations: 0.5547 MB / 293.4 MB, free: 12.06 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.02388, allocations: 152.7 kB / 293.6 MB, free: 11.9 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006663/0.02454, allocations: 1.299 MB / 294.9 MB, free: 10.23 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004211/0.02497, allocations: 406.1 kB / 295.3 MB, free: 9.781 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.02497, allocations: 0 / 295.3 MB, free: 9.781 MB / 282.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001104/0.02607, allocations: 0.7179 MB / 296 MB, free: 9.023 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.744e-05/0.02612, allocations: 63.33 kB / 296 MB, free: 8.949 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.02613, allocations: 4 kB / 296.1 MB, free: 8.945 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003791/0.02651, allocations: 167.1 kB / 296.2 MB, free: 8.773 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003015/0.02681, allocations: 111.9 kB / 296.3 MB, free: 8.664 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003879/0.03069, allocations: 4.721 MB / 301 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003437/0.03103, allocations: 75.59 kB / 301.1 MB, free: 3.637 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.931e-05/0.03106, allocations: 20.08 kB / 301.1 MB, free: 3.617 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.0001861/0.03125, allocations: 216.4 kB / 301.4 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.282e-05/0.03134, allocations: 91.58 kB / 301.4 MB, free: 3.305 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.621e-05/0.03142, allocations: 78.56 kB / 301.5 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.03142, allocations: 4 kB / 301.5 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.03142, allocations: 0 / 301.5 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008348/0.03226, allocations: 0.828 MB / 302.3 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/0.03367, allocations: 1.172 MB / 303.5 MB, free: 1.043 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.03368, allocations: 0 / 303.5 MB, free: 1.043 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002816/0.03396, allocations: 99.86 kB / 303.6 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002555/0.03421, allocations: 127.2 kB / 303.7 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.03424, allocations: 15.98 kB / 303.8 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1364/0.1706, allocations: 4.302 MB / 308.1 MB, free: 32.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.1706, allocations: 0.6094 kB / 308.1 MB, free: 32.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.1718, allocations: 0.7255 MB / 308.8 MB, free: 32.31 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002821/0.1721, allocations: 144.6 kB / 308.9 MB, free: 32.31 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.719e-05/0.1722, allocations: 14.53 kB / 308.9 MB, free: 32.31 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003036/0.1725, allocations: 42.27 kB / 309 MB, free: 32.3 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/0.1726, allocations: 52.33 kB / 309 MB, free: 32.3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.721e-05/0.1727, allocations: 17.92 kB / 309.1 MB, free: 32.3 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003666/0.173, allocations: 377.9 kB / 309.4 MB, free: 32.17 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.173, allocations: 0 / 309.4 MB, free: 32.17 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007262/0.1737, allocations: 248.8 kB / 309.7 MB, free: 32.17 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.0001665/0.1739, allocations: 120.1 kB / 309.8 MB, free: 32.09 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00122/0.1751, allocations: 0.9864 MB / 310.8 MB, free: 31.5 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.1751, allocations: 2.375 kB / 310.8 MB, free: 31.5 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005084/0.1756, allocations: 0.5677 MB / 311.3 MB, free: 31.13 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006726/0.1763, allocations: 222.3 kB / 311.6 MB, free: 31.13 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002559/0.1789, allocations: 1.221 MB / 312.8 MB, free: 30.57 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001713/0.179, allocations: 158.7 kB / 312.9 MB, free: 30.5 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003288/0.1794, allocations: 80.08 kB / 313 MB, free: 30.49 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.1795, allocations: 57.06 kB / 313.1 MB, free: 30.48 MB / 282.7 MB Notification: Performance of SimCode: time 1.383e-06/0.1795, allocations: 0 / 313.1 MB, free: 30.48 MB / 282.7 MB Notification: Performance of Templates: time 0.02064/0.2001, allocations: 16.92 MB / 330 MB, free: 21.25 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.4616536968387663]