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.001039/0.001039, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.001186/0.001186, allocations: 158.9 kB / 25.75 MB, free: 8.949 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.9361/0.9361, allocations: 158.6 MB / 187.5 MB, free: 2.949 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.573e-06/1.573e-06, allocations: 0 / 251.1 MB, free: 7.805 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.542e-05/2.699e-05, allocations: 5.266 kB / 251.1 MB, free: 7.801 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.01042/0.01045, allocations: 4.819 MB / 255.9 MB, free: 2.953 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002574/0.01302, allocations: 1.387 MB / 257.3 MB, free: 1.551 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003295/0.01335, allocations: 11.94 kB / 257.3 MB, free: 1.539 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004097/0.01376, allocations: 150.6 kB / 257.5 MB, free: 1.391 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006653/0.01443, allocations: 353.1 kB / 257.8 MB, free: 1.043 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004626/0.01489, allocations: 227.5 kB / 258 MB, free: 0.8203 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001017/0.01591, allocations: 1.069 MB / 259.1 MB, free: 15.75 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003186/0.01623, allocations: 194.3 kB / 259.3 MB, free: 15.55 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006738/0.0169, allocations: 0.6081 MB / 259.9 MB, free: 14.94 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000396/0.0173, allocations: 327.1 kB / 260.2 MB, free: 14.62 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.01741, allocations: 88 kB / 260.3 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.01753, allocations: 92 kB / 260.4 MB, free: 14.44 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.01767, allocations: 203.3 kB / 260.6 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003101/0.01798, allocations: 339.2 kB / 260.9 MB, free: 13.91 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007557/0.01873, allocations: 0.7162 MB / 261.6 MB, free: 13.19 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.01874, allocations: 0 / 261.6 MB, free: 13.19 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.01874, allocations: 0 / 261.6 MB, free: 13.19 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.01875, allocations: 0 / 261.6 MB, free: 13.19 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.001685/0.02043, allocations: 1.264 MB / 262.9 MB, free: 11.88 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.02047, allocations: 15.98 kB / 262.9 MB, free: 11.86 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002056/0.02068, allocations: 140.4 kB / 263.1 MB, free: 11.72 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006424/0.02132, allocations: 461.1 kB / 263.5 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/0.02147, allocations: 152.7 kB / 263.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.174e-05/0.02156, allocations: 64.38 kB / 263.7 MB, free: 11.01 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.02277, allocations: 1.487 MB / 265.2 MB, free: 9.195 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.02279, allocations: 192 / 265.2 MB, free: 9.195 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.702e-05/0.02284, allocations: 28.12 kB / 265.2 MB, free: 9.168 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.02286, allocations: 12 kB / 265.3 MB, free: 9.156 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005292/0.02339, allocations: 257.8 kB / 265.5 MB, free: 8.906 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00249/0.02588, allocations: 1.708 MB / 267.2 MB, free: 7.113 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006046/0.02648, allocations: 315.8 kB / 267.5 MB, free: 6.789 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000228/0.02671, allocations: 137.1 kB / 267.7 MB, free: 6.652 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.678e-05/0.02675, allocations: 12.5 kB / 267.7 MB, free: 6.641 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003496/0.0271, allocations: 227.9 kB / 267.9 MB, free: 6.402 MB / 250.7 MB Notification: Performance of pre-optimization done (n=56): time 2.314e-06/0.0271, allocations: 0 / 267.9 MB, free: 6.402 MB / 250.7 MB Notification: Performance of matching and sorting (n=56): time 0.002761/0.02986, allocations: 0.9951 MB / 268.9 MB, free: 5.391 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003968/0.03026, allocations: 0.8232 MB / 269.7 MB, free: 4.371 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005738/0.03083, allocations: 0.5768 MB / 270.3 MB, free: 3.777 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.093e-05/0.03088, allocations: 41.7 kB / 270.3 MB, free: 3.73 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002816/0.03117, allocations: 399.8 kB / 270.7 MB, free: 3.332 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.03133, allocations: 202.3 kB / 270.9 MB, free: 3.133 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/0.03153, allocations: 139.9 kB / 271 MB, free: 2.988 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002124/0.03174, allocations: 0.5547 MB / 271.6 MB, free: 2.422 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002956/0.03204, allocations: 152.7 kB / 271.8 MB, free: 2.262 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/0.03313, allocations: 1.303 MB / 273.1 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006145/0.03374, allocations: 402.1 kB / 273.4 MB, free: 148 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.03375, allocations: 0 / 273.4 MB, free: 148 kB / 250.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001336/0.03508, allocations: 0.7179 MB / 274.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.174e-05/0.03514, allocations: 63.39 kB / 274.2 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.03514, allocations: 4 kB / 274.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004449/0.03559, allocations: 171.1 kB / 274.4 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003902/0.03598, allocations: 107.9 kB / 274.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004713/0.04069, allocations: 4.707 MB / 279.2 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006732/0.04137, allocations: 71.66 kB / 279.3 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.613e-05/0.04141, allocations: 20 kB / 279.3 MB, free: 9.992 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.0002841/0.0417, allocations: 208.4 kB / 279.5 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.04184, allocations: 99.52 kB / 279.6 MB, free: 9.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.04196, allocations: 74.56 kB / 279.7 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.04197, allocations: 12 kB / 279.7 MB, free: 9.594 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.04197, allocations: 0 / 279.7 MB, free: 9.594 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001533/0.0435, allocations: 0.832 MB / 280.5 MB, free: 8.652 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001895/0.0454, allocations: 1.176 MB / 281.7 MB, free: 7.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.0454, allocations: 0 / 281.7 MB, free: 7.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00043/0.04583, allocations: 95.88 kB / 281.8 MB, free: 7.316 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003621/0.0462, allocations: 123.3 kB / 281.9 MB, free: 7.188 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.806e-05/0.04624, allocations: 12 kB / 281.9 MB, free: 7.176 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003979/0.05022, allocations: 4.324 MB / 286.2 MB, free: 2.605 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.05023, allocations: 3.938 kB / 286.2 MB, free: 2.602 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.05125, allocations: 0.7237 MB / 287 MB, free: 1.852 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000595/0.05185, allocations: 147.2 kB / 287.1 MB, free: 1.707 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.21e-05/0.05192, allocations: 12 kB / 287.1 MB, free: 1.695 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002745/0.0522, allocations: 35.97 kB / 287.2 MB, free: 1.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.05233, allocations: 56.47 kB / 287.2 MB, free: 1.605 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.05236, allocations: 15.98 kB / 287.2 MB, free: 1.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000311/0.05267, allocations: 378.7 kB / 287.6 MB, free: 1.223 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05267, allocations: 0 / 287.6 MB, free: 1.223 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006002/0.05327, allocations: 255.7 kB / 287.9 MB, free: 0.9727 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.0001335/0.0534, allocations: 115.1 kB / 288 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.05443, allocations: 0.9799 MB / 288.9 MB, free: 15.8 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/0.05443, allocations: 4 kB / 288.9 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004439/0.05488, allocations: 0.5658 MB / 289.5 MB, free: 15.19 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005575/0.05543, allocations: 215.1 kB / 289.7 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.05757, allocations: 1.239 MB / 291 MB, free: 13.71 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.05768, allocations: 156.5 kB / 291.1 MB, free: 13.54 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000251/0.05794, allocations: 73.08 kB / 291.2 MB, free: 13.46 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.613e-05/0.05803, allocations: 56.48 kB / 291.2 MB, free: 13.41 MB / 282.7 MB Notification: Performance of SimCode: time 1.182e-06/0.05803, allocations: 4 kB / 291.2 MB, free: 13.41 MB / 282.7 MB Notification: Performance of Templates: time 0.01958/0.07761, allocations: 16.9 MB / 308.1 MB, free: 12.52 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.297170980134979]