Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 80.8 kB / 22.29 MB, free: 2.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 170.2 kB / 25.69 MB, free: 8.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8515/0.8515, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 251.5 MB, free: 7.285 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.466e-05/1.58e-05, allocations: 2.312 kB / 251.5 MB, free: 7.281 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.004341/0.004357, allocations: 4.78 MB / 256.3 MB, free: 2.473 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002206/0.006563, allocations: 1.425 MB / 257.7 MB, free: 1.031 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000251/0.006814, allocations: 15.88 kB / 257.7 MB, free: 1.016 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004093/0.007223, allocations: 158.6 kB / 257.9 MB, free: 0.8594 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005981/0.007821, allocations: 365.1 kB / 258.3 MB, free: 0.5 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000382/0.008203, allocations: 219.5 kB / 258.5 MB, free: 292 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009399/0.009143, allocations: 1.069 MB / 259.5 MB, free: 15.21 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002889/0.009432, allocations: 212.3 kB / 259.7 MB, free: 14.98 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006078/0.01004, allocations: 0.6003 MB / 260.3 MB, free: 14.38 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003883/0.01043, allocations: 331.1 kB / 260.7 MB, free: 14.06 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.01053, allocations: 84 kB / 260.7 MB, free: 13.98 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.01065, allocations: 92 kB / 260.8 MB, free: 13.89 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.01078, allocations: 195.3 kB / 261 MB, free: 13.7 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002964/0.01108, allocations: 343.3 kB / 261.4 MB, free: 13.36 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006406/0.01172, allocations: 0.6967 MB / 262.1 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.01172, allocations: 0 / 262.1 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.01172, allocations: 0 / 262.1 MB, free: 12.66 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.01173, allocations: 0 / 262.1 MB, free: 12.66 MB / 250.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.001305/0.01304, allocations: 1.108 MB / 263.2 MB, free: 11.51 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.01307, allocations: 15.98 kB / 263.2 MB, free: 11.5 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/0.01321, allocations: 112.8 kB / 263.3 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004774/0.01369, allocations: 357.4 kB / 263.6 MB, free: 11.01 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.01381, allocations: 148.7 kB / 263.8 MB, free: 10.84 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.291e-05/0.01389, allocations: 76.27 kB / 263.9 MB, free: 10.77 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009752/0.01487, allocations: 1.375 MB / 265.2 MB, free: 9.102 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.01489, allocations: 192 / 265.2 MB, free: 9.102 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.851e-05/0.01494, allocations: 32.12 kB / 265.3 MB, free: 9.07 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.01495, allocations: 15.98 kB / 265.3 MB, free: 9.055 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002959/0.01525, allocations: 170.9 kB / 265.5 MB, free: 8.887 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001845/0.01709, allocations: 1.236 MB / 266.7 MB, free: 7.598 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003968/0.01749, allocations: 241.9 kB / 266.9 MB, free: 7.348 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/0.01763, allocations: 102.2 kB / 267 MB, free: 7.246 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.62e-05/0.01766, allocations: 16.48 kB / 267 MB, free: 7.23 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002459/0.01791, allocations: 202.2 kB / 267.2 MB, free: 7.02 MB / 250.7 MB Notification: Performance of pre-optimization done (n=56): time 2.324e-06/0.01791, allocations: 0 / 267.2 MB, free: 7.02 MB / 250.7 MB Notification: Performance of matching and sorting (n=56): time 0.002043/0.01995, allocations: 0.7957 MB / 268 MB, free: 6.211 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002535/0.02021, allocations: 0.8232 MB / 268.9 MB, free: 5.191 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003664/0.02057, allocations: 479.1 kB / 269.3 MB, free: 4.711 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.709e-05/0.02062, allocations: 45.7 kB / 269.4 MB, free: 4.66 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.02076, allocations: 262.3 kB / 269.6 MB, free: 4.398 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.02088, allocations: 206.2 kB / 269.8 MB, free: 4.195 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.02104, allocations: 130.2 kB / 270 MB, free: 4.062 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.02117, allocations: 386.6 kB / 270.3 MB, free: 3.676 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.02131, allocations: 120.7 kB / 270.4 MB, free: 3.543 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006186/0.02193, allocations: 1.165 MB / 271.6 MB, free: 2.059 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003511/0.02228, allocations: 321.7 kB / 271.9 MB, free: 1.703 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.02228, allocations: 0 / 271.9 MB, free: 1.703 MB / 250.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007797/0.02306, allocations: 0.5454 MB / 272.5 MB, free: 1.121 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.238e-05/0.0231, allocations: 63.41 kB / 272.5 MB, free: 1.047 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.02311, allocations: 7.984 kB / 272.5 MB, free: 1.039 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000328/0.02344, allocations: 141.8 kB / 272.7 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003363/0.02378, allocations: 107.8 kB / 272.8 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002989/0.02677, allocations: 3.289 MB / 276.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003614/0.02713, allocations: 75.59 kB / 276.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.278e-05/0.02716, allocations: 16 kB / 276.2 MB, free: 13.23 MB / 266.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.0001695/0.02733, allocations: 157.6 kB / 276.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.904e-05/0.02742, allocations: 71.92 kB / 276.4 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.715e-05/0.02751, allocations: 78.48 kB / 276.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.02751, allocations: 8 kB / 276.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.02751, allocations: 0 / 276.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007192/0.02823, allocations: 0.7219 MB / 277.2 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.02931, allocations: 0.8098 MB / 278 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.02931, allocations: 0 / 278 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003229/0.02964, allocations: 99.86 kB / 278.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002319/0.02987, allocations: 109.6 kB / 278.2 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.02989, allocations: 15.92 kB / 278.2 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00224/0.03213, allocations: 2.961 MB / 281.2 MB, free: 7.875 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.03214, allocations: 0 / 281.2 MB, free: 7.875 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006689/0.03281, allocations: 0.5159 MB / 281.7 MB, free: 7.34 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/0.03298, allocations: 83.39 kB / 281.8 MB, free: 7.258 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.349e-05/0.03306, allocations: 16 kB / 281.8 MB, free: 7.242 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003176/0.03338, allocations: 39.91 kB / 281.8 MB, free: 7.203 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.03348, allocations: 60.45 kB / 281.9 MB, free: 7.145 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.0335, allocations: 8 kB / 281.9 MB, free: 7.137 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001959/0.0337, allocations: 220.3 kB / 282.1 MB, free: 6.922 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0337, allocations: 0 / 282.1 MB, free: 6.922 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006209/0.03432, allocations: 251.8 kB / 282.4 MB, free: 6.676 MB / 266.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.0001295/0.03445, allocations: 100.3 kB / 282.5 MB, free: 6.566 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008531/0.0353, allocations: 0.8072 MB / 283.3 MB, free: 5.695 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/0.03531, allocations: 8 kB / 283.3 MB, free: 5.688 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003824/0.03569, allocations: 429.7 kB / 283.7 MB, free: 5.242 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005963/0.03629, allocations: 215.2 kB / 283.9 MB, free: 5.031 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00214/0.03843, allocations: 1.239 MB / 285.1 MB, free: 3.758 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.03854, allocations: 148.5 kB / 285.3 MB, free: 3.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002571/0.0388, allocations: 85.05 kB / 285.4 MB, free: 3.508 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006015/0.0394, allocations: 341.1 kB / 285.7 MB, free: 3.172 MB / 266.7 MB Notification: Performance of SimCode: time 8.22e-07/0.0394, allocations: 4 kB / 285.7 MB, free: 3.168 MB / 266.7 MB Notification: Performance of Templates: time 0.02285/0.06225, allocations: 17.78 MB / 303.5 MB, free: 1.391 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 2.9548913431353867]