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.001434/0.001434, allocations: 86.98 kB / 21.44 MB, free: 276 kB / 14.72 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.001525/0.001525, allocations: 162.6 kB / 24.71 MB, free: 3.527 MB / 14.72 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.466/1.466, allocations: 158.6 MB / 186.5 MB, free: 6.383 MB / 174.1 MB " [Timeout remaining time 178] 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.134e-06/2.134e-06, allocations: 0 / 298.9 MB, free: 8.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.596e-05/3.809e-05, allocations: 2.281 kB / 298.9 MB, free: 8.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.006515/0.006553, allocations: 4.347 MB / 303.3 MB, free: 4.355 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003148/0.009701, allocations: 1.348 MB / 304.6 MB, free: 2.996 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000346/0.01005, allocations: 11.88 kB / 304.6 MB, free: 2.984 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004705/0.01052, allocations: 150.7 kB / 304.8 MB, free: 2.836 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008062/0.01132, allocations: 361.1 kB / 305.1 MB, free: 2.48 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000513/0.01184, allocations: 215.5 kB / 305.4 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001353/0.01319, allocations: 1.081 MB / 306.4 MB, free: 1.184 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003797/0.01357, allocations: 206.3 kB / 306.6 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008235/0.01439, allocations: 0.5965 MB / 307.2 MB, free: 384 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004893/0.01488, allocations: 327.1 kB / 307.6 MB, free: 56 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001685/0.01505, allocations: 91.98 kB / 307.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000171/0.01522, allocations: 88 kB / 307.7 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002075/0.01543, allocations: 203.2 kB / 307.9 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004101/0.01584, allocations: 339.3 kB / 308.3 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001303/0.01714, allocations: 1.118 MB / 309.4 MB, free: 14.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.01715, allocations: 0 / 309.4 MB, free: 14.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.01715, allocations: 0 / 309.4 MB, free: 14.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.01716, allocations: 4 kB / 309.4 MB, free: 14.22 MB / 302.1 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.002418/0.01958, allocations: 1.172 MB / 310.6 MB, free: 13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.01963, allocations: 11.98 kB / 310.6 MB, free: 12.99 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001852/0.01981, allocations: 100.4 kB / 310.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009201/0.02073, allocations: 462.2 kB / 311.1 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000214/0.02095, allocations: 156.7 kB / 311.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.02105, allocations: 56.38 kB / 311.3 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002041/0.02309, allocations: 1.55 MB / 312.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.02311, allocations: 192 / 312.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.351e-05/0.02319, allocations: 28.12 kB / 312.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/0.0232, allocations: 12 kB / 312.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/0.02456, allocations: 0.4958 MB / 313.4 MB, free: 9.809 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003562/0.02813, allocations: 1.675 MB / 315.1 MB, free: 8.059 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/0.02948, allocations: 498.1 kB / 315.6 MB, free: 7.562 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006024/0.03008, allocations: 242.2 kB / 315.8 MB, free: 7.324 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.846e-05/0.03014, allocations: 8.5 kB / 315.8 MB, free: 7.312 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007868/0.03093, allocations: 318.2 kB / 316.1 MB, free: 6.988 MB / 302.1 MB Notification: Performance of pre-optimization done (n=56): time 2.104e-06/0.03093, allocations: 0 / 316.1 MB, free: 6.988 MB / 302.1 MB Notification: Performance of matching and sorting (n=56): time 0.005308/0.03624, allocations: 1.325 MB / 317.5 MB, free: 5.652 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000665/0.0369, allocations: 0.8193 MB / 318.3 MB, free: 4.633 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009664/0.03787, allocations: 0.5578 MB / 318.8 MB, free: 4.066 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000105/0.03797, allocations: 41.7 kB / 318.9 MB, free: 4.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004597/0.03843, allocations: 350.1 kB / 319.2 MB, free: 3.672 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002449/0.03868, allocations: 198.3 kB / 319.4 MB, free: 3.477 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000237/0.03892, allocations: 126.3 kB / 319.5 MB, free: 3.348 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002515/0.03917, allocations: 374.8 kB / 319.9 MB, free: 2.973 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007029/0.03987, allocations: 268.6 kB / 320.2 MB, free: 2.699 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00188/0.04175, allocations: 1.329 MB / 321.5 MB, free: 1.051 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002075/0.04382, allocations: 0.5603 MB / 322 MB, free: 460 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.04383, allocations: 0 / 322 MB, free: 460 kB / 302.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.1617/0.2055, allocations: 0.9463 MB / 323 MB, free: 34.36 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.757e-05/0.2056, allocations: 63.56 kB / 323.1 MB, free: 34.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.2056, allocations: 6.906 kB / 323.1 MB, free: 34.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007636/0.2063, allocations: 216.7 kB / 323.3 MB, free: 34.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000648/0.207, allocations: 114.6 kB / 323.4 MB, free: 34.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005911/0.2129, allocations: 4.283 MB / 327.7 MB, free: 31.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008685/0.2138, allocations: 82.83 kB / 327.7 MB, free: 31.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.181e-05/0.2138, allocations: 20.48 kB / 327.8 MB, free: 31.29 MB / 302.1 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.0003401/0.2142, allocations: 222.6 kB / 328 MB, free: 31.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.2143, allocations: 80.22 kB / 328.1 MB, free: 31.1 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001338/0.2144, allocations: 79.81 kB / 328.1 MB, free: 31.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.2144, allocations: 7.094 kB / 328.1 MB, free: 31.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2144, allocations: 0 / 328.1 MB, free: 31.04 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002055/0.2165, allocations: 1.042 MB / 329.2 MB, free: 30.33 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002563/0.219, allocations: 1.308 MB / 330.5 MB, free: 29.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.219, allocations: 0.75 kB / 330.5 MB, free: 29.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006561/0.2197, allocations: 111.6 kB / 330.6 MB, free: 29.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005587/0.2203, allocations: 167.4 kB / 330.8 MB, free: 29.6 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.93e-05/0.2203, allocations: 17.77 kB / 330.8 MB, free: 29.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00442/0.2247, allocations: 3.649 MB / 334.4 MB, free: 26.56 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.2247, allocations: 1.062 kB / 334.4 MB, free: 26.56 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00235/0.2271, allocations: 1.014 MB / 335.5 MB, free: 26.08 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003231/0.2274, allocations: 133.9 kB / 335.6 MB, free: 26.01 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.71e-05/0.2275, allocations: 15.44 kB / 335.6 MB, free: 26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006048/0.2281, allocations: 50.92 kB / 335.6 MB, free: 25.98 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001845/0.2283, allocations: 51.22 kB / 335.7 MB, free: 25.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.78e-05/0.2283, allocations: 21.92 kB / 335.7 MB, free: 25.97 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004933/0.2288, allocations: 391.9 kB / 336.1 MB, free: 25.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2288, allocations: 0 / 336.1 MB, free: 25.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008545/0.2297, allocations: 258.4 kB / 336.4 MB, free: 25.75 MB / 302.1 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.0001504/0.2298, allocations: 117.8 kB / 336.5 MB, free: 25.65 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002021/0.2318, allocations: 1.046 MB / 337.5 MB, free: 25.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.2318, allocations: 6.562 kB / 337.5 MB, free: 25.01 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009097/0.2327, allocations: 0.5191 MB / 338 MB, free: 24.69 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008615/0.2336, allocations: 204.2 kB / 338.2 MB, free: 24.61 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002791/0.2364, allocations: 1.251 MB / 339.5 MB, free: 23.95 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004238/0.2368, allocations: 322.1 kB / 339.8 MB, free: 23.85 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004174/0.2372, allocations: 80.81 kB / 339.9 MB, free: 23.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.2374, allocations: 50.19 kB / 339.9 MB, free: 23.83 MB / 302.1 MB Notification: Performance of SimCode: time 1.393e-06/0.2374, allocations: 5.156 kB / 339.9 MB, free: 23.82 MB / 302.1 MB Notification: Performance of Templates: time 0.02342/0.2608, allocations: 16.62 MB / 356.6 MB, free: 10.46 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.369761671870947]