Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008071/0.0008071, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003122/0.003122, allocations: 156.9 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8473/0.8473, allocations: 177 MB / 204.9 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.945e-05/2.087e-05, allocations: 2.281 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.00356/0.003581, allocations: 4.379 MB / 330.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.005212, allocations: 1.339 MB / 331.5 MB, free: 9.629 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.005387, allocations: 7.938 kB / 331.5 MB, free: 9.621 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00028/0.005667, allocations: 150.7 kB / 331.6 MB, free: 9.473 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004053/0.006072, allocations: 357.1 kB / 332 MB, free: 9.121 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.006343, allocations: 219.5 kB / 332.2 MB, free: 8.906 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006539/0.006997, allocations: 1.087 MB / 333.3 MB, free: 7.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002319/0.007228, allocations: 186.4 kB / 333.5 MB, free: 7.629 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004965/0.007725, allocations: 0.6081 MB / 334.1 MB, free: 7.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002803/0.008005, allocations: 331.1 kB / 334.4 MB, free: 6.695 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.063e-05/0.008086, allocations: 92 kB / 334.5 MB, free: 6.605 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.752e-05/0.008173, allocations: 92 kB / 334.6 MB, free: 6.516 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.928e-05/0.008273, allocations: 195.3 kB / 334.8 MB, free: 6.324 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000213/0.008486, allocations: 339.3 kB / 335.1 MB, free: 5.992 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006999/0.009186, allocations: 1.122 MB / 336.2 MB, free: 4.867 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.009188, allocations: 0 / 336.2 MB, free: 4.867 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.009189, allocations: 0 / 336.2 MB, free: 4.867 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.009197, allocations: 0 / 336.2 MB, free: 4.867 MB / 298.7 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.001252/0.01045, allocations: 1.16 MB / 337.4 MB, free: 3.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.01048, allocations: 15.98 kB / 337.4 MB, free: 3.645 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003567/0.01084, allocations: 108.3 kB / 337.5 MB, free: 3.539 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005018/0.01134, allocations: 466.2 kB / 338 MB, free: 3.055 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/0.01146, allocations: 152.7 kB / 338.1 MB, free: 2.879 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.768e-05/0.01152, allocations: 52.38 kB / 338.2 MB, free: 2.828 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009632/0.01248, allocations: 1.546 MB / 339.7 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.0125, allocations: 8.188 kB / 339.7 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.055e-05/0.01254, allocations: 32.12 kB / 339.7 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.01255, allocations: 12 kB / 339.8 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006819/0.01323, allocations: 0.4957 MB / 340.3 MB, free: 452 kB / 298.7 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.001891/0.01512, allocations: 1.667 MB / 341.9 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007294/0.01585, allocations: 0.4903 MB / 342.4 MB, free: 14.19 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003137/0.01616, allocations: 230.2 kB / 342.6 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.79e-05/0.0162, allocations: 16.48 kB / 342.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004256/0.01663, allocations: 319.2 kB / 343 MB, free: 13.62 MB / 314.7 MB Notification: Performance of pre-optimization done (n=56): time 1.784e-06/0.01663, allocations: 0 / 343 MB, free: 13.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=56): time 0.00255/0.01918, allocations: 1.321 MB / 344.3 MB, free: 12.29 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004301/0.01961, allocations: 0.831 MB / 345.1 MB, free: 11.26 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004015/0.02001, allocations: 0.55 MB / 345.7 MB, free: 10.7 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.133e-05/0.02005, allocations: 45.64 kB / 345.7 MB, free: 10.65 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.02023, allocations: 345.1 kB / 346.1 MB, free: 10.31 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.02034, allocations: 202.2 kB / 346.2 MB, free: 10.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.02049, allocations: 126.3 kB / 346.4 MB, free: 9.98 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.0206, allocations: 378.8 kB / 346.7 MB, free: 9.602 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003455/0.02095, allocations: 260.6 kB / 347 MB, free: 9.336 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007256/0.02168, allocations: 1.337 MB / 348.3 MB, free: 7.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006633/0.02234, allocations: 0.5564 MB / 348.9 MB, free: 7.082 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.02234, allocations: 0 / 348.9 MB, free: 7.082 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001194/0.02354, allocations: 0.9426 MB / 349.8 MB, free: 6.102 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.373e-05/0.02358, allocations: 67.39 kB / 349.9 MB, free: 6.023 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.02359, allocations: 4 kB / 349.9 MB, free: 6.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004277/0.02402, allocations: 229.4 kB / 350.1 MB, free: 5.789 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.02432, allocations: 115.8 kB / 350.2 MB, free: 5.676 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00393/0.02825, allocations: 4.27 MB / 354.5 MB, free: 1.207 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003725/0.02862, allocations: 83.62 kB / 354.6 MB, free: 1.125 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.02865, allocations: 23.98 kB / 354.6 MB, free: 1.102 MB / 314.7 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.0002106/0.02886, allocations: 221.7 kB / 354.8 MB, free: 0.875 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.673e-05/0.02892, allocations: 83.52 kB / 354.9 MB, free: 0.793 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.343e-05/0.029, allocations: 74.56 kB / 355 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.029, allocations: 8 kB / 355 MB, free: 0.707 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.02901, allocations: 0 / 355 MB, free: 0.707 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001133/0.03014, allocations: 1.049 MB / 356 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.0316, allocations: 1.316 MB / 357.4 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.0316, allocations: 0 / 357.4 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002883/0.03189, allocations: 107.9 kB / 357.5 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002921/0.03218, allocations: 169.8 kB / 357.6 MB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.0322, allocations: 8 kB / 357.6 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002911/0.03512, allocations: 3.661 MB / 361.3 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.03512, allocations: 8 kB / 361.3 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.03639, allocations: 1.018 MB / 362.3 MB, free: 8.977 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001797/0.03657, allocations: 127.5 kB / 362.4 MB, free: 8.852 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.909e-05/0.03662, allocations: 16 kB / 362.5 MB, free: 8.836 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002744/0.03689, allocations: 47.94 kB / 362.5 MB, free: 8.789 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.178e-05/0.03699, allocations: 52.41 kB / 362.6 MB, free: 8.738 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.03701, allocations: 15.98 kB / 362.6 MB, free: 8.723 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002951/0.0373, allocations: 390.8 kB / 363 MB, free: 8.344 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0373, allocations: 8 kB / 363 MB, free: 8.336 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004888/0.03779, allocations: 255.7 kB / 363.2 MB, free: 8.086 MB / 330.7 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.0001279/0.03792, allocations: 123.2 kB / 363.3 MB, free: 7.957 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001204/0.03912, allocations: 1.033 MB / 364.4 MB, free: 6.859 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.03913, allocations: 0.5 kB / 364.4 MB, free: 6.859 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005191/0.03964, allocations: 0.5273 MB / 364.9 MB, free: 6.305 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005332/0.04018, allocations: 207.2 kB / 365.1 MB, free: 6.102 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.04201, allocations: 1.279 MB / 366.4 MB, free: 4.797 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.04221, allocations: 323.9 kB / 366.7 MB, free: 4.457 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.04233, allocations: 60.48 kB / 366.8 MB, free: 4.398 MB / 330.7 MB Notification: Performance of SimCode: time 1.011e-06/0.04233, allocations: 0 / 366.8 MB, free: 4.398 MB / 330.7 MB Notification: Performance of Templates: time 0.01182/0.05415, allocations: 16.4 MB / 383.2 MB, free: 4.082 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.164826218038797]