Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.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.001455/0.001455, allocations: 101 kB / 21.93 MB, free: 5.203 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.001502/0.001502, allocations: 202.7 kB / 25.21 MB, free: 3.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 207.7 MB / 236.1 MB, free: 9.773 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 59.92 kB / 348.5 MB, free: 9.324 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2647, allocations: 49.15 MB / 397.6 MB, free: 9.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.03306/0.2978, allocations: 29.83 MB / 427.5 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01982/0.3176, allocations: 14.01 MB / 441.5 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007805/0.3184, allocations: 7.938 kB / 441.5 MB, free: 7.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001363/0.3198, allocations: 242.5 kB / 441.7 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001236/0.321, allocations: 369.9 kB / 442.1 MB, free: 6.754 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01865/0.3396, allocations: 5.707 MB / 447.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001488/0.3411, allocations: 0.9893 MB / 448.8 MB, free: 32 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002594/0.3414, allocations: 81.27 kB / 448.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005116/0.3465, allocations: 2.181 MB / 451 MB, free: 13.74 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004951/0.347, allocations: 310.7 kB / 451.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.695e-05/0.3471, allocations: 36 kB / 451.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007062/0.3541, allocations: 3.5 MB / 454.9 MB, free: 9.898 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002418/0.3544, allocations: 111.6 kB / 455 MB, free: 9.789 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003745/0.3547, allocations: 179.4 kB / 455.2 MB, free: 9.613 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005252/0.36, allocations: 2.366 MB / 457.5 MB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.36, allocations: 0 / 457.5 MB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.36, allocations: 0 / 457.5 MB, free: 7.242 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.36, allocations: 0 / 457.5 MB, free: 7.242 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001678/0.3617, allocations: 0.7575 MB / 458.3 MB, free: 6.453 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.3617, allocations: 11.98 kB / 458.3 MB, free: 6.441 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007625/0.3625, allocations: 92.59 kB / 458.4 MB, free: 6.352 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005481/0.3631, allocations: 245.9 kB / 458.6 MB, free: 6.086 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/0.3631, allocations: 25.03 kB / 458.7 MB, free: 6.062 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.467e-05/0.3631, allocations: 28.38 kB / 458.7 MB, free: 6.035 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009785/0.3641, allocations: 0.5904 MB / 459.3 MB, free: 5.359 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.3641, allocations: 7.938 kB / 459.3 MB, free: 5.352 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.184e-05/0.3642, allocations: 12 kB / 459.3 MB, free: 5.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.3642, allocations: 12 kB / 459.3 MB, free: 5.328 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006312/0.3648, allocations: 314.2 kB / 459.6 MB, free: 5.023 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.002632/0.3675, allocations: 1.846 MB / 461.5 MB, free: 3.098 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005687/0.368, allocations: 242.5 kB / 461.7 MB, free: 2.852 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/0.3682, allocations: 100.8 kB / 461.8 MB, free: 2.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03153/0.3997, allocations: 8.353 MB / 470.1 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.747e-05/0.3998, allocations: 38.56 kB / 470.2 MB, free: 10.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 2.144e-06/0.3998, allocations: 0 / 470.2 MB, free: 10.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.004613/0.4044, allocations: 1.15 MB / 471.3 MB, free: 9.148 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.4045, allocations: 55.41 kB / 471.4 MB, free: 9.082 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003019/0.4048, allocations: 252.7 kB / 471.6 MB, free: 8.828 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.746e-05/0.4048, allocations: 29.7 kB / 471.7 MB, free: 8.793 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.4049, allocations: 200.3 kB / 471.9 MB, free: 8.594 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.4051, allocations: 115 kB / 472 MB, free: 8.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/0.4052, allocations: 82.08 kB / 472.1 MB, free: 8.395 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002994/0.4055, allocations: 334.8 kB / 472.4 MB, free: 8.059 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/0.4057, allocations: 96.84 kB / 472.5 MB, free: 7.965 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003774/0.4061, allocations: 222.9 kB / 472.7 MB, free: 7.691 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006059/0.4067, allocations: 354.3 kB / 473 MB, free: 7.293 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.4067, allocations: 4 kB / 473 MB, free: 7.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008111/0.4075, allocations: 434.7 kB / 473.5 MB, free: 6.852 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.4076, allocations: 4.5 kB / 473.5 MB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.4076, allocations: 7.938 kB / 473.5 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003024/0.4106, allocations: 269.4 kB / 473.7 MB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003215/0.4109, allocations: 79.89 kB / 473.8 MB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00204/0.4129, allocations: 1.852 MB / 475.7 MB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.4132, allocations: 8 kB / 475.7 MB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.935e-05/0.4132, allocations: 23.98 kB / 475.7 MB, free: 4.48 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002249/0.4134, allocations: 161.7 kB / 475.9 MB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.917e-05/0.4135, allocations: 27.8 kB / 475.9 MB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/0.4149, allocations: 0.9816 MB / 476.9 MB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.4149, allocations: 8 kB / 476.9 MB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.4149, allocations: 8.062 kB / 476.9 MB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001194/0.4161, allocations: 1.156 MB / 478 MB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002111/0.4182, allocations: 1.439 MB / 479.5 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.4182, allocations: 4 kB / 479.5 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002072/0.4184, allocations: 47.97 kB / 479.5 MB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001647/0.4201, allocations: 299.8 kB / 479.8 MB, free: 208 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.4201, allocations: 4 kB / 479.8 MB, free: 204 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006507/0.4207, allocations: 0.6734 MB / 480.5 MB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4207, allocations: 0 / 480.5 MB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.422, allocations: 0.9841 MB / 481.5 MB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.707e-05/0.4221, allocations: 31.73 kB / 481.5 MB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.242e-05/0.4222, allocations: 19.83 kB / 481.5 MB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.4224, allocations: 8 kB / 481.5 MB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.4224, allocations: 23.95 kB / 481.6 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.4224, allocations: 8 kB / 481.6 MB, free: 14.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002556/0.4227, allocations: 219.1 kB / 481.8 MB, free: 14.19 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4227, allocations: 0 / 481.8 MB, free: 14.19 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001539/0.4242, allocations: 0.4916 MB / 482.3 MB, free: 13.7 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001765/0.426, allocations: 0.514 MB / 482.8 MB, free: 13.17 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.427, allocations: 0.5072 MB / 483.3 MB, free: 12.65 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.427, allocations: 0 / 483.3 MB, free: 12.65 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004615/0.4275, allocations: 284.3 kB / 483.6 MB, free: 12.37 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008938/0.4283, allocations: 156.6 kB / 483.7 MB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.4301, allocations: 1.061 MB / 484.8 MB, free: 11.12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.4303, allocations: 220.5 kB / 485 MB, free: 10.88 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.809e-05/0.4304, allocations: 35.42 kB / 485 MB, free: 10.85 MB / 398.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4304, allocations: 0 / 485 MB, free: 10.85 MB / 398.1 MB Notification: Performance of Templates: time 0.02465/0.4551, allocations: 15.01 MB / 0.4883 GB, free: 11.81 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.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.9007190708071]