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.001037/0.001037, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00158/0.002617, allocations: 453.8 kB / 10.46 MB, free: 236 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.001069/0.001069, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00127/0.00234, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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 1.19/1.19, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2356/1.425, allocations: 49.49 MB / 220.7 MB, free: 1.355 MB / 218.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 2.735e-06/2.735e-06, allocations: 0 / 222 MB, free: 68 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.318e-05/3.592e-05, allocations: 9.406 kB / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.006393/0.006429, allocations: 4.843 MB / 226.8 MB, free: 11.19 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002354/0.008784, allocations: 1.445 MB / 228.3 MB, free: 9.73 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000255/0.009039, allocations: 15.94 kB / 228.3 MB, free: 9.715 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000284/0.009323, allocations: 154.6 kB / 228.4 MB, free: 9.562 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004743/0.009797, allocations: 369.1 kB / 228.8 MB, free: 9.199 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000354/0.01015, allocations: 219.5 kB / 229 MB, free: 8.984 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008118/0.01096, allocations: 1.077 MB / 230.1 MB, free: 7.902 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000263/0.01123, allocations: 208.3 kB / 230.3 MB, free: 7.684 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008915/0.01212, allocations: 0.7217 MB / 231 MB, free: 6.957 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003689/0.01249, allocations: 327 kB / 231.3 MB, free: 6.637 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.01259, allocations: 88 kB / 231.4 MB, free: 6.551 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.0127, allocations: 88 kB / 231.5 MB, free: 6.465 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.851e-05/0.01279, allocations: 139.5 kB / 231.6 MB, free: 6.328 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002224/0.01302, allocations: 279.5 kB / 231.9 MB, free: 6.055 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000567/0.01358, allocations: 0.6306 MB / 232.5 MB, free: 5.422 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.822e-05/0.0136, allocations: 0 / 232.5 MB, free: 5.422 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.0136, allocations: 3.938 kB / 232.5 MB, free: 5.418 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.82e-05/0.01363, allocations: 0 / 232.5 MB, free: 5.418 MB / 234.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.001532/0.01516, allocations: 1.287 MB / 233.8 MB, free: 4.09 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.01521, allocations: 16.03 kB / 233.8 MB, free: 4.074 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.01536, allocations: 112.8 kB / 234 MB, free: 3.965 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000493/0.01585, allocations: 345.5 kB / 234.3 MB, free: 3.598 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/0.016, allocations: 156.7 kB / 234.5 MB, free: 3.422 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.245e-05/0.01608, allocations: 64.31 kB / 234.5 MB, free: 3.359 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009107/0.017, allocations: 1.383 MB / 235.9 MB, free: 1.68 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.01702, allocations: 4.141 kB / 235.9 MB, free: 1.676 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.457e-05/0.01706, allocations: 36.11 kB / 235.9 MB, free: 1.641 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.01707, allocations: 12 kB / 235.9 MB, free: 1.629 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002448/0.01732, allocations: 166.9 kB / 236.1 MB, free: 1.469 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/0.01895, allocations: 1.251 MB / 237.4 MB, free: 160 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003662/0.01932, allocations: 238 kB / 237.6 MB, free: 15.91 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.01943, allocations: 98.25 kB / 237.7 MB, free: 15.82 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.156e-05/0.01947, allocations: 12.5 kB / 237.7 MB, free: 15.8 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004759/0.01995, allocations: 198.2 kB / 237.9 MB, free: 15.59 MB / 250.7 MB Notification: Performance of pre-optimization done (n=56): time 2.395e-06/0.01995, allocations: 4 kB / 237.9 MB, free: 15.59 MB / 250.7 MB Notification: Performance of matching and sorting (n=56): time 0.00169/0.02164, allocations: 0.8074 MB / 238.7 MB, free: 14.77 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/0.02169, allocations: 67.91 kB / 238.8 MB, free: 14.7 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003135/0.02201, allocations: 479.1 kB / 239.2 MB, free: 14.21 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.287e-05/0.02205, allocations: 41.7 kB / 239.3 MB, free: 14.17 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.0222, allocations: 270.3 kB / 239.5 MB, free: 13.9 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.02231, allocations: 194.2 kB / 239.7 MB, free: 13.71 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.02244, allocations: 130.2 kB / 239.9 MB, free: 13.57 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.02258, allocations: 390.5 kB / 240.2 MB, free: 13.18 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.0227, allocations: 120.7 kB / 240.4 MB, free: 13.05 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005882/0.02329, allocations: 1.165 MB / 241.5 MB, free: 11.57 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000319/0.02361, allocations: 333.7 kB / 241.9 MB, free: 11.2 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.02361, allocations: 0 / 241.9 MB, free: 11.2 MB / 250.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006838/0.0243, allocations: 0.5534 MB / 242.4 MB, free: 10.61 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.15e-05/0.02436, allocations: 63.44 kB / 242.5 MB, free: 10.54 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.02437, allocations: 4 kB / 242.5 MB, free: 10.53 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003215/0.02469, allocations: 141.5 kB / 242.6 MB, free: 10.39 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003482/0.02504, allocations: 143.7 kB / 242.7 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003018/0.02805, allocations: 3.289 MB / 246 MB, free: 6.785 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002861/0.02834, allocations: 67.66 kB / 246.1 MB, free: 6.719 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.02836, allocations: 16 kB / 246.1 MB, free: 6.703 MB / 250.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.0001777/0.02854, allocations: 161.7 kB / 246.3 MB, free: 6.535 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.33e-05/0.02861, allocations: 79.84 kB / 246.4 MB, free: 6.457 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.256e-05/0.02869, allocations: 70.67 kB / 246.4 MB, free: 6.391 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.02869, allocations: 7.938 kB / 246.4 MB, free: 6.383 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.0287, allocations: 0 / 246.4 MB, free: 6.383 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006121/0.02931, allocations: 0.718 MB / 247.2 MB, free: 5.555 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009216/0.03023, allocations: 0.8217 MB / 248 MB, free: 4.688 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.03023, allocations: 3.938 kB / 248 MB, free: 4.684 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000315/0.03055, allocations: 123.8 kB / 248.1 MB, free: 4.562 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.03068, allocations: 79.39 kB / 248.2 MB, free: 4.484 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001966/0.03088, allocations: 109.6 kB / 248.3 MB, free: 4.371 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.0309, allocations: 12 kB / 248.3 MB, free: 4.359 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001939/0.03284, allocations: 2.95 MB / 251.2 MB, free: 1.234 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.03284, allocations: 0 / 251.2 MB, free: 1.234 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007955/0.03363, allocations: 0.5199 MB / 251.8 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.419e-05/0.03369, allocations: 23.92 kB / 251.8 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.03391, allocations: 27.98 kB / 251.8 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.03402, allocations: 60.33 kB / 251.9 MB, free: 0.582 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.03403, allocations: 11.98 kB / 251.9 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001678/0.0342, allocations: 224.3 kB / 252.1 MB, free: 360 kB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0342, allocations: 0 / 252.1 MB, free: 360 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004788/0.03468, allocations: 255.7 kB / 252.4 MB, free: 104 kB / 250.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.0001647/0.03485, allocations: 104.4 kB / 252.5 MB, free: 15.99 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007644/0.03561, allocations: 0.8079 MB / 253.3 MB, free: 15.13 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.409e-05/0.03562, allocations: 8 kB / 253.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003507/0.03597, allocations: 454.6 kB / 253.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.03709, allocations: 2.005 MB / 255.7 MB, free: 12.24 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009225/0.04631, allocations: 1.259 MB / 257 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.04643, allocations: 160.6 kB / 257.1 MB, free: 10.78 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002216/0.04666, allocations: 81.22 kB / 257.2 MB, free: 10.7 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005208/0.04718, allocations: 353 kB / 257.6 MB, free: 10.35 MB / 266.7 MB Notification: Performance of SimCode: time 1.383e-06/0.04718, allocations: 7.938 kB / 257.6 MB, free: 10.34 MB / 266.7 MB Notification: Performance of Templates: time 0.02375/0.07093, allocations: 20.02 MB / 277.6 MB, free: 6.312 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5616395473480225]