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.001054/0.001054, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.001043/0.001043, allocations: 166.1 kB / 25.7 MB, free: 8.438 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.9396/0.9396, 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.543e-06/1.543e-06, allocations: 0 / 251.6 MB, free: 7.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.59e-05/2.744e-05, allocations: 6.312 kB / 251.6 MB, free: 7.238 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.006746/0.006773, allocations: 4.827 MB / 256.4 MB, free: 2.387 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003037/0.00981, allocations: 1.433 MB / 257.8 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003869/0.0102, allocations: 11.94 kB / 257.8 MB, free: 0.9258 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004267/0.01062, allocations: 162.6 kB / 258 MB, free: 0.7656 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008834/0.01151, allocations: 357.1 kB / 258.3 MB, free: 424 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005844/0.01209, allocations: 219.5 kB / 258.6 MB, free: 204 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001339/0.01343, allocations: 1.068 MB / 259.6 MB, free: 15.13 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004089/0.01384, allocations: 208.3 kB / 259.8 MB, free: 14.91 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.01492, allocations: 0.6081 MB / 260.4 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006436/0.01556, allocations: 327.1 kB / 260.8 MB, free: 13.98 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002262/0.01579, allocations: 88 kB / 260.8 MB, free: 13.89 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.01596, allocations: 88 kB / 260.9 MB, free: 13.8 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002024/0.01616, allocations: 195.3 kB / 261.1 MB, free: 13.61 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000413/0.01658, allocations: 339.2 kB / 261.4 MB, free: 13.28 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.01758, allocations: 0.6968 MB / 262.1 MB, free: 12.58 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.01759, allocations: 0 / 262.1 MB, free: 12.58 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.01759, allocations: 0 / 262.1 MB, free: 12.58 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.379e-05/0.01761, allocations: 0 / 262.1 MB, free: 12.58 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.001859/0.01947, allocations: 1.112 MB / 263.3 MB, free: 11.43 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.01951, allocations: 11.98 kB / 263.3 MB, free: 11.42 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002221/0.01973, allocations: 120.8 kB / 263.4 MB, free: 11.3 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008534/0.02059, allocations: 353.5 kB / 263.7 MB, free: 10.93 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001954/0.02078, allocations: 152.7 kB / 263.9 MB, free: 10.75 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.02089, allocations: 68.33 kB / 263.9 MB, free: 10.69 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.02215, allocations: 1.379 MB / 265.3 MB, free: 9.02 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/0.02218, allocations: 192 / 265.3 MB, free: 9.02 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.616e-05/0.02223, allocations: 32.06 kB / 265.4 MB, free: 8.988 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.02225, allocations: 16 kB / 265.4 MB, free: 8.973 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000422/0.02267, allocations: 166.9 kB / 265.5 MB, free: 8.809 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002466/0.02514, allocations: 1.244 MB / 266.8 MB, free: 7.512 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008473/0.02598, allocations: 234 kB / 267 MB, free: 7.27 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/0.02616, allocations: 98.31 kB / 267.1 MB, free: 7.172 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.152e-05/0.0262, allocations: 16.48 kB / 267.1 MB, free: 7.156 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003232/0.02653, allocations: 202.1 kB / 267.3 MB, free: 6.945 MB / 250.7 MB Notification: Performance of pre-optimization done (n=56): time 2.505e-06/0.02653, allocations: 0 / 267.3 MB, free: 6.945 MB / 250.7 MB Notification: Performance of matching and sorting (n=56): time 0.002585/0.02911, allocations: 0.7958 MB / 268.1 MB, free: 6.137 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003198/0.02943, allocations: 0.8232 MB / 268.9 MB, free: 5.117 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004875/0.02992, allocations: 487.1 kB / 269.4 MB, free: 4.629 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.385e-05/0.02998, allocations: 37.7 kB / 269.4 MB, free: 4.586 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.03017, allocations: 274.3 kB / 269.7 MB, free: 4.312 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.03032, allocations: 190.2 kB / 269.9 MB, free: 4.125 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002158/0.03053, allocations: 130.2 kB / 270 MB, free: 3.992 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.03071, allocations: 390.5 kB / 270.4 MB, free: 3.602 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.03092, allocations: 120.7 kB / 270.5 MB, free: 3.469 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007118/0.03163, allocations: 1.169 MB / 271.7 MB, free: 1.98 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004614/0.03209, allocations: 325.7 kB / 272 MB, free: 1.621 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.03209, allocations: 3.938 kB / 272 MB, free: 1.617 MB / 250.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001106/0.0332, allocations: 0.5493 MB / 272.6 MB, free: 1.031 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.517e-05/0.03327, allocations: 59.64 kB / 272.6 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.03328, allocations: 8 kB / 272.6 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003677/0.03364, allocations: 133.6 kB / 272.8 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003327/0.03398, allocations: 135.8 kB / 272.9 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002751/0.03673, allocations: 3.289 MB / 276.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/0.037, allocations: 79.53 kB / 276.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.03703, allocations: 12 kB / 276.3 MB, free: 13.12 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.0001374/0.03716, allocations: 157.8 kB / 276.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.531e-05/0.03723, allocations: 75.86 kB / 276.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.026e-05/0.0373, allocations: 78.55 kB / 276.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.0373, allocations: 4 kB / 276.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.0373, allocations: 4 kB / 276.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005753/0.03788, allocations: 0.718 MB / 277.3 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008455/0.03872, allocations: 0.8061 MB / 278.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.03873, allocations: 15.92 kB / 278.1 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002951/0.03902, allocations: 119.8 kB / 278.2 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001841/0.03921, allocations: 113.5 kB / 278.4 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.03923, allocations: 12 kB / 278.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002041/0.04127, allocations: 2.961 MB / 281.3 MB, free: 7.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.04127, allocations: 0 / 281.3 MB, free: 7.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005188/0.04179, allocations: 0.5161 MB / 281.8 MB, free: 7.195 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.04193, allocations: 83.39 kB / 281.9 MB, free: 7.113 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.812e-05/0.04197, allocations: 20.05 kB / 281.9 MB, free: 7.094 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003143/0.04229, allocations: 43.91 kB / 282 MB, free: 7.051 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.0424, allocations: 52.39 kB / 282 MB, free: 7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.04241, allocations: 8 kB / 282 MB, free: 6.992 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001511/0.04257, allocations: 228.3 kB / 282.3 MB, free: 6.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04257, allocations: 0 / 282.3 MB, free: 6.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004267/0.04299, allocations: 251.8 kB / 282.5 MB, free: 6.523 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.0001229/0.04312, allocations: 100.3 kB / 282.6 MB, free: 6.414 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007193/0.04383, allocations: 0.7994 MB / 283.4 MB, free: 5.551 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.04384, allocations: 8 kB / 283.4 MB, free: 5.543 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003151/0.04416, allocations: 429.6 kB / 283.8 MB, free: 5.098 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004646/0.04462, allocations: 211.3 kB / 284 MB, free: 4.891 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.04659, allocations: 1.261 MB / 285.3 MB, free: 3.602 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.04669, allocations: 148.6 kB / 285.5 MB, free: 3.434 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002034/0.04689, allocations: 85.06 kB / 285.5 MB, free: 3.352 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005084/0.0474, allocations: 349 kB / 285.9 MB, free: 3.008 MB / 266.7 MB Notification: Performance of SimCode: time 1.222e-06/0.0474, allocations: 0 / 285.9 MB, free: 3.008 MB / 266.7 MB Notification: Performance of Templates: time 0.01931/0.06672, allocations: 17.97 MB / 303.8 MB, free: 1.047 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 -s gbode -gbm=radauIIA3 -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: 3.0513383192010224]