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.001384/0.001384, allocations: 85.95 kB / 22.21 MB, free: 2.285 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.001431/0.001431, allocations: 170 kB / 25.61 MB, free: 8.898 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.9603/0.9603, allocations: 158.6 MB / 187.5 MB, free: 2.812 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.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.023e-05/2.177e-05, allocations: 2.312 kB / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.00489/0.004911, allocations: 4.776 MB / 256.2 MB, free: 2.453 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00244/0.007351, allocations: 1.383 MB / 257.6 MB, free: 1.055 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003629/0.007714, allocations: 11.94 kB / 257.6 MB, free: 1.043 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003716/0.008086, allocations: 150.7 kB / 257.8 MB, free: 0.8945 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006349/0.008721, allocations: 361.1 kB / 258.1 MB, free: 0.5391 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004194/0.00914, allocations: 223.5 kB / 258.3 MB, free: 328 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008824/0.01002, allocations: 1.066 MB / 259.4 MB, free: 15.25 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002769/0.0103, allocations: 190.4 kB / 259.6 MB, free: 15.05 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000682/0.01098, allocations: 0.6004 MB / 260.2 MB, free: 14.45 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003847/0.01137, allocations: 335 kB / 260.5 MB, free: 14.12 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.01147, allocations: 88 kB / 260.6 MB, free: 14.03 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.0116, allocations: 88 kB / 260.7 MB, free: 13.95 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.01172, allocations: 195.3 kB / 260.9 MB, free: 13.75 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002647/0.01198, allocations: 335.3 kB / 261.2 MB, free: 13.43 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006355/0.01262, allocations: 0.7006 MB / 261.9 MB, free: 12.72 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.01262, allocations: 0 / 261.9 MB, free: 12.72 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.01263, allocations: 3.938 kB / 261.9 MB, free: 12.72 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.594e-05/0.01264, allocations: 0 / 261.9 MB, free: 12.72 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.001421/0.01406, allocations: 1.264 MB / 263.2 MB, free: 11.4 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.01411, allocations: 15.97 kB / 263.2 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.01428, allocations: 144.4 kB / 263.3 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004581/0.01474, allocations: 444.1 kB / 263.8 MB, free: 10.79 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/0.01487, allocations: 152.7 kB / 263.9 MB, free: 10.61 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.991e-05/0.01494, allocations: 64.38 kB / 264 MB, free: 10.55 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008657/0.01581, allocations: 1.444 MB / 265.4 MB, free: 8.781 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.01582, allocations: 4.188 kB / 265.4 MB, free: 8.777 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.974e-05/0.01586, allocations: 28.12 kB / 265.5 MB, free: 8.75 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.01587, allocations: 12 kB / 265.5 MB, free: 8.738 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002818/0.01616, allocations: 210.7 kB / 265.7 MB, free: 8.531 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001875/0.01803, allocations: 1.615 MB / 267.3 MB, free: 6.848 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003757/0.01841, allocations: 279.8 kB / 267.6 MB, free: 6.559 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.01853, allocations: 113.1 kB / 267.7 MB, free: 6.445 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/0.01856, allocations: 12.5 kB / 267.7 MB, free: 6.434 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002525/0.01881, allocations: 215.8 kB / 267.9 MB, free: 6.207 MB / 250.7 MB Notification: Performance of pre-optimization done (n=56): time 1.733e-06/0.01881, allocations: 0 / 267.9 MB, free: 6.207 MB / 250.7 MB Notification: Performance of matching and sorting (n=56): time 0.00191/0.02072, allocations: 0.917 MB / 268.8 MB, free: 5.273 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002605/0.02098, allocations: 0.8232 MB / 269.6 MB, free: 4.254 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003943/0.02138, allocations: 0.5685 MB / 270.2 MB, free: 3.668 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.02142, allocations: 41.7 kB / 270.3 MB, free: 3.621 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002335/0.02165, allocations: 411.7 kB / 270.7 MB, free: 3.211 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.02177, allocations: 206.2 kB / 270.9 MB, free: 3.008 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.02192, allocations: 131.9 kB / 271 MB, free: 2.871 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.02212, allocations: 0.5663 MB / 271.5 MB, free: 2.293 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.02226, allocations: 128.7 kB / 271.7 MB, free: 2.156 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006078/0.02287, allocations: 1.283 MB / 273 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003364/0.0232, allocations: 358.1 kB / 273.3 MB, free: 104 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.02321, allocations: 4 kB / 273.3 MB, free: 100 kB / 250.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007942/0.024, allocations: 0.659 MB / 274 MB, free: 15.4 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.026e-05/0.02404, allocations: 67.69 kB / 274 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.02405, allocations: 4 kB / 274 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003132/0.02437, allocations: 151.2 kB / 274.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002693/0.02463, allocations: 115.8 kB / 274.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003484/0.02812, allocations: 4.594 MB / 278.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004352/0.02855, allocations: 71.77 kB / 279 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/0.02858, allocations: 19.94 kB / 279 MB, free: 10.14 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.0002278/0.02881, allocations: 208.4 kB / 279.2 MB, free: 9.922 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.02893, allocations: 107.5 kB / 279.3 MB, free: 9.816 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.853e-05/0.02901, allocations: 74.56 kB / 279.4 MB, free: 9.742 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.02901, allocations: 8 kB / 279.4 MB, free: 9.734 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.02902, allocations: 0 / 279.4 MB, free: 9.734 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000725/0.02974, allocations: 0.785 MB / 280.2 MB, free: 8.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.03092, allocations: 1.036 MB / 281.2 MB, free: 7.746 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.03093, allocations: 3.984 kB / 281.2 MB, free: 7.742 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002606/0.03119, allocations: 99.88 kB / 281.3 MB, free: 7.645 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002153/0.03141, allocations: 119.1 kB / 281.4 MB, free: 7.52 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.03143, allocations: 23.92 kB / 281.4 MB, free: 7.496 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00241/0.03384, allocations: 4.227 MB / 285.7 MB, free: 3.043 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.03384, allocations: 0 / 285.7 MB, free: 3.043 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006766/0.03452, allocations: 0.665 MB / 286.3 MB, free: 2.352 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001974/0.03472, allocations: 135.6 kB / 286.5 MB, free: 2.219 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.208e-05/0.03477, allocations: 24 kB / 286.5 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/0.03501, allocations: 31.97 kB / 286.5 MB, free: 2.164 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.03512, allocations: 60.33 kB / 286.6 MB, free: 2.105 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.03513, allocations: 12 kB / 286.6 MB, free: 2.094 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000216/0.03535, allocations: 350.6 kB / 286.9 MB, free: 1.754 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03535, allocations: 0 / 286.9 MB, free: 1.754 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005876/0.03594, allocations: 255.7 kB / 287.2 MB, free: 1.504 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.0001351/0.03607, allocations: 119.2 kB / 287.3 MB, free: 1.379 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008391/0.03691, allocations: 0.9408 MB / 288.2 MB, free: 372 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.03692, allocations: 0.5625 kB / 288.2 MB, free: 372 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000376/0.03729, allocations: 0.5496 MB / 288.8 MB, free: 15.78 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005241/0.03782, allocations: 215.1 kB / 289 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.03968, allocations: 1.236 MB / 290.2 MB, free: 14.3 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.0398, allocations: 148.5 kB / 290.4 MB, free: 14.13 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002185/0.04002, allocations: 85.06 kB / 290.5 MB, free: 14.05 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005032/0.04052, allocations: 393.9 kB / 290.8 MB, free: 13.66 MB / 282.7 MB Notification: Performance of SimCode: time 1.022e-06/0.04052, allocations: 0 / 290.8 MB, free: 13.66 MB / 282.7 MB Notification: Performance of Templates: time 0.01953/0.06005, allocations: 17.92 MB / 308.8 MB, free: 11.74 MB / 298.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: 3.217071836348623]