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.001002/0.001002, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009692/0.0009692, allocations: 160.5 kB / 24.55 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 0.9144/0.9144, allocations: 177 MB / 204.8 MB, free: 5.594 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.603e-06/1.603e-06, allocations: 0 / 272.9 MB, free: 1.484 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.039e-05/2.199e-05, allocations: 4.984 kB / 272.9 MB, free: 1.48 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.00501/0.005032, allocations: 4.864 MB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002326/0.007358, allocations: 1.378 MB / 279.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003111/0.007669, allocations: 11.94 kB / 279.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003508/0.00802, allocations: 150.7 kB / 279.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005484/0.008568, allocations: 357.1 kB / 279.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004266/0.008995, allocations: 223.5 kB / 279.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001028/0.01002, allocations: 1.069 MB / 280.9 MB, free: 9.402 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003109/0.01033, allocations: 194.4 kB / 281.1 MB, free: 9.203 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007671/0.0111, allocations: 0.6082 MB / 281.7 MB, free: 8.594 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003264/0.01143, allocations: 327.1 kB / 282 MB, free: 8.273 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.056e-05/0.01152, allocations: 84 kB / 282.1 MB, free: 8.191 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.656e-05/0.01161, allocations: 92 kB / 282.2 MB, free: 8.102 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.01173, allocations: 203.2 kB / 282.4 MB, free: 7.902 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002412/0.01197, allocations: 335.3 kB / 282.7 MB, free: 7.574 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000638/0.0126, allocations: 0.7045 MB / 283.5 MB, free: 6.867 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.01261, allocations: 0 / 283.5 MB, free: 6.867 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.01261, allocations: 0 / 283.5 MB, free: 6.867 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.01262, allocations: 0 / 283.5 MB, free: 6.867 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.00136/0.01398, allocations: 1.252 MB / 284.7 MB, free: 5.562 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.01402, allocations: 15.98 kB / 284.7 MB, free: 5.547 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001671/0.01419, allocations: 140.4 kB / 284.9 MB, free: 5.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005011/0.01469, allocations: 452.2 kB / 285.3 MB, free: 4.941 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.01482, allocations: 148.7 kB / 285.4 MB, free: 4.773 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.075e-05/0.01489, allocations: 68.38 kB / 285.5 MB, free: 4.707 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000927/0.01582, allocations: 1.487 MB / 287 MB, free: 2.891 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.01583, allocations: 192 / 287 MB, free: 2.891 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.122e-05/0.01587, allocations: 28.12 kB / 287 MB, free: 2.863 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.01589, allocations: 12 kB / 287 MB, free: 2.852 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004023/0.01629, allocations: 265.7 kB / 287.3 MB, free: 2.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002221/0.01851, allocations: 1.708 MB / 289 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004993/0.01901, allocations: 318.7 kB / 289.3 MB, free: 480 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.01919, allocations: 133.1 kB / 289.4 MB, free: 344 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.797e-05/0.01922, allocations: 16.48 kB / 289.5 MB, free: 328 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002944/0.01952, allocations: 223.8 kB / 289.7 MB, free: 88 kB / 266.7 MB Notification: Performance of pre-optimization done (n=56): time 2.514e-06/0.01952, allocations: 0 / 289.7 MB, free: 88 kB / 266.7 MB Notification: Performance of matching and sorting (n=56): time 0.002121/0.02164, allocations: 0.9796 MB / 290.7 MB, free: 15.09 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002543/0.0219, allocations: 0.8348 MB / 291.5 MB, free: 14.06 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004466/0.02234, allocations: 0.5728 MB / 292.1 MB, free: 13.47 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.364e-05/0.02239, allocations: 45.7 kB / 292.1 MB, free: 13.42 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.02259, allocations: 399.8 kB / 292.5 MB, free: 13.02 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.0227, allocations: 207.3 kB / 292.7 MB, free: 12.82 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.02284, allocations: 135.9 kB / 292.8 MB, free: 12.68 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.02299, allocations: 0.5547 MB / 293.4 MB, free: 12.11 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.02319, allocations: 160.6 kB / 293.5 MB, free: 11.95 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008296/0.02402, allocations: 1.295 MB / 294.8 MB, free: 10.28 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004111/0.02443, allocations: 402.1 kB / 295.2 MB, free: 9.836 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.02443, allocations: 0 / 295.2 MB, free: 9.836 MB / 282.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009485/0.02538, allocations: 0.7139 MB / 296 MB, free: 9.082 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.286e-05/0.02542, allocations: 63.41 kB / 296 MB, free: 9.008 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.02543, allocations: 4 kB / 296 MB, free: 9.004 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003567/0.02579, allocations: 175.1 kB / 296.2 MB, free: 8.824 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002895/0.02607, allocations: 107.9 kB / 296.3 MB, free: 8.719 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003309/0.02938, allocations: 4.706 MB / 301 MB, free: 3.773 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003485/0.02973, allocations: 83.52 kB / 301.1 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.843e-05/0.02976, allocations: 20 kB / 301.1 MB, free: 3.672 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.0001816/0.02994, allocations: 204.5 kB / 301.3 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.877e-05/0.03003, allocations: 95.58 kB / 301.4 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.408e-05/0.03011, allocations: 78.55 kB / 301.5 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.03011, allocations: 8 kB / 301.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.03011, allocations: 0 / 301.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001029/0.03114, allocations: 0.8319 MB / 302.3 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.03233, allocations: 1.173 MB / 303.5 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.03234, allocations: 0 / 303.5 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002865/0.03262, allocations: 103.9 kB / 303.6 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002299/0.03285, allocations: 127.2 kB / 303.7 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/0.03288, allocations: 15.98 kB / 303.7 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1247/0.1576, allocations: 4.298 MB / 308 MB, free: 35.83 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1576, allocations: 2.844 kB / 308 MB, free: 35.83 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/0.159, allocations: 0.726 MB / 308.7 MB, free: 35.62 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003201/0.1593, allocations: 137.3 kB / 308.9 MB, free: 35.62 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.1594, allocations: 18.92 kB / 308.9 MB, free: 35.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004496/0.1599, allocations: 37.83 kB / 308.9 MB, free: 35.62 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/0.16, allocations: 58.31 kB / 309 MB, free: 35.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.644e-05/0.1601, allocations: 17.58 kB / 309 MB, free: 35.62 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004435/0.1605, allocations: 373.8 kB / 309.4 MB, free: 35.48 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1605, allocations: 1.312 kB / 309.4 MB, free: 35.48 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009097/0.1614, allocations: 254.3 kB / 309.6 MB, free: 35.48 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.0001656/0.1616, allocations: 119.6 kB / 309.7 MB, free: 35.39 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001421/0.163, allocations: 0.9779 MB / 310.7 MB, free: 34.81 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.163, allocations: 2.625 kB / 310.7 MB, free: 34.81 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000615/0.1636, allocations: 0.5681 MB / 311.3 MB, free: 34.44 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008696/0.1645, allocations: 220 kB / 311.5 MB, free: 34.44 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002955/0.1674, allocations: 1.23 MB / 312.7 MB, free: 33.88 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001697/0.1676, allocations: 150.5 kB / 312.9 MB, free: 33.81 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000379/0.168, allocations: 80.41 kB / 313 MB, free: 33.8 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.1682, allocations: 59.52 kB / 313 MB, free: 33.79 MB / 282.7 MB Notification: Performance of SimCode: time 1.653e-06/0.1682, allocations: 0 / 313 MB, free: 33.79 MB / 282.7 MB Notification: Performance of Templates: time 0.02517/0.1933, allocations: 17.78 MB / 330.8 MB, free: 23.02 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.190915818326175]