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.0009704/0.0009704, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001148/0.001148, allocations: 170.1 kB / 24.91 MB, free: 8.758 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.9628/0.9628, allocations: 177 MB / 205.2 MB, free: 5.445 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 / 273.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.997e-06/1.036e-05, allocations: 2.312 kB / 273.4 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.003675/0.003685, allocations: 4.799 MB / 278.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.005649, allocations: 1.413 MB / 279.6 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002142/0.005863, allocations: 11.94 kB / 279.6 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.006122, allocations: 154.7 kB / 279.7 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004554/0.006577, allocations: 361.1 kB / 280.1 MB, free: 10.47 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003299/0.006907, allocations: 219.5 kB / 280.3 MB, free: 10.26 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008206/0.007728, allocations: 1.069 MB / 281.4 MB, free: 9.184 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002871/0.008015, allocations: 208.3 kB / 281.6 MB, free: 8.965 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007475/0.008762, allocations: 0.612 MB / 282.2 MB, free: 8.352 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004226/0.009185, allocations: 331 kB / 282.5 MB, free: 8.027 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.843e-05/0.009273, allocations: 88 kB / 282.6 MB, free: 7.941 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.767e-05/0.009361, allocations: 88 kB / 282.7 MB, free: 7.855 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.009481, allocations: 195.3 kB / 282.9 MB, free: 7.664 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003493/0.00983, allocations: 339.2 kB / 283.2 MB, free: 7.332 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006191/0.01045, allocations: 0.7006 MB / 283.9 MB, free: 6.629 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.01045, allocations: 4 kB / 283.9 MB, free: 6.625 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.01045, allocations: 0 / 283.9 MB, free: 6.625 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.01046, allocations: 0 / 283.9 MB, free: 6.625 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.001033/0.01149, allocations: 1.115 MB / 285 MB, free: 5.469 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.01152, allocations: 11.98 kB / 285 MB, free: 5.457 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.01163, allocations: 116.8 kB / 285.2 MB, free: 5.344 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000374/0.01201, allocations: 349.5 kB / 285.5 MB, free: 4.977 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.815e-05/0.01211, allocations: 156.7 kB / 285.6 MB, free: 4.797 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.292e-05/0.01217, allocations: 72.31 kB / 285.7 MB, free: 4.727 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006756/0.01284, allocations: 1.379 MB / 287.1 MB, free: 3.055 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.01286, allocations: 8.125 kB / 287.1 MB, free: 3.047 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.501e-05/0.01289, allocations: 28.12 kB / 287.1 MB, free: 3.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.0129, allocations: 12 kB / 287.1 MB, free: 3.008 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002199/0.01312, allocations: 170.9 kB / 287.3 MB, free: 2.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.01458, allocations: 1.236 MB / 288.5 MB, free: 1.547 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/0.01488, allocations: 237.9 kB / 288.8 MB, free: 1.301 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.01498, allocations: 102.3 kB / 288.9 MB, free: 1.199 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.01501, allocations: 12.5 kB / 288.9 MB, free: 1.188 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002149/0.01523, allocations: 206.1 kB / 289.1 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of pre-optimization done (n=56): time 1.623e-06/0.01523, allocations: 0 / 289.1 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of matching and sorting (n=56): time 0.001542/0.01677, allocations: 0.7996 MB / 289.9 MB, free: 164 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001998/0.01697, allocations: 0.8232 MB / 290.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002629/0.01723, allocations: 487.1 kB / 291.2 MB, free: 14.65 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/0.01727, allocations: 41.7 kB / 291.2 MB, free: 14.61 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.01738, allocations: 270.2 kB / 291.5 MB, free: 14.34 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.334e-05/0.01747, allocations: 194.3 kB / 291.7 MB, free: 14.14 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.01759, allocations: 130.2 kB / 291.8 MB, free: 14.01 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.829e-05/0.01769, allocations: 394.5 kB / 292.2 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.01779, allocations: 116.7 kB / 292.3 MB, free: 13.49 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004355/0.01823, allocations: 1.161 MB / 293.5 MB, free: 12.01 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/0.01849, allocations: 329.7 kB / 293.8 MB, free: 11.65 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.01849, allocations: 0 / 293.8 MB, free: 11.65 MB / 282.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005908/0.01908, allocations: 0.5494 MB / 294.3 MB, free: 11.06 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/0.01912, allocations: 63.39 kB / 294.4 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.01912, allocations: 4 kB / 294.4 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002564/0.01938, allocations: 141.8 kB / 294.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.01963, allocations: 107.8 kB / 294.7 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002336/0.02196, allocations: 3.284 MB / 297.9 MB, free: 7.277 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002774/0.02224, allocations: 79.59 kB / 298 MB, free: 7.199 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.02226, allocations: 15.98 kB / 298 MB, free: 7.184 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.0001918/0.02246, allocations: 157.8 kB / 298.2 MB, free: 7.02 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.419e-05/0.02252, allocations: 71.92 kB / 298.3 MB, free: 6.949 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.614e-05/0.02259, allocations: 78.5 kB / 298.3 MB, free: 6.867 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.02259, allocations: 4 kB / 298.3 MB, free: 6.863 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.155e-06/0.02259, allocations: 8.109 kB / 298.3 MB, free: 6.855 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000551/0.02314, allocations: 0.7101 MB / 299.1 MB, free: 6.035 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008023/0.02394, allocations: 0.8255 MB / 299.9 MB, free: 5.164 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.02395, allocations: 4 kB / 299.9 MB, free: 5.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/0.02418, allocations: 91.88 kB / 300 MB, free: 5.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001779/0.02436, allocations: 113.6 kB / 300.1 MB, free: 4.953 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.02438, allocations: 15.92 kB / 300.1 MB, free: 4.938 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001763/0.02614, allocations: 2.942 MB / 303 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.02614, allocations: 64 / 303 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005151/0.02666, allocations: 0.5238 MB / 303.6 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.02679, allocations: 83.33 kB / 303.6 MB, free: 1.203 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.055e-05/0.02684, allocations: 16 kB / 303.7 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.02707, allocations: 35.91 kB / 303.7 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.975e-05/0.02715, allocations: 56.39 kB / 303.8 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.02717, allocations: 12 kB / 303.8 MB, free: 1.086 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001456/0.02732, allocations: 224.4 kB / 304 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02732, allocations: 4 kB / 304 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004306/0.02775, allocations: 251.7 kB / 304.2 MB, free: 0.6172 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.0001001/0.02785, allocations: 104.3 kB / 304.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.08525/0.1131, allocations: 0.7912 MB / 305.1 MB, free: 39.16 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.796e-05/0.1131, allocations: 7.625 kB / 305.1 MB, free: 39.16 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003888/0.1135, allocations: 435.8 kB / 305.6 MB, free: 38.92 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005625/0.1141, allocations: 212.5 kB / 305.8 MB, free: 38.91 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.1158, allocations: 1.238 MB / 307 MB, free: 38.38 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.1159, allocations: 151.8 kB / 307.2 MB, free: 38.3 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000202/0.1161, allocations: 79.53 kB / 307.2 MB, free: 38.3 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004709/0.1166, allocations: 337.6 kB / 307.6 MB, free: 38.26 MB / 282.7 MB Notification: Performance of SimCode: time 9.72e-07/0.1166, allocations: 0 / 307.6 MB, free: 38.26 MB / 282.7 MB Notification: Performance of Templates: time 0.01634/0.1329, allocations: 17.8 MB / 325.4 MB, free: 29.39 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.105177704244852]