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.001665/0.001665, allocations: 107.5 kB / 20.43 MB, free: 1.066 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.001991/0.001991, allocations: 187.5 kB / 23.7 MB, free: 4.188 MB / 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.442/1.442, allocations: 225.7 MB / 252.5 MB, free: 12.85 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.001584/0.001584, allocations: 51.92 kB / 370.9 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2427, allocations: 52.19 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.006239/0.2489, allocations: 4.356 MB / 427.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002639/0.2516, allocations: 1.293 MB / 428.7 MB, free: 8.789 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002637/0.2519, allocations: 15.88 kB / 428.7 MB, free: 8.773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004149/0.2523, allocations: 150.7 kB / 428.9 MB, free: 8.625 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006783/0.2529, allocations: 345.4 kB / 429.2 MB, free: 8.285 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004529/0.2534, allocations: 219.6 kB / 429.4 MB, free: 8.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001158/0.2546, allocations: 1.023 MB / 430.5 MB, free: 7.043 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003399/0.2549, allocations: 194.4 kB / 430.6 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000504/0.2554, allocations: 414.7 kB / 431.1 MB, free: 6.434 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000528/0.2559, allocations: 390.1 kB / 431.4 MB, free: 6.051 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001391/0.2561, allocations: 88 kB / 431.5 MB, free: 5.965 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001722/0.2562, allocations: 88 kB / 431.6 MB, free: 5.879 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001811/0.2564, allocations: 199.3 kB / 431.8 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000413/0.2568, allocations: 402.3 kB / 432.2 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.258, allocations: 1.093 MB / 433.3 MB, free: 4.195 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.258, allocations: 0 / 433.3 MB, free: 4.195 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.258, allocations: 0 / 433.3 MB, free: 4.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.258, allocations: 0 / 433.3 MB, free: 4.195 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.002233/0.2602, allocations: 1.168 MB / 434.5 MB, free: 2.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.2603, allocations: 8.031 kB / 434.5 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000261/0.2605, allocations: 100.4 kB / 434.6 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000829/0.2613, allocations: 471 kB / 435 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001836/0.2615, allocations: 152.7 kB / 435.2 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.742e-05/0.2616, allocations: 52.33 kB / 435.2 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001795/0.2634, allocations: 1.554 MB / 436.8 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.2634, allocations: 0 / 436.8 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.3e-05/0.2635, allocations: 24 kB / 436.8 MB, free: 300 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.2635, allocations: 20 kB / 436.8 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.2648, allocations: 0.4996 MB / 437.3 MB, free: 15.77 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.003275/0.268, allocations: 1.666 MB / 439 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.2694, allocations: 499.1 kB / 439.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006019/0.27, allocations: 226.2 kB / 439.7 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.823e-05/0.27, allocations: 12.48 kB / 439.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007578/0.2708, allocations: 330.1 kB / 440 MB, free: 12.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.285e-06/0.2708, allocations: 4 kB / 440 MB, free: 12.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.004914/0.2757, allocations: 1.318 MB / 441.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004786/0.2762, allocations: 0.831 MB / 442.2 MB, free: 10.6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007448/0.2769, allocations: 0.5538 MB / 442.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.261e-05/0.277, allocations: 45.7 kB / 442.8 MB, free: 9.984 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003473/0.2773, allocations: 341.1 kB / 443.1 MB, free: 9.648 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/0.2775, allocations: 194.3 kB / 443.3 MB, free: 9.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/0.2777, allocations: 138.2 kB / 443.4 MB, free: 9.316 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002085/0.2779, allocations: 378.8 kB / 443.8 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006166/0.2786, allocations: 264.6 kB / 444.1 MB, free: 8.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001376/0.2799, allocations: 1.333 MB / 445.4 MB, free: 7.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.2812, allocations: 0.5642 MB / 446 MB, free: 6.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.2812, allocations: 0 / 446 MB, free: 6.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002367/0.2836, allocations: 0.9426 MB / 446.9 MB, free: 5.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.148e-05/0.2836, allocations: 59.39 kB / 447 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.2836, allocations: 4 kB / 447 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007415/0.2844, allocations: 229.5 kB / 447.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006386/0.285, allocations: 115.8 kB / 447.3 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006938/0.2919, allocations: 4.28 MB / 451.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006994/0.2926, allocations: 71.8 kB / 451.7 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-05/0.2927, allocations: 43.86 kB / 451.7 MB, free: 428 kB / 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.0003499/0.2931, allocations: 213.5 kB / 451.9 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.2932, allocations: 79.53 kB / 452 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/0.2933, allocations: 74.56 kB / 452.1 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.2934, allocations: 8 kB / 452.1 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2934, allocations: 0 / 452.1 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002258/0.2956, allocations: 1.045 MB / 453.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00284/0.2985, allocations: 1.327 MB / 454.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.2985, allocations: 0 / 454.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006161/0.2991, allocations: 103.9 kB / 454.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005736/0.2996, allocations: 169.5 kB / 454.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.245e-05/0.2997, allocations: 15.94 kB / 454.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00541/0.3051, allocations: 3.652 MB / 458.4 MB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.3051, allocations: 3.984 kB / 458.4 MB, free: 9.348 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002426/0.3075, allocations: 1.011 MB / 459.4 MB, free: 8.312 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003763/0.3079, allocations: 143.4 kB / 459.5 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.308, allocations: 19.94 kB / 459.5 MB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006286/0.3087, allocations: 43.95 kB / 459.6 MB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.3088, allocations: 60.33 kB / 459.6 MB, free: 8.051 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.534e-05/0.3088, allocations: 16 kB / 459.7 MB, free: 8.035 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005315/0.3094, allocations: 386.8 kB / 460 MB, free: 7.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3094, allocations: 0 / 460 MB, free: 7.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008446/0.3102, allocations: 263.7 kB / 460.3 MB, free: 7.402 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.0001747/0.3104, allocations: 115.2 kB / 460.4 MB, free: 7.277 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002218/0.3126, allocations: 1.04 MB / 461.4 MB, free: 6.176 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3126, allocations: 4 kB / 461.5 MB, free: 6.172 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.3137, allocations: 0.5239 MB / 462 MB, free: 5.625 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008888/0.3146, allocations: 207 kB / 462.2 MB, free: 5.426 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002766/0.3173, allocations: 1.315 MB / 463.5 MB, free: 4.086 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.3177, allocations: 315.9 kB / 463.8 MB, free: 3.754 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000348/0.318, allocations: 85.05 kB / 463.9 MB, free: 3.668 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.3182, allocations: 59.42 kB / 463.9 MB, free: 3.609 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3182, allocations: 0 / 463.9 MB, free: 3.609 MB / 366.1 MB Notification: Performance of Templates: time 0.03082/0.349, allocations: 17.81 MB / 481.8 MB, free: 2.203 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.195429095998406]