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.001651/0.001651, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002069/0.002069, allocations: 211.2 kB / 24.47 MB, free: 3.977 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 2.091/2.091, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.002058/0.002058, allocations: 47.92 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3156, allocations: 53.37 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.008397/0.324, allocations: 4.382 MB / 436.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00391/0.3279, allocations: 1.332 MB / 438 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003958/0.3283, allocations: 11.94 kB / 438 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005259/0.3289, allocations: 150.7 kB / 438.2 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001011/0.3299, allocations: 337.4 kB / 438.5 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006298/0.3305, allocations: 223.6 kB / 438.7 MB, free: 288 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001622/0.3321, allocations: 1.026 MB / 439.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004919/0.3326, allocations: 202.4 kB / 440 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008161/0.3334, allocations: 426.5 kB / 440.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007479/0.3342, allocations: 450.1 kB / 440.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001788/0.3344, allocations: 88 kB / 440.9 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002259/0.3346, allocations: 88 kB / 441 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002389/0.3348, allocations: 195.3 kB / 441.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005836/0.3354, allocations: 406.2 kB / 441.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00153/0.3369, allocations: 1.081 MB / 442.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.3369, allocations: 4 kB / 442.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3369, allocations: 0 / 442.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.337, 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.003191/0.3402, allocations: 1.176 MB / 443.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.3402, allocations: 12.03 kB / 443.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002744/0.3405, allocations: 100.4 kB / 444 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.3417, allocations: 470.9 kB / 444.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002496/0.3419, allocations: 152.7 kB / 444.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.3421, allocations: 52.38 kB / 444.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002621/0.3447, allocations: 1.55 MB / 446.2 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.3447, allocations: 4 kB / 446.2 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.3448, allocations: 28 kB / 446.2 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.3448, allocations: 12 kB / 446.2 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/0.3466, allocations: 0.4919 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.004551/0.3512, allocations: 1.674 MB / 448.4 MB, free: 6.172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001835/0.353, allocations: 498 kB / 448.9 MB, free: 5.668 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008377/0.3538, allocations: 226.2 kB / 449.1 MB, free: 5.445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.135e-05/0.3539, allocations: 16.48 kB / 449.1 MB, free: 5.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001052/0.355, allocations: 326.1 kB / 449.4 MB, free: 5.098 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 3.427e-06/0.355, allocations: 0 / 449.4 MB, free: 5.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.007267/0.3622, allocations: 1.321 MB / 450.7 MB, free: 3.766 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005504/0.3628, allocations: 0.8271 MB / 451.6 MB, free: 2.742 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.3638, allocations: 0.5538 MB / 452.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001058/0.3639, allocations: 41.7 kB / 452.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003996/0.3643, allocations: 346.2 kB / 452.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000255/0.3646, allocations: 198.3 kB / 452.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003273/0.3649, allocations: 134.3 kB / 452.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002525/0.3652, allocations: 374.8 kB / 453.2 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008837/0.366, allocations: 264.6 kB / 453.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01792/0.384, allocations: 1.337 MB / 454.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001891/0.3859, allocations: 0.5564 MB / 455.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.3859, allocations: 3.938 kB / 455.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003495/0.3894, allocations: 0.9504 MB / 456.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.637e-05/0.3894, allocations: 55.41 kB / 456.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.3894, allocations: 4 kB / 456.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/0.3904, allocations: 221.5 kB / 456.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009345/0.3914, allocations: 123.8 kB / 456.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02583/0.4172, allocations: 4.286 MB / 461 MB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.4184, allocations: 83.67 kB / 461.1 MB, free: 8.578 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.276e-05/0.4185, allocations: 23.94 kB / 461.1 MB, free: 8.555 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.0005444/0.419, allocations: 213.7 kB / 461.3 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000199/0.4192, allocations: 83.52 kB / 461.4 MB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002103/0.4194, allocations: 70.56 kB / 461.4 MB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.4194, allocations: 11.98 kB / 461.4 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.4194, allocations: 4 kB / 461.4 MB, free: 8.164 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003185/0.4226, allocations: 1.049 MB / 462.5 MB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003878/0.4265, allocations: 1.308 MB / 463.8 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.4265, allocations: 0 / 463.8 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009546/0.4275, allocations: 111.8 kB / 463.9 MB, free: 5.531 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008221/0.4283, allocations: 169.5 kB / 464.1 MB, free: 5.359 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.236e-05/0.4284, allocations: 23.98 kB / 464.1 MB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008631/0.437, allocations: 3.641 MB / 467.7 MB, free: 1.488 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.437, allocations: 3.938 kB / 467.7 MB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003915/0.4409, allocations: 1.019 MB / 468.8 MB, free: 456 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005178/0.4414, allocations: 135.3 kB / 468.9 MB, free: 320 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001616/0.4416, allocations: 20 kB / 468.9 MB, free: 300 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009417/0.4425, allocations: 47.95 kB / 469 MB, free: 252 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001996/0.4427, allocations: 56.45 kB / 469 MB, free: 192 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.328e-05/0.4428, allocations: 12 kB / 469 MB, free: 180 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007612/0.4435, allocations: 394.8 kB / 469.4 MB, free: 15.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4435, allocations: 0 / 469.4 MB, free: 15.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00136/0.4449, allocations: 255.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.0002284/0.4451, allocations: 119.2 kB / 469.8 MB, free: 15.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00324/0.4484, allocations: 1.044 MB / 470.8 MB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/0.4484, allocations: 4 kB / 470.8 MB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001547/0.4499, allocations: 0.5195 MB / 471.4 MB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/0.4515, allocations: 199.5 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.004142/0.4556, allocations: 1.328 MB / 472.9 MB, free: 12.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005137/0.4561, allocations: 323.8 kB / 473.2 MB, free: 11.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006248/0.4568, allocations: 77.08 kB / 473.3 MB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002276/0.457, allocations: 55.42 kB / 473.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of SimCode: time 1.293e-06/0.457, allocations: 4 kB / 473.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of Templates: time 0.06493/0.5219, allocations: 17.97 MB / 491.3 MB, free: 10.18 MB / 398.1 MB " [Timeout remaining time 659] 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 -s cvode -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: 7.9433126139920205]