Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 225.6 MB / 250.8 MB, free: 13.32 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 47.92 kB / 368.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2438, allocations: 52.14 MB / 420.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.006347/0.2502, allocations: 4.885 MB / 425.7 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002383/0.2525, allocations: 1.356 MB / 427.1 MB, free: 9 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002228/0.2528, allocations: 11.94 kB / 427.1 MB, free: 8.988 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004183/0.2532, allocations: 158.7 kB / 427.3 MB, free: 8.832 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006436/0.2538, allocations: 353.4 kB / 427.6 MB, free: 8.484 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004478/0.2543, allocations: 211.7 kB / 427.8 MB, free: 8.277 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001109/0.2554, allocations: 1.019 MB / 428.8 MB, free: 7.254 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003332/0.2557, allocations: 202 kB / 429 MB, free: 7.035 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004542/0.2562, allocations: 410.5 kB / 429.4 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005892/0.2568, allocations: 442.2 kB / 429.9 MB, free: 6.199 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.2569, allocations: 88 kB / 430 MB, free: 6.113 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.257, allocations: 88 kB / 430 MB, free: 6.027 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001872/0.2572, allocations: 203.2 kB / 430.2 MB, free: 5.828 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004836/0.2577, allocations: 473.8 kB / 430.7 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.2588, allocations: 1.086 MB / 431.8 MB, free: 4.273 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2589, allocations: 4 kB / 431.8 MB, free: 4.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2589, allocations: 0 / 431.8 MB, free: 4.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.2589, allocations: 0 / 431.8 MB, free: 4.27 MB / 334.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.002321/0.2612, allocations: 1.243 MB / 433 MB, free: 2.961 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.2612, allocations: 8.031 kB / 433 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.2614, allocations: 100.4 kB / 433.1 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008446/0.2622, allocations: 0.5204 MB / 433.7 MB, free: 2.297 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/0.2624, allocations: 97.28 kB / 433.8 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-05/0.2625, allocations: 52.38 kB / 433.8 MB, free: 2.141 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.2639, allocations: 0.8005 MB / 434.6 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.2639, allocations: 3.953 kB / 434.6 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.161e-05/0.264, allocations: 24 kB / 434.6 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.264, allocations: 15.94 kB / 434.7 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.2652, allocations: 0.4997 MB / 435.2 MB, free: 0.6914 MB / 334.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.003351/0.2685, allocations: 2.15 MB / 437.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.2699, allocations: 499.3 kB / 437.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000572/0.2704, allocations: 234.4 kB / 438 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.138e-05/0.2705, allocations: 21.62 kB / 438 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007483/0.2712, allocations: 319 kB / 438.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.415e-06/0.2712, allocations: 0 / 438.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.00498/0.2762, allocations: 1.485 MB / 439.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004511/0.2767, allocations: 0.8311 MB / 440.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007246/0.2774, allocations: 0.5862 MB / 441.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.636e-05/0.2774, allocations: 41.7 kB / 441.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002798/0.2777, allocations: 341.2 kB / 441.6 MB, free: 9.781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001756/0.2779, allocations: 198.3 kB / 441.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/0.2781, allocations: 126.2 kB / 441.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.2783, allocations: 378.8 kB / 442.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005641/0.2789, allocations: 209 kB / 442.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008635/0.2797, allocations: 0.5208 MB / 443 MB, free: 8.234 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/0.2809, allocations: 0.5654 MB / 443.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.2809, allocations: 0 / 443.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002241/0.2832, allocations: 0.8977 MB / 444.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.732e-05/0.2832, allocations: 63.39 kB / 444.6 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.2833, allocations: 4 kB / 444.6 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007263/0.284, allocations: 225.5 kB / 444.8 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006424/0.2846, allocations: 119.8 kB / 444.9 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006752/0.2914, allocations: 4.6 MB / 449.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008106/0.2922, allocations: 83.55 kB / 449.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.826e-05/0.2922, allocations: 28 kB / 449.6 MB, free: 1.297 MB / 350.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.0003913/0.2926, allocations: 209.8 kB / 449.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.2928, allocations: 79.53 kB / 449.9 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001501/0.2929, allocations: 86.84 kB / 450 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.2929, allocations: 7.938 kB / 450 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.2929, allocations: 0 / 450 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002117/0.295, allocations: 1.043 MB / 451 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002813/0.2978, allocations: 1.536 MB / 452.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.2979, allocations: 0 / 452.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006343/0.2985, allocations: 107.8 kB / 452.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000581/0.2991, allocations: 173.5 kB / 452.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.566e-05/0.2991, allocations: 15.98 kB / 452.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005247/0.3044, allocations: 3.932 MB / 456.8 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.3044, allocations: 8.109 kB / 456.8 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002401/0.3068, allocations: 1.013 MB / 457.8 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003632/0.3071, allocations: 228.4 kB / 458 MB, free: 8.348 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.856e-05/0.3072, allocations: 15.98 kB / 458 MB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005663/0.3078, allocations: 48.02 kB / 458.1 MB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.3079, allocations: 48.5 kB / 458.1 MB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-05/0.308, allocations: 19.98 kB / 458.2 MB, free: 8.215 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005435/0.3085, allocations: 419.1 kB / 458.6 MB, free: 7.809 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3085, allocations: 0 / 458.6 MB, free: 7.809 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007996/0.3093, allocations: 247.8 kB / 458.8 MB, free: 7.566 MB / 366.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.0001623/0.3095, allocations: 123.8 kB / 458.9 MB, free: 7.438 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002025/0.3115, allocations: 0.9914 MB / 459.9 MB, free: 6.395 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.3115, allocations: 0 / 459.9 MB, free: 6.395 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009906/0.3125, allocations: 0.532 MB / 460.5 MB, free: 5.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008431/0.3134, allocations: 211.1 kB / 460.7 MB, free: 5.633 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.3159, allocations: 1.32 MB / 462 MB, free: 4.293 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005635/0.3165, allocations: 0.9199 MB / 462.9 MB, free: 3.348 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003118/0.3168, allocations: 85.2 kB / 463 MB, free: 3.262 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.3169, allocations: 55.44 kB / 463 MB, free: 3.207 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3169, allocations: 4 kB / 463 MB, free: 3.203 MB / 366.1 MB Notification: Performance of Templates: time 0.02887/0.3458, allocations: 16.67 MB / 479.7 MB, free: 2.781 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.02774606179446]