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.001688/0.001688, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.002122/0.002122, allocations: 206.8 kB / 24.48 MB, free: 3.695 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.448/1.448, allocations: 230.6 MB / 258.3 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.001571/0.001571, allocations: 47.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2632, allocations: 53.37 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.006742/0.27, allocations: 4.377 MB / 436.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003223/0.2732, allocations: 1.316 MB / 438 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004745/0.2737, allocations: 15.88 kB / 438 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005807/0.2743, allocations: 158.7 kB / 438.2 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008548/0.2751, allocations: 341.4 kB / 438.5 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005204/0.2756, allocations: 215.6 kB / 438.7 MB, free: 296 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001248/0.2769, allocations: 1.022 MB / 439.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003616/0.2772, allocations: 202.4 kB / 440 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007399/0.278, allocations: 430.5 kB / 440.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000609/0.2786, allocations: 454.1 kB / 440.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001353/0.2787, allocations: 92 kB / 440.9 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.2789, allocations: 88 kB / 441 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001927/0.2791, allocations: 191.3 kB / 441.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004479/0.2795, allocations: 406.2 kB / 441.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001229/0.2807, allocations: 1.089 MB / 442.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.2807, allocations: 0 / 442.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2807, allocations: 0 / 442.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.704e-05/0.2808, allocations: 0 / 442.7 MB, free: 12.34 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.002386/0.2831, allocations: 1.174 MB / 443.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.2832, allocations: 12.03 kB / 443.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001845/0.2834, allocations: 104.4 kB / 444 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009804/0.2844, allocations: 463 kB / 444.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002488/0.2846, allocations: 156.6 kB / 444.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.2847, allocations: 56.36 kB / 444.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/0.2866, allocations: 1.546 MB / 446.2 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.2866, allocations: 0 / 446.2 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-05/0.2866, allocations: 32 kB / 446.2 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.2867, allocations: 12 kB / 446.2 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.288, allocations: 0.4957 MB / 446.7 MB, free: 7.918 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.003477/0.2915, allocations: 1.666 MB / 448.4 MB, free: 6.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/0.2929, allocations: 0.4942 MB / 448.9 MB, free: 5.668 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005959/0.2935, allocations: 230.2 kB / 449.1 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.792e-05/0.2935, allocations: 8.5 kB / 449.1 MB, free: 5.434 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008429/0.2943, allocations: 318.2 kB / 449.4 MB, free: 5.109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.806e-06/0.2943, allocations: 0 / 449.4 MB, free: 5.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.005178/0.2995, allocations: 1.329 MB / 450.7 MB, free: 3.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006698/0.3002, allocations: 0.8232 MB / 451.6 MB, free: 2.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007402/0.3009, allocations: 0.5538 MB / 452.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.157e-05/0.301, allocations: 41.7 kB / 452.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002962/0.3013, allocations: 346.2 kB / 452.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000189/0.3015, allocations: 198.3 kB / 452.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002235/0.3017, allocations: 130.3 kB / 452.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.3019, allocations: 378.8 kB / 453.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000601/0.3025, allocations: 264.6 kB / 453.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001688/0.3042, allocations: 1.337 MB / 454.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.3056, allocations: 0.5564 MB / 455.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.3056, allocations: 0 / 455.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002507/0.3081, allocations: 0.9504 MB / 456.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.548e-05/0.3081, allocations: 63.39 kB / 456.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.3081, allocations: 4 kB / 456.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007653/0.3089, allocations: 221.5 kB / 456.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00065/0.3096, allocations: 119.8 kB / 456.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007823/0.3174, allocations: 4.296 MB / 461 MB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008265/0.3182, allocations: 79.69 kB / 461.1 MB, free: 8.582 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.562e-05/0.3183, allocations: 31.92 kB / 461.1 MB, free: 8.551 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.0003475/0.3186, allocations: 213.8 kB / 461.3 MB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.3187, allocations: 79.53 kB / 461.4 MB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001579/0.3189, allocations: 74.56 kB / 461.4 MB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.3189, allocations: 8 kB / 461.5 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3189, allocations: 0 / 461.5 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002461/0.3214, allocations: 1.049 MB / 462.5 MB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002861/0.3242, allocations: 1.312 MB / 463.8 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.3242, allocations: 0 / 463.8 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007441/0.325, allocations: 107.9 kB / 463.9 MB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005907/0.3256, allocations: 173.5 kB / 464.1 MB, free: 5.359 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.066e-05/0.3256, allocations: 12 kB / 464.1 MB, free: 5.348 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005442/0.331, allocations: 3.652 MB / 467.8 MB, free: 1.488 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.331, allocations: 0 / 467.8 MB, free: 1.488 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002422/0.3335, allocations: 1.018 MB / 468.8 MB, free: 460 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003394/0.3338, allocations: 131.4 kB / 468.9 MB, free: 328 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.3339, allocations: 20.19 kB / 468.9 MB, free: 308 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006062/0.3345, allocations: 47.95 kB / 469 MB, free: 260 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/0.3347, allocations: 48.52 kB / 469 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-05/0.3347, allocations: 19.92 kB / 469 MB, free: 188 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000583/0.3353, allocations: 390.9 kB / 469.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3353, allocations: 8 kB / 469.4 MB, free: 15.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008784/0.3362, allocations: 259.7 kB / 469.7 MB, free: 15.54 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.0001678/0.3364, allocations: 119.2 kB / 469.8 MB, free: 15.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002244/0.3386, allocations: 1.033 MB / 470.8 MB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.3386, allocations: 4.688 kB / 470.8 MB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.3396, allocations: 0.5234 MB / 471.4 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009701/0.3406, allocations: 201 kB / 471.5 MB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002775/0.3434, allocations: 1.348 MB / 472.9 MB, free: 12.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.3437, allocations: 319.9 kB / 473.2 MB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.3439, allocations: 59.42 kB / 473.3 MB, free: 11.8 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3439, allocations: 0 / 473.3 MB, free: 11.8 MB / 382.1 MB Notification: Performance of Templates: time 0.02198/0.3659, allocations: 16.4 MB / 489.7 MB, free: 11.5 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins1/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: 8.536920653976267]