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.001623/0.001623, allocations: 113 kB / 18.45 MB, free: 4.602 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.001587/0.001587, allocations: 190.9 kB / 21.4 MB, free: 1.664 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.441/1.441, allocations: 225.6 MB / 249.8 MB, free: 3.637 MB / 190.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.001505/0.001505, allocations: 51.92 kB / 366.8 MB, free: 372 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1068, allocations: 52.15 MB / 418.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.006864/0.1136, allocations: 4.845 MB / 423.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002787/0.1164, allocations: 1.359 MB / 425.2 MB, free: 5.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005731/0.117, allocations: 8 kB / 425.2 MB, free: 5.883 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005078/0.1175, allocations: 158.7 kB / 425.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008542/0.1183, allocations: 349.3 kB / 425.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005308/0.1189, allocations: 215.6 kB / 425.9 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001189/0.1201, allocations: 1.017 MB / 426.9 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003426/0.1204, allocations: 210 kB / 427.1 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005101/0.1209, allocations: 402.6 kB / 427.5 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005435/0.1215, allocations: 446.1 kB / 427.9 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001311/0.1216, allocations: 88 kB / 428 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.1218, allocations: 92 kB / 428.1 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001912/0.1219, allocations: 199.3 kB / 428.3 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004659/0.1224, allocations: 477.9 kB / 428.8 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.1236, allocations: 1.078 MB / 429.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.1236, allocations: 0 / 429.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1236, allocations: 0 / 429.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.1236, allocations: 4 kB / 429.8 MB, free: 1.168 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.002384/0.126, allocations: 1.239 MB / 431.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.126, allocations: 15.97 kB / 431.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000194/0.1262, allocations: 100.4 kB / 431.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008572/0.1271, allocations: 0.5242 MB / 431.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/0.1272, allocations: 101.3 kB / 431.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.083e-05/0.1273, allocations: 48.38 kB / 431.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.1288, allocations: 0.8083 MB / 432.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.1289, allocations: 3.953 kB / 432.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.819e-05/0.1289, allocations: 27.98 kB / 432.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.1289, allocations: 12 kB / 432.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.1302, allocations: 0.4997 MB / 433.2 MB, free: 13.57 MB / 366.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.003662/0.1339, allocations: 2.15 MB / 435.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/0.1352, allocations: 498.6 kB / 435.8 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006482/0.1359, allocations: 242.4 kB / 436.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.714e-05/0.136, allocations: 21.61 kB / 436.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007977/0.1367, allocations: 315 kB / 436.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=56): time 2.956e-06/0.1368, allocations: 0 / 436.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=56): time 0.005364/0.1421, allocations: 1.486 MB / 437.9 MB, free: 8.672 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005075/0.1426, allocations: 0.8233 MB / 438.7 MB, free: 7.648 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000853/0.1435, allocations: 0.5862 MB / 439.3 MB, free: 7.055 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.794e-05/0.1436, allocations: 41.7 kB / 439.3 MB, free: 7.008 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003173/0.1439, allocations: 345.1 kB / 439.7 MB, free: 6.664 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002163/0.1441, allocations: 202.3 kB / 439.9 MB, free: 6.465 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002247/0.1443, allocations: 126.2 kB / 440 MB, free: 6.336 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002103/0.1445, allocations: 382.8 kB / 440.4 MB, free: 5.953 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005909/0.1451, allocations: 205 kB / 440.6 MB, free: 5.754 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000928/0.1461, allocations: 0.5208 MB / 441.1 MB, free: 5.109 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/0.1474, allocations: 0.5615 MB / 441.7 MB, free: 4.508 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1474, allocations: 0 / 441.7 MB, free: 4.508 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002313/0.1497, allocations: 0.8977 MB / 442.6 MB, free: 3.582 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.52e-05/0.1497, allocations: 63.39 kB / 442.6 MB, free: 3.508 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.1497, allocations: 3.984 kB / 442.6 MB, free: 3.504 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007375/0.1505, allocations: 221.5 kB / 442.8 MB, free: 3.281 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006252/0.1511, allocations: 119.8 kB / 443 MB, free: 3.164 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2042/0.3553, allocations: 4.591 MB / 447.6 MB, free: 29.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008639/0.3561, allocations: 78.3 kB / 447.6 MB, free: 29.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-05/0.3562, allocations: 24.44 kB / 447.7 MB, free: 29.15 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.0002977/0.3565, allocations: 211.9 kB / 447.9 MB, free: 29.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.3566, allocations: 85.61 kB / 447.9 MB, free: 29.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.3567, allocations: 78.31 kB / 448 MB, free: 29.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3567, allocations: 5.219 kB / 448 MB, free: 29.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3567, allocations: 0.5625 kB / 448 MB, free: 29.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001826/0.3586, allocations: 1.051 MB / 449.1 MB, free: 28.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002299/0.3609, allocations: 1.531 MB / 450.6 MB, free: 28.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.3609, allocations: 0 / 450.6 MB, free: 28.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005835/0.3614, allocations: 106.4 kB / 450.7 MB, free: 28.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005188/0.362, allocations: 173.2 kB / 450.9 MB, free: 28.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.511e-05/0.362, allocations: 16.8 kB / 450.9 MB, free: 28.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004239/0.3662, allocations: 3.943 MB / 454.8 MB, free: 25.22 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.3662, allocations: 0.6562 kB / 454.8 MB, free: 25.22 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002301/0.3685, allocations: 1.022 MB / 455.9 MB, free: 24.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002858/0.3688, allocations: 217.4 kB / 456.1 MB, free: 24.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.429e-05/0.3689, allocations: 15.22 kB / 456.1 MB, free: 24.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005858/0.3695, allocations: 46.2 kB / 456.1 MB, free: 24.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/0.3697, allocations: 53.8 kB / 456.2 MB, free: 24.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.504e-05/0.3697, allocations: 15.59 kB / 456.2 MB, free: 24.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00054/0.3702, allocations: 420.4 kB / 456.6 MB, free: 24.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3702, allocations: 0 / 456.6 MB, free: 24.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001005/0.3712, allocations: 252.2 kB / 456.9 MB, free: 24.55 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.0001873/0.3714, allocations: 118.7 kB / 457 MB, free: 24.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002162/0.3736, allocations: 0.9921 MB / 458 MB, free: 23.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.3736, allocations: 2.75 kB / 458 MB, free: 23.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009411/0.3745, allocations: 0.5265 MB / 458.5 MB, free: 23.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000947/0.3755, allocations: 217.6 kB / 458.7 MB, free: 23.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002553/0.378, allocations: 1.347 MB / 460.1 MB, free: 22.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/0.3785, allocations: 0.9164 MB / 461 MB, free: 22.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/0.3787, allocations: 59.95 kB / 461 MB, free: 22.08 MB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3787, allocations: 0 / 461 MB, free: 22.08 MB / 366.1 MB Notification: Performance of Templates: time 0.02172/0.4004, allocations: 16.26 MB / 477.3 MB, free: 15.66 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.897230967879295]