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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009134/0.0009133, allocations: 99.28 kB / 17.3 MB, free: 6.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008676/0.0008676, allocations: 179.2 kB / 18.2 MB, free: 5.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000521/0.000521, allocations: 12 kB / 281.4 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08728/0.08781, allocations: 47.59 MB / 329 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.03339/0.1212, allocations: 32.5 MB / 361.5 MB, free: 3.129 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01961/0.1409, allocations: 16.41 MB / 377.9 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003987/0.1413, allocations: 0 / 377.9 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007145/0.1421, allocations: 230.8 kB / 378.1 MB, free: 2.445 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006784/0.1428, allocations: 350.2 kB / 378.5 MB, free: 2.102 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2206/0.3634, allocations: 4.666 MB / 383.1 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002256/0.3657, allocations: 1.433 MB / 384.6 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000228/0.3659, allocations: 79.09 kB / 384.6 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004826/0.3708, allocations: 2.108 MB / 386.7 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004728/0.3712, allocations: 304.3 kB / 387 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.68e-05/0.3713, allocations: 17.53 kB / 387.1 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00672/0.378, allocations: 3.513 MB / 390.6 MB, free: 11.51 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.3782, allocations: 84.14 kB / 390.7 MB, free: 11.51 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003675/0.3786, allocations: 223.5 kB / 390.9 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003521/0.3821, allocations: 2.33 MB / 393.2 MB, free: 11.45 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3821, allocations: 0 / 393.2 MB, free: 11.45 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3822, allocations: 1.594 kB / 393.2 MB, free: 11.45 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.3822, allocations: 0 / 393.2 MB, free: 11.45 MB / 318.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.001383/0.3836, allocations: 0.7418 MB / 393.9 MB, free: 10.96 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.3836, allocations: 9.438 kB / 394 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007538/0.3844, allocations: 88.53 kB / 394 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/0.3847, allocations: 304.5 kB / 394.3 MB, free: 10.72 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/0.3848, allocations: 24.12 kB / 394.4 MB, free: 10.72 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.492e-05/0.3848, allocations: 32.31 kB / 394.4 MB, free: 10.72 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008042/0.3856, allocations: 450.8 kB / 394.8 MB, free: 10.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.3857, allocations: 3.031 kB / 394.8 MB, free: 10.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.993e-05/0.3857, allocations: 13.06 kB / 394.8 MB, free: 10.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.3857, allocations: 8.531 kB / 394.9 MB, free: 10.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000624/0.3864, allocations: 318 kB / 395.2 MB, free: 10.57 MB / 318.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.002471/0.3888, allocations: 2.626 MB / 397.8 MB, free: 8.488 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005461/0.3894, allocations: 252.6 kB / 398 MB, free: 8.461 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.3896, allocations: 105.1 kB / 398.1 MB, free: 8.453 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03068/0.4202, allocations: 15.6 MB / 413.7 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.99e-05/0.4203, allocations: 30.56 kB / 413.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 2.755e-06/0.4203, allocations: 7.344 kB / 413.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.004408/0.4248, allocations: 1.313 MB / 415.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.4248, allocations: 54.97 kB / 415.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003423/0.4252, allocations: 271.5 kB / 415.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.4252, allocations: 29.14 kB / 415.4 MB, free: 11.92 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.4254, allocations: 194.6 kB / 415.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.559e-05/0.4255, allocations: 114.3 kB / 415.7 MB, free: 11.69 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/0.4255, allocations: 37.67 kB / 415.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.4257, allocations: 336.8 kB / 416.1 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.4258, allocations: 103.3 kB / 416.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002716/0.4261, allocations: 219.2 kB / 416.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003971/0.4265, allocations: 356.9 kB / 416.8 MB, free: 11.03 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4265, allocations: 0 / 416.8 MB, free: 11.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006715/0.4272, allocations: 445.1 kB / 417.2 MB, free: 10.92 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.4272, allocations: 5.875 kB / 417.2 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.4273, allocations: 5.625 kB / 417.2 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003127/0.4304, allocations: 268.1 kB / 417.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003154/0.4307, allocations: 80.89 kB / 417.6 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001745/0.4325, allocations: 1.881 MB / 419.4 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003396/0.4328, allocations: 33.55 kB / 419.5 MB, free: 8.984 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.203e-05/0.4329, allocations: 15.5 kB / 419.5 MB, free: 8.984 MB / 334.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.0002809/0.4332, allocations: 168.3 kB / 419.7 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.612e-05/0.4332, allocations: 27.59 kB / 419.7 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/0.4345, allocations: 0.953 MB / 420.6 MB, free: 8.516 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.4345, allocations: 7.984 kB / 420.6 MB, free: 8.508 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.4345, allocations: 4 kB / 420.6 MB, free: 8.504 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001064/0.4356, allocations: 1.116 MB / 421.8 MB, free: 7.602 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001997/0.4376, allocations: 1.589 MB / 423.3 MB, free: 6.453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.4376, allocations: 6.344 kB / 423.4 MB, free: 6.449 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.4378, allocations: 46.42 kB / 423.4 MB, free: 6.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001754/0.4396, allocations: 295.7 kB / 423.7 MB, free: 6.168 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.481e-05/0.4396, allocations: 10.36 kB / 423.7 MB, free: 6.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005838/0.4402, allocations: 0.6743 MB / 424.4 MB, free: 5.527 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4402, allocations: 0 / 424.4 MB, free: 5.527 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.4415, allocations: 0.9437 MB / 425.3 MB, free: 4.891 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.4417, allocations: 142 kB / 425.5 MB, free: 4.742 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.579e-05/0.4417, allocations: 12.16 kB / 425.5 MB, free: 4.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.4419, allocations: 15.92 kB / 425.5 MB, free: 4.727 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.442, allocations: 19.91 kB / 425.5 MB, free: 4.711 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.442, allocations: 8 kB / 425.5 MB, free: 4.703 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002498/0.4423, allocations: 245.2 kB / 425.8 MB, free: 4.508 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4423, allocations: 4.062 kB / 425.8 MB, free: 4.504 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002314/0.4446, allocations: 499.7 kB / 426.2 MB, free: 4.035 MB / 334.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.001954/0.4465, allocations: 0.5081 MB / 426.8 MB, free: 3.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009/0.4475, allocations: 0.5189 MB / 427.3 MB, free: 3.184 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.4475, allocations: 2.734 kB / 427.3 MB, free: 3.184 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004181/0.4479, allocations: 300.4 kB / 427.6 MB, free: 3.008 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.449, allocations: 187.2 kB / 427.7 MB, free: 2.855 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.4506, allocations: 1.247 MB / 429 MB, free: 1.742 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.451, allocations: 0.8206 MB / 429.8 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003282/0.4513, allocations: 107.2 kB / 429.9 MB, free: 0.793 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.528e-05/0.4514, allocations: 39 kB / 430 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4514, allocations: 0 / 430 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of Templates: time 0.02738/0.4788, allocations: 18.41 MB / 448.4 MB, free: 14.44 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins/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","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches