Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007704/0.0007704, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001048/0.001818, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000712/0.000712, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009102/0.001622, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9034/0.9034, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07577/0.9791, allocations: 53.87 MB / 243.7 MB, free: 14.92 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.466e-06/9.908e-06, allocations: 2.312 kB / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.003827/0.003836, allocations: 4.848 MB / 249.9 MB, free: 8.797 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.005732, allocations: 1.425 MB / 251.3 MB, free: 7.363 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002322/0.005965, allocations: 15.88 kB / 251.3 MB, free: 7.348 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002354/0.0062, allocations: 158.7 kB / 251.4 MB, free: 7.191 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004437/0.006644, allocations: 361 kB / 251.8 MB, free: 6.836 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003271/0.006971, allocations: 227.5 kB / 252 MB, free: 6.613 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006882/0.007659, allocations: 1.077 MB / 253.1 MB, free: 5.535 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002291/0.007888, allocations: 212.3 kB / 253.3 MB, free: 5.312 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006402/0.008528, allocations: 0.714 MB / 254 MB, free: 4.594 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002919/0.00882, allocations: 331.1 kB / 254.3 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.889e-05/0.008899, allocations: 84 kB / 254.4 MB, free: 4.188 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.571e-05/0.008985, allocations: 91.94 kB / 254.5 MB, free: 4.098 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.43e-05/0.009069, allocations: 143.5 kB / 254.7 MB, free: 3.957 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002021/0.009271, allocations: 279.5 kB / 254.9 MB, free: 3.684 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004724/0.009744, allocations: 0.6344 MB / 255.6 MB, free: 3.047 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.203e-05/0.009756, allocations: 4 kB / 255.6 MB, free: 3.043 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.009757, allocations: 0 / 255.6 MB, free: 3.043 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.526e-05/0.009772, allocations: 0 / 255.6 MB, free: 3.043 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.001187/0.01096, allocations: 1.295 MB / 256.9 MB, free: 1.703 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.723e-05/0.01099, allocations: 8.625 kB / 256.9 MB, free: 1.695 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.0111, allocations: 112.8 kB / 257 MB, free: 1.586 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003695/0.01147, allocations: 349.5 kB / 257.3 MB, free: 1.215 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.01158, allocations: 160.7 kB / 257.5 MB, free: 1.035 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.568e-05/0.01164, allocations: 64.36 kB / 257.5 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007263/0.01237, allocations: 1.379 MB / 258.9 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.01238, allocations: 8.141 kB / 258.9 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.638e-05/0.01242, allocations: 32.11 kB / 259 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.01243, allocations: 12 kB / 259 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002253/0.01265, allocations: 170.8 kB / 259.1 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001452/0.01411, allocations: 1.24 MB / 260.4 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003073/0.01441, allocations: 245.9 kB / 260.6 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.01452, allocations: 98.33 kB / 260.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.553e-05/0.01456, allocations: 12.5 kB / 260.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002042/0.01476, allocations: 198.2 kB / 260.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=56): time 1.703e-06/0.01477, allocations: 0 / 260.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=56): time 0.001525/0.01629, allocations: 0.8112 MB / 261.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.01632, allocations: 59.91 kB / 261.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000274/0.0166, allocations: 483.1 kB / 262.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.01663, allocations: 41.7 kB / 262.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.01675, allocations: 262.3 kB / 262.6 MB, free: 11.53 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.874e-05/0.01684, allocations: 206.2 kB / 262.8 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.01696, allocations: 134.2 kB / 262.9 MB, free: 11.19 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.01707, allocations: 394.5 kB / 263.3 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.01717, allocations: 116.7 kB / 263.4 MB, free: 10.67 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004393/0.01761, allocations: 1.157 MB / 264.5 MB, free: 9.191 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/0.01787, allocations: 325.7 kB / 264.9 MB, free: 8.828 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.01787, allocations: 4 kB / 264.9 MB, free: 8.824 MB / 266.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005911/0.01846, allocations: 0.5493 MB / 265.4 MB, free: 8.238 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.859e-05/0.0185, allocations: 59.41 kB / 265.5 MB, free: 8.168 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.01851, allocations: 0 / 265.5 MB, free: 8.168 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002603/0.01877, allocations: 153.7 kB / 265.6 MB, free: 8.012 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000311/0.01908, allocations: 135.8 kB / 265.8 MB, free: 7.879 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00231/0.02139, allocations: 3.29 MB / 269 MB, free: 4.418 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002749/0.02166, allocations: 75.59 kB / 269.1 MB, free: 4.344 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.02169, allocations: 23.98 kB / 269.1 MB, free: 4.32 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.0001337/0.02182, allocations: 160.7 kB / 269.3 MB, free: 4.156 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.169e-05/0.02188, allocations: 71.86 kB / 269.4 MB, free: 4.086 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.795e-05/0.02195, allocations: 78.56 kB / 269.5 MB, free: 4.008 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.02195, allocations: 4 kB / 269.5 MB, free: 4.004 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.02196, allocations: 0 / 269.5 MB, free: 4.004 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000558/0.02251, allocations: 0.7218 MB / 270.2 MB, free: 3.172 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008042/0.02332, allocations: 0.8061 MB / 271 MB, free: 2.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.02332, allocations: 3.938 kB / 271 MB, free: 2.316 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000299/0.02362, allocations: 124.5 kB / 271.1 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.02375, allocations: 87.38 kB / 271.2 MB, free: 2.109 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001805/0.02393, allocations: 101.6 kB / 271.3 MB, free: 2.004 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.02395, allocations: 15.98 kB / 271.3 MB, free: 1.988 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001771/0.02572, allocations: 2.945 MB / 274.3 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.02572, allocations: 0 / 274.3 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005089/0.02623, allocations: 0.5159 MB / 274.8 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.374e-05/0.02629, allocations: 15.94 kB / 274.8 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/0.02652, allocations: 40.03 kB / 274.8 MB, free: 14.28 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.385e-05/0.02662, allocations: 56.39 kB / 274.9 MB, free: 14.22 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.02663, allocations: 12 kB / 274.9 MB, free: 14.21 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001495/0.02678, allocations: 224.3 kB / 275.1 MB, free: 13.99 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02678, allocations: 0 / 275.1 MB, free: 13.99 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004346/0.02722, allocations: 259.7 kB / 275.4 MB, free: 13.73 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.0001052/0.02732, allocations: 104.3 kB / 275.5 MB, free: 13.62 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007877/0.02811, allocations: 0.8076 MB / 276.3 MB, free: 12.76 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.177e-05/0.02813, allocations: 12 kB / 276.3 MB, free: 12.75 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003613/0.02849, allocations: 430.2 kB / 276.7 MB, free: 12.29 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004878/0.02898, allocations: 299.4 kB / 277 MB, free: 12 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009651/0.03863, allocations: 1.273 MB / 278.3 MB, free: 10.7 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001494/0.03878, allocations: 152.6 kB / 278.4 MB, free: 10.53 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000376/0.03916, allocations: 81.14 kB / 278.5 MB, free: 10.45 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007196/0.03988, allocations: 345 kB / 278.8 MB, free: 10.11 MB / 282.7 MB Notification: Performance of SimCode: time 1.252e-06/0.03988, allocations: 0 / 278.8 MB, free: 10.11 MB / 282.7 MB Notification: Performance of Templates: time 0.1149/0.1547, allocations: 19.52 MB / 298.4 MB, free: 34.08 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.163152251392603]