Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001154/0.001154, allocations: 174 kB / 17.36 MB, free: 4.316 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.3/1.3, allocations: 205.6 MB / 223.7 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007538/0.0007538, allocations: 94.53 kB / 272.1 MB, free: 8.109 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002999/0.0003002, allocations: 8 kB / 329 MB, free: 15.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2522, allocations: 47.58 MB / 376.6 MB, free: 45.56 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.04063/0.2929, allocations: 36.98 MB / 413.6 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02555/0.3185, allocations: 22.84 MB / 436.4 MB, free: 1.453 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004157/0.3189, allocations: 3.938 kB / 436.4 MB, free: 1.449 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000785/0.3197, allocations: 234.8 kB / 436.7 MB, free: 1.219 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006902/0.3204, allocations: 350.2 kB / 437 MB, free: 0.875 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01605/0.3365, allocations: 4.68 MB / 441.7 MB, free: 12.18 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001642/0.3382, allocations: 1.43 MB / 443.1 MB, free: 10.75 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002409/0.3384, allocations: 81.06 kB / 443.2 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005004/0.3434, allocations: 2.122 MB / 445.3 MB, free: 8.516 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005064/0.344, allocations: 302.8 kB / 445.6 MB, free: 8.219 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.495e-05/0.344, allocations: 20 kB / 445.6 MB, free: 8.199 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006928/0.351, allocations: 3.371 MB / 449 MB, free: 4.824 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001672/0.3512, allocations: 79.72 kB / 449.1 MB, free: 4.746 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003672/0.3515, allocations: 224.8 kB / 449.3 MB, free: 4.52 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004677/0.3562, allocations: 2.319 MB / 451.6 MB, free: 2.195 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3563, allocations: 0 / 451.6 MB, free: 2.195 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3563, allocations: 0 / 451.6 MB, free: 2.195 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.3563, allocations: 0 / 451.6 MB, free: 2.195 MB / 330.7 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.001834/0.3581, allocations: 0.7487 MB / 452.4 MB, free: 1.398 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.3582, allocations: 8.031 kB / 452.4 MB, free: 1.391 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007279/0.3589, allocations: 92.41 kB / 452.5 MB, free: 1.301 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004243/0.3593, allocations: 300.1 kB / 452.8 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.446e-05/0.3594, allocations: 25.03 kB / 452.8 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.274e-05/0.3595, allocations: 28.38 kB / 452.8 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008593/0.3603, allocations: 458 kB / 453.3 MB, free: 432 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.3604, allocations: 0 / 453.3 MB, free: 432 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.394e-05/0.3604, allocations: 20 kB / 453.3 MB, free: 412 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.863e-05/0.3605, allocations: 8 kB / 453.3 MB, free: 404 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006638/0.3611, allocations: 313.8 kB / 453.6 MB, free: 88 kB / 330.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.0036/0.3647, allocations: 2.618 MB / 456.2 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005435/0.3653, allocations: 254.5 kB / 456.5 MB, free: 12.97 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.3655, allocations: 105.7 kB / 456.6 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0307/0.3962, allocations: 15.59 MB / 472.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.3963, allocations: 38.5 kB / 472.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 2.104e-06/0.3963, allocations: 0 / 472.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.004647/0.4009, allocations: 1.312 MB / 473.5 MB, free: 10.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.401, allocations: 51.41 kB / 473.6 MB, free: 9.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003393/0.4013, allocations: 274.5 kB / 473.8 MB, free: 9.699 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.4014, allocations: 29.7 kB / 473.9 MB, free: 9.664 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.4015, allocations: 188.1 kB / 474 MB, free: 9.477 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.533e-05/0.4016, allocations: 114.4 kB / 474.2 MB, free: 9.363 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.614e-05/0.4016, allocations: 4 kB / 474.2 MB, free: 9.359 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.4018, allocations: 346.7 kB / 474.5 MB, free: 9.012 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.4019, allocations: 92.84 kB / 474.6 MB, free: 8.918 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.4022, allocations: 218.9 kB / 474.8 MB, free: 8.652 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000423/0.4026, allocations: 354.3 kB / 475.1 MB, free: 8.254 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4026, allocations: 0 / 475.1 MB, free: 8.254 MB / 362.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007144/0.4033, allocations: 450.9 kB / 475.6 MB, free: 7.801 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.872e-05/0.4034, allocations: 8 kB / 475.6 MB, free: 7.793 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.4034, allocations: 8.031 kB / 475.6 MB, free: 7.785 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002957/0.4064, allocations: 265.4 kB / 475.9 MB, free: 7.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003003/0.4067, allocations: 79.91 kB / 475.9 MB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001322/0.408, allocations: 1.875 MB / 477.8 MB, free: 5.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002737/0.4083, allocations: 23.89 kB / 477.8 MB, free: 5.387 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/0.4084, allocations: 23.94 kB / 477.9 MB, free: 5.363 MB / 362.7 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.0002102/0.4086, allocations: 173.7 kB / 478 MB, free: 5.184 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.576e-05/0.4086, allocations: 31.66 kB / 478.1 MB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/0.4098, allocations: 0.9319 MB / 479 MB, free: 4.199 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/0.4099, allocations: 16.02 kB / 479 MB, free: 4.184 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.4099, allocations: 4 kB / 479 MB, free: 4.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009636/0.4108, allocations: 1.114 MB / 480.1 MB, free: 2.977 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001904/0.4128, allocations: 1.595 MB / 481.7 MB, free: 1.312 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.4128, allocations: 4 kB / 481.7 MB, free: 1.309 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/0.413, allocations: 51.91 kB / 481.8 MB, free: 1.258 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001629/0.4146, allocations: 295.8 kB / 482.1 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/0.4147, allocations: 8 kB / 482.1 MB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000468/0.4151, allocations: 0.6655 MB / 482.7 MB, free: 272 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4152, allocations: 3.938 kB / 482.7 MB, free: 268 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.4162, allocations: 0.9488 MB / 483.7 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.4164, allocations: 140.4 kB / 483.8 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.43e-05/0.4165, allocations: 11.94 kB / 483.8 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.4167, allocations: 12.06 kB / 483.9 MB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/0.4168, allocations: 23.97 kB / 483.9 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/0.4168, allocations: 15.98 kB / 483.9 MB, free: 15.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002437/0.4171, allocations: 235.1 kB / 484.1 MB, free: 14.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4171, allocations: 0 / 484.1 MB, free: 14.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001489/0.4186, allocations: 499.8 kB / 484.6 MB, free: 14.35 MB / 378.7 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.002221/0.4208, allocations: 0.522 MB / 485.1 MB, free: 13.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.4218, allocations: 0.5144 MB / 485.6 MB, free: 13.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.4218, allocations: 0 / 485.6 MB, free: 13.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004463/0.4223, allocations: 300.8 kB / 485.9 MB, free: 13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.4234, allocations: 188.9 kB / 486.1 MB, free: 12.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.4252, allocations: 1.245 MB / 487.4 MB, free: 11.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.4256, allocations: 0.8167 MB / 488.2 MB, free: 10.71 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003731/0.4259, allocations: 111.1 kB / 488.3 MB, free: 10.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.446e-05/0.426, allocations: 39.42 kB / 488.3 MB, free: 10.56 MB / 378.7 MB Notification: Performance of SimCode: time 6.52e-07/0.426, allocations: 0 / 488.3 MB, free: 10.56 MB / 378.7 MB Notification: Performance of Templates: time 0.0296/0.4556, allocations: 18.42 MB / 0.4949 GB, free: 8.18 MB / 394.7 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