Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001729/0.001729, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 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.002202/0.002202, allocations: 209.6 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.486/1.486, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 51.92 kB / 378.2 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2507, allocations: 53.36 MB / 431.6 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.005968/0.2566, allocations: 4.385 MB / 435.9 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002537/0.2592, allocations: 1.324 MB / 437.3 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002511/0.2594, allocations: 11.94 kB / 437.3 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003958/0.2598, allocations: 154.7 kB / 437.4 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006728/0.2605, allocations: 341.4 kB / 437.8 MB, free: 496 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004247/0.2609, allocations: 219.5 kB / 438 MB, free: 276 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001112/0.262, allocations: 1.03 MB / 439 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003706/0.2624, allocations: 202.4 kB / 439.2 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005389/0.263, allocations: 422.6 kB / 439.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005721/0.2635, allocations: 458.1 kB / 440.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.2637, allocations: 88 kB / 440.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001462/0.2638, allocations: 92 kB / 440.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001837/0.264, allocations: 191.3 kB / 440.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004232/0.2644, allocations: 398.3 kB / 440.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.2655, allocations: 1.088 MB / 441.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2655, allocations: 0 / 441.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2655, allocations: 4 kB / 441.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.2655, allocations: 4 kB / 441.9 MB, free: 12.31 MB / 350.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.002439/0.268, allocations: 1.168 MB / 443.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.268, allocations: 8.031 kB / 443.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001819/0.2682, allocations: 100.4 kB / 443.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008675/0.2691, allocations: 471 kB / 443.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002025/0.2693, allocations: 164.6 kB / 443.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.417e-05/0.2694, allocations: 48.38 kB / 443.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/0.2713, allocations: 1.546 MB / 445.4 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/0.2713, allocations: 0 / 445.4 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.147e-05/0.2714, allocations: 28 kB / 445.4 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.2714, allocations: 15.94 kB / 445.4 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.2728, allocations: 0.4997 MB / 445.9 MB, free: 7.895 MB / 350.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.004505/0.2773, allocations: 1.674 MB / 447.6 MB, free: 6.148 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002106/0.2794, allocations: 0.4884 MB / 448.1 MB, free: 5.645 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009518/0.2803, allocations: 226.2 kB / 448.3 MB, free: 5.422 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.071e-05/0.2804, allocations: 8.5 kB / 448.3 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00117/0.2816, allocations: 318.2 kB / 448.6 MB, free: 5.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 3.266e-06/0.2816, allocations: 4 kB / 448.7 MB, free: 5.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.00828/0.2898, allocations: 1.333 MB / 450 MB, free: 3.742 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005774/0.2904, allocations: 0.8232 MB / 450.8 MB, free: 2.723 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.2915, allocations: 0.5538 MB / 451.4 MB, free: 2.156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.962e-05/0.2916, allocations: 41.7 kB / 451.4 MB, free: 2.109 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004081/0.292, allocations: 341.1 kB / 451.7 MB, free: 1.773 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002662/0.2923, allocations: 199.4 kB / 451.9 MB, free: 1.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003242/0.2926, allocations: 134.3 kB / 452.1 MB, free: 1.441 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002526/0.2928, allocations: 374.8 kB / 452.4 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009179/0.2938, allocations: 268.6 kB / 452.7 MB, free: 0.793 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001861/0.2956, allocations: 1.325 MB / 454 MB, free: 15.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001791/0.2974, allocations: 0.5642 MB / 454.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.2974, allocations: 3.938 kB / 454.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003454/0.3009, allocations: 0.9465 MB / 455.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.174e-05/0.3009, allocations: 59.41 kB / 455.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.301, allocations: 7.984 kB / 455.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001061/0.302, allocations: 217.5 kB / 455.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009837/0.303, allocations: 123.8 kB / 455.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009552/0.3126, allocations: 4.289 MB / 460.2 MB, free: 8.641 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.3137, allocations: 79.62 kB / 460.3 MB, free: 8.562 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.591e-05/0.3138, allocations: 27.92 kB / 460.3 MB, free: 8.535 MB / 366.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.0004663/0.3142, allocations: 217.7 kB / 460.5 MB, free: 8.312 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/0.3144, allocations: 83.53 kB / 460.6 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001904/0.3146, allocations: 78.55 kB / 460.7 MB, free: 8.148 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.3146, allocations: 4 kB / 460.7 MB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3146, allocations: 0 / 460.7 MB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003241/0.3179, allocations: 1.045 MB / 461.7 MB, free: 6.988 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003964/0.3218, allocations: 1.308 MB / 463.1 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.3218, allocations: 0 / 463.1 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008638/0.3227, allocations: 115.8 kB / 463.2 MB, free: 5.512 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006114/0.3233, allocations: 173.5 kB / 463.3 MB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.194e-05/0.3233, allocations: 11.98 kB / 463.3 MB, free: 5.324 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005438/0.3288, allocations: 3.653 MB / 467 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3288, allocations: 4.031 kB / 467 MB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002497/0.3313, allocations: 1.018 MB / 468 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003324/0.3316, allocations: 131.4 kB / 468.1 MB, free: 300 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.3317, allocations: 20.19 kB / 468.2 MB, free: 280 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006163/0.3323, allocations: 48.02 kB / 468.2 MB, free: 232 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.3325, allocations: 52.39 kB / 468.3 MB, free: 176 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.658e-05/0.3325, allocations: 16 kB / 468.3 MB, free: 160 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005169/0.333, allocations: 394.9 kB / 468.7 MB, free: 15.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.333, allocations: 0 / 468.7 MB, free: 15.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008613/0.3339, allocations: 259.7 kB / 468.9 MB, free: 15.52 MB / 382.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.0001718/0.3341, allocations: 115.3 kB / 469 MB, free: 15.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002169/0.3362, allocations: 1.044 MB / 470.1 MB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.3362, allocations: 4 kB / 470.1 MB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.3373, allocations: 0.5199 MB / 470.6 MB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008737/0.3382, allocations: 205.8 kB / 470.8 MB, free: 13.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/0.3409, allocations: 1.326 MB / 472.1 MB, free: 12.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.3412, allocations: 311.9 kB / 472.4 MB, free: 11.87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003399/0.3415, allocations: 85.06 kB / 472.5 MB, free: 11.78 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.3417, allocations: 51.42 kB / 472.6 MB, free: 11.73 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3417, allocations: 0 / 472.6 MB, free: 11.73 MB / 382.1 MB Notification: Performance of Templates: time 0.02947/0.3711, allocations: 17.98 MB / 490.5 MB, free: 10.16 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.253830404020846]