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.001106/0.001106, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001426/0.002532, allocations: 445.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.0006833/0.0006833, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009118/0.001595, allocations: 463.6 kB / 11.71 MB, free: 2.453 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 0.9705/0.9705, allocations: 158.6 MB / 171.1 MB, free: 2.574 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1549/1.125, allocations: 49.49 MB / 220.5 MB, free: 1.445 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 9.01e-07/9.01e-07, allocations: 0 / 221.8 MB, free: 180 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.538e-06/1.044e-05, allocations: 2.312 kB / 221.8 MB, free: 176 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.004354/0.004364, allocations: 4.843 MB / 226.7 MB, free: 11.3 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.006316, allocations: 1.445 MB / 228.1 MB, free: 9.844 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002044/0.00652, allocations: 11.94 kB / 228.1 MB, free: 9.832 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002242/0.006744, allocations: 166.6 kB / 228.3 MB, free: 9.668 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004184/0.007162, allocations: 361.1 kB / 228.6 MB, free: 9.312 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003146/0.007477, allocations: 211.6 kB / 228.8 MB, free: 9.105 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006538/0.008131, allocations: 1.085 MB / 229.9 MB, free: 8.016 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002201/0.008351, allocations: 200.3 kB / 230.1 MB, free: 7.805 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005751/0.008926, allocations: 0.7256 MB / 230.9 MB, free: 7.074 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002872/0.009213, allocations: 327.1 kB / 231.2 MB, free: 6.754 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 7.992e-05/0.009293, allocations: 87.94 kB / 231.3 MB, free: 6.668 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.995e-05/0.009383, allocations: 88 kB / 231.3 MB, free: 6.582 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.584e-05/0.009479, allocations: 143.5 kB / 231.5 MB, free: 6.441 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002246/0.009703, allocations: 271.6 kB / 231.8 MB, free: 6.176 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004684/0.01017, allocations: 0.6305 MB / 232.4 MB, free: 5.543 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.199e-05/0.01018, allocations: 0 / 232.4 MB, free: 5.543 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.01018, allocations: 0 / 232.4 MB, free: 5.543 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.712e-05/0.0102, allocations: 0 / 232.4 MB, free: 5.543 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.001128/0.01133, allocations: 1.295 MB / 233.7 MB, free: 4.207 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.531e-05/0.01136, allocations: 20.02 kB / 233.7 MB, free: 4.188 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.927e-05/0.01145, allocations: 108.8 kB / 233.8 MB, free: 4.082 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.0118, allocations: 349.5 kB / 234.1 MB, free: 3.711 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.01191, allocations: 148.7 kB / 234.3 MB, free: 3.543 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.72e-05/0.01196, allocations: 68.38 kB / 234.4 MB, free: 3.477 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007479/0.01271, allocations: 1.375 MB / 235.7 MB, free: 1.805 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.01273, allocations: 8.125 kB / 235.7 MB, free: 1.797 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.677e-05/0.01276, allocations: 36.12 kB / 235.8 MB, free: 1.762 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.01277, allocations: 12 kB / 235.8 MB, free: 1.75 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002232/0.013, allocations: 166.9 kB / 235.9 MB, free: 1.59 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.01444, allocations: 1.251 MB / 237.2 MB, free: 288 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.01473, allocations: 238 kB / 237.4 MB, free: 36 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.01483, allocations: 98.31 kB / 237.5 MB, free: 15.94 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.213e-05/0.01486, allocations: 12.5 kB / 237.5 MB, free: 15.93 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001944/0.01506, allocations: 202.1 kB / 237.7 MB, free: 15.71 MB / 250.7 MB Notification: Performance of pre-optimization done (n=56): time 1.603e-06/0.01506, allocations: 4 kB / 237.7 MB, free: 15.71 MB / 250.7 MB Notification: Performance of matching and sorting (n=56): time 0.001903/0.01696, allocations: 0.7957 MB / 238.5 MB, free: 14.9 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.017, allocations: 71.91 kB / 238.6 MB, free: 14.82 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00032/0.01732, allocations: 479.1 kB / 239.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.153e-05/0.01738, allocations: 41.7 kB / 239.1 MB, free: 14.29 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.01753, allocations: 266.3 kB / 239.4 MB, free: 14.03 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.01765, allocations: 202.2 kB / 239.6 MB, free: 13.83 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.01778, allocations: 122.2 kB / 239.7 MB, free: 13.7 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.01789, allocations: 386.6 kB / 240.1 MB, free: 13.32 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.01802, allocations: 124.7 kB / 240.2 MB, free: 13.18 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004939/0.01851, allocations: 1.172 MB / 241.4 MB, free: 11.69 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003049/0.01882, allocations: 321.7 kB / 241.7 MB, free: 11.33 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.01882, allocations: 0 / 241.7 MB, free: 11.33 MB / 250.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006747/0.01949, allocations: 0.5496 MB / 242.2 MB, free: 10.75 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.623e-05/0.01955, allocations: 67.39 kB / 242.3 MB, free: 10.67 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.01956, allocations: 4 kB / 242.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002877/0.01985, allocations: 137.5 kB / 242.4 MB, free: 10.52 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/0.02019, allocations: 147.7 kB / 242.6 MB, free: 10.38 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002782/0.02298, allocations: 3.301 MB / 245.9 MB, free: 6.902 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003611/0.02334, allocations: 67.66 kB / 245.9 MB, free: 6.836 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-05/0.02337, allocations: 23.98 kB / 246 MB, free: 6.812 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.0002036/0.02357, allocations: 161.7 kB / 246.1 MB, free: 6.645 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.781e-05/0.02365, allocations: 71.86 kB / 246.2 MB, free: 6.574 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.288e-05/0.02373, allocations: 74.56 kB / 246.3 MB, free: 6.504 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.02373, allocations: 4 kB / 246.3 MB, free: 6.5 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.02373, allocations: 112 / 246.3 MB, free: 6.5 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006133/0.02435, allocations: 0.7257 MB / 247 MB, free: 5.668 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.02537, allocations: 0.81 MB / 247.8 MB, free: 4.812 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.02537, allocations: 3.938 kB / 247.8 MB, free: 4.809 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003327/0.0257, allocations: 123.8 kB / 247.9 MB, free: 4.688 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/0.02588, allocations: 87.38 kB / 248 MB, free: 4.602 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002025/0.02608, allocations: 109.6 kB / 248.1 MB, free: 4.488 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.0261, allocations: 12 kB / 248.1 MB, free: 4.477 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001884/0.02799, allocations: 2.938 MB / 251.1 MB, free: 1.363 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.02799, allocations: 4 kB / 251.1 MB, free: 1.359 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005577/0.02855, allocations: 0.5199 MB / 251.6 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.913e-05/0.02861, allocations: 23.94 kB / 251.6 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.02884, allocations: 31.97 kB / 251.7 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.871e-05/0.02894, allocations: 60.33 kB / 251.7 MB, free: 0.707 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.02896, allocations: 8 kB / 251.7 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001913/0.02915, allocations: 216.4 kB / 251.9 MB, free: 500 kB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02915, allocations: 0 / 251.9 MB, free: 500 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005853/0.02973, allocations: 263.8 kB / 252.2 MB, free: 236 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.0001246/0.02986, allocations: 96.36 kB / 252.3 MB, free: 132 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0008227/0.03068, allocations: 0.7994 MB / 253.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.83e-05/0.0307, allocations: 8 kB / 253.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003232/0.03102, allocations: 437.6 kB / 253.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005157/0.03154, allocations: 299.5 kB / 253.8 MB, free: 14.51 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00945/0.04099, allocations: 1.271 MB / 255.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.04112, allocations: 148.6 kB / 255.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003339/0.04146, allocations: 89.11 kB / 255.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004931/0.04195, allocations: 341.1 kB / 255.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of SimCode: time 2.966e-06/0.04195, allocations: 0 / 255.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of Templates: time 0.04508/0.08703, allocations: 19.53 MB / 275.2 MB, free: 9.07 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0621030861511827]