Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0006564/0.0006564, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001029/0.001685, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007009/0.0007009, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000887/0.001588, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9267/0.9267, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08246/1.009, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.735e-05/1.866e-05, allocations: 6.25 kB / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.004078/0.004097, allocations: 4.848 MB / 249.4 MB, free: 9.453 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002434/0.006531, allocations: 1.425 MB / 250.8 MB, free: 8.02 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003219/0.006852, allocations: 15.88 kB / 250.8 MB, free: 8.004 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.007108, allocations: 154.7 kB / 251 MB, free: 7.852 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005046/0.007613, allocations: 369 kB / 251.3 MB, free: 7.488 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003817/0.007994, allocations: 215.5 kB / 251.5 MB, free: 7.277 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007063/0.008701, allocations: 1.077 MB / 252.6 MB, free: 6.195 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002295/0.00893, allocations: 212.3 kB / 252.8 MB, free: 5.973 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006296/0.00956, allocations: 0.7217 MB / 253.5 MB, free: 5.246 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003083/0.009868, allocations: 323.1 kB / 253.8 MB, free: 4.93 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.227e-05/0.00995, allocations: 88 kB / 253.9 MB, free: 4.844 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.844e-05/0.01004, allocations: 91.94 kB / 254 MB, free: 4.754 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.878e-05/0.01013, allocations: 147.5 kB / 254.2 MB, free: 4.609 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002169/0.01034, allocations: 275.5 kB / 254.4 MB, free: 4.34 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005143/0.01086, allocations: 0.6266 MB / 255.1 MB, free: 3.711 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.281e-05/0.01087, allocations: 0 / 255.1 MB, free: 3.711 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.01087, allocations: 0 / 255.1 MB, free: 3.711 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.57e-05/0.01089, allocations: 0 / 255.1 MB, free: 3.711 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.001183/0.01207, allocations: 1.299 MB / 256.4 MB, free: 2.367 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.0121, allocations: 8.031 kB / 256.4 MB, free: 2.359 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.01221, allocations: 116.8 kB / 256.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003667/0.01258, allocations: 353.5 kB / 256.8 MB, free: 1.875 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.01268, allocations: 148.7 kB / 257 MB, free: 1.707 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.383e-05/0.01274, allocations: 72.36 kB / 257 MB, free: 1.637 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007123/0.01346, allocations: 1.379 MB / 258.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.01347, allocations: 4.141 kB / 258.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.373e-05/0.0135, allocations: 32.12 kB / 258.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.01352, allocations: 12 kB / 258.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002195/0.01374, allocations: 174.8 kB / 258.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.01514, allocations: 1.24 MB / 259.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003092/0.01545, allocations: 245.9 kB / 260.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.01556, allocations: 98.27 kB / 260.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.01559, allocations: 12.48 kB / 260.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002034/0.0158, allocations: 210.2 kB / 260.4 MB, free: 13.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=56): time 1.773e-06/0.0158, allocations: 0 / 260.4 MB, free: 13.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=56): time 0.001499/0.0173, allocations: 0.7996 MB / 261.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.01733, allocations: 59.91 kB / 261.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002732/0.0176, allocations: 487.1 kB / 261.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/0.01764, allocations: 37.7 kB / 261.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.01775, allocations: 270.3 kB / 262.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.466e-05/0.01785, allocations: 202.2 kB / 262.3 MB, free: 11.99 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.01796, allocations: 130.2 kB / 262.4 MB, free: 11.85 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.01807, allocations: 386.6 kB / 262.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.01818, allocations: 124.7 kB / 262.9 MB, free: 11.33 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004231/0.0186, allocations: 1.153 MB / 264 MB, free: 9.859 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002521/0.01885, allocations: 329.7 kB / 264.4 MB, free: 9.492 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.01885, allocations: 0 / 264.4 MB, free: 9.492 MB / 266.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005808/0.01943, allocations: 0.5493 MB / 264.9 MB, free: 8.906 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.298e-05/0.01948, allocations: 66.98 kB / 265 MB, free: 8.832 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.01949, allocations: 4 kB / 265 MB, free: 8.828 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002551/0.01974, allocations: 145.7 kB / 265.1 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/0.02006, allocations: 139.8 kB / 265.3 MB, free: 8.543 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002411/0.02247, allocations: 3.289 MB / 268.6 MB, free: 5.082 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.02277, allocations: 79.58 kB / 268.6 MB, free: 5.004 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.02279, allocations: 16 kB / 268.6 MB, free: 4.988 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.000146/0.02293, allocations: 165.7 kB / 268.8 MB, free: 4.816 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.281e-05/0.023, allocations: 71.86 kB / 268.9 MB, free: 4.746 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.12e-05/0.02307, allocations: 82.55 kB / 269 MB, free: 4.664 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.02307, allocations: 4 kB / 269 MB, free: 4.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.02308, allocations: 0 / 269 MB, free: 4.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005698/0.02365, allocations: 0.718 MB / 269.7 MB, free: 3.832 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000855/0.0245, allocations: 0.8061 MB / 270.5 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.0245, allocations: 3.938 kB / 270.5 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002999/0.0248, allocations: 128.5 kB / 270.6 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.02494, allocations: 79.39 kB / 270.7 MB, free: 2.773 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001911/0.02513, allocations: 125.8 kB / 270.8 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.02515, allocations: 11.98 kB / 270.8 MB, free: 2.633 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001953/0.02711, allocations: 2.934 MB / 273.8 MB, free: 15.53 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.02711, allocations: 0 / 273.8 MB, free: 15.53 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005617/0.02767, allocations: 0.5199 MB / 274.3 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.878e-05/0.02773, allocations: 27.92 kB / 274.3 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.02796, allocations: 35.97 kB / 274.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.246e-05/0.02804, allocations: 48.41 kB / 274.4 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.02806, allocations: 15.98 kB / 274.4 MB, free: 14.86 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001512/0.02821, allocations: 216.4 kB / 274.6 MB, free: 14.65 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02821, allocations: 0 / 274.6 MB, free: 14.65 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005087/0.02872, allocations: 259.7 kB / 274.9 MB, free: 14.39 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.0001218/0.02884, allocations: 108.4 kB / 275 MB, free: 14.28 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007616/0.0296, allocations: 0.7964 MB / 275.8 MB, free: 13.42 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.759e-05/0.02962, allocations: 16.11 kB / 275.8 MB, free: 13.41 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003339/0.02995, allocations: 441.6 kB / 276.2 MB, free: 12.94 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004939/0.03044, allocations: 295.1 kB / 276.5 MB, free: 12.66 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009017/0.03946, allocations: 1.261 MB / 277.8 MB, free: 11.37 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.03959, allocations: 156.4 kB / 277.9 MB, free: 11.19 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000292/0.03989, allocations: 81.11 kB / 278 MB, free: 11.11 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004941/0.04038, allocations: 349 kB / 278.3 MB, free: 10.77 MB / 282.7 MB Notification: Performance of SimCode: time 1.332e-06/0.04038, allocations: 0 / 278.3 MB, free: 10.77 MB / 282.7 MB Notification: Performance of Templates: time 0.1077/0.1481, allocations: 19.51 MB / 297.9 MB, free: 34.67 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.0338189909234643]