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_ph.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_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001106, allocations: 104.3 kB / 17.16 MB, free: 6.316 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.001048/0.001048, allocations: 190 kB / 18.07 MB, free: 5.414 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.501/1.501, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001161/0.001161, allocations: 52.36 kB / 280 MB, free: 3.562 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09346/0.09464, allocations: 46.62 MB / 326.6 MB, free: 4.875 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.03421/0.1289, allocations: 33.25 MB / 359.9 MB, free: 3.504 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01899/0.1479, allocations: 16.67 MB / 376.5 MB, free: 2.785 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004297/0.1484, allocations: 7.938 kB / 376.5 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007557/0.1492, allocations: 234.8 kB / 376.8 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007352/0.15, allocations: 358.2 kB / 377.1 MB, free: 2.195 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1994/0.3494, allocations: 4.665 MB / 381.8 MB, free: 12.58 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001985/0.3514, allocations: 1.438 MB / 383.2 MB, free: 12.58 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001805/0.3516, allocations: 81.41 kB / 383.3 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005215/0.3568, allocations: 2.129 MB / 385.4 MB, free: 12.13 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005083/0.3573, allocations: 318.3 kB / 385.7 MB, free: 12.13 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.423e-05/0.3574, allocations: 20.22 kB / 385.8 MB, free: 12.13 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01288/0.3703, allocations: 6.002 MB / 391.8 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002344/0.3706, allocations: 97.33 kB / 391.9 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005296/0.3711, allocations: 204.7 kB / 392.1 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00887/0.38, allocations: 3.788 MB / 395.8 MB, free: 11.81 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.38, allocations: 0 / 395.8 MB, free: 11.81 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3801, allocations: 0 / 395.8 MB, free: 11.81 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.3801, allocations: 0 / 395.8 MB, free: 11.81 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.003165/0.3832, allocations: 1.014 MB / 396.9 MB, free: 11.12 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.3833, allocations: 10.92 kB / 396.9 MB, free: 11.12 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/0.3846, allocations: 148.3 kB / 397 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.3849, allocations: 309.3 kB / 397.3 MB, free: 10.81 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/0.385, allocations: 34.47 kB / 397.4 MB, free: 10.81 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.379e-05/0.385, allocations: 32.62 kB / 397.4 MB, free: 10.81 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.3864, allocations: 0.5468 MB / 397.9 MB, free: 10.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.3864, allocations: 3.469 kB / 397.9 MB, free: 10.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.333e-05/0.3865, allocations: 18.14 kB / 398 MB, free: 10.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.3865, allocations: 11.23 kB / 398 MB, free: 10.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/0.3879, allocations: 0.4945 MB / 398.5 MB, free: 10.45 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.002606/0.3905, allocations: 2.613 MB / 401.1 MB, free: 8.234 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/0.3918, allocations: 445.4 kB / 401.5 MB, free: 8.113 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003611/0.3922, allocations: 164.4 kB / 401.7 MB, free: 8.082 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006703/0.3929, allocations: 0.5653 MB / 402.2 MB, free: 7.551 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.3929, allocations: 37.03 kB / 402.3 MB, free: 7.512 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 2.335e-06/0.3929, allocations: 0 / 402.3 MB, free: 7.512 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.004453/0.3974, allocations: 1.507 MB / 403.8 MB, free: 6.852 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.3974, allocations: 58.25 kB / 403.8 MB, free: 6.785 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/0.3977, allocations: 253.6 kB / 404.1 MB, free: 6.648 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.3977, allocations: 30.27 kB / 404.1 MB, free: 6.617 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.3978, allocations: 191.1 kB / 404.3 MB, free: 6.48 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.288e-05/0.3979, allocations: 113.6 kB / 404.4 MB, free: 6.398 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.398, allocations: 74.97 kB / 404.5 MB, free: 6.375 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.581e-05/0.3981, allocations: 337.2 kB / 404.8 MB, free: 6.055 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004045/0.3985, allocations: 143.9 kB / 404.9 MB, free: 6.023 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004616/0.399, allocations: 234.2 kB / 405.2 MB, free: 5.891 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008109/0.3998, allocations: 393.1 kB / 405.6 MB, free: 5.746 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3999, allocations: 2.625 kB / 405.6 MB, free: 5.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001219/0.4011, allocations: 0.5043 MB / 406.1 MB, free: 5.605 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.4011, allocations: 5.312 kB / 406.1 MB, free: 5.605 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.4011, allocations: 3.25 kB / 406.1 MB, free: 5.605 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004773/0.4016, allocations: 113 kB / 406.2 MB, free: 5.555 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003488/0.402, allocations: 89.94 kB / 406.3 MB, free: 5.539 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001321/0.4033, allocations: 2.406 MB / 408.7 MB, free: 3.195 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003816/0.4037, allocations: 45.7 kB / 408.7 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.57e-05/0.4037, allocations: 26.05 kB / 408.8 MB, free: 3.176 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (fixedMassFlowRate.medium.phase,volume.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000191/0.4039, allocations: 153.9 kB / 408.9 MB, free: 3.062 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.625e-05/0.404, allocations: 33.06 kB / 408.9 MB, free: 3.047 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001889/0.4059, allocations: 1.338 MB / 410.3 MB, free: 2.727 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.802e-05/0.4059, allocations: 20.56 kB / 410.3 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.406, allocations: 0 / 410.3 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001379/0.4073, allocations: 1.421 MB / 411.7 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002525/0.4099, allocations: 2.108 MB / 413.8 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/0.4099, allocations: 3.984 kB / 413.8 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003765/0.4103, allocations: 95.27 kB / 413.9 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003376/0.4106, allocations: 67.22 kB / 414 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.434e-05/0.4107, allocations: 7 kB / 414 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002637/0.4109, allocations: 0.5918 MB / 414.6 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4109, allocations: 7.125 kB / 414.6 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.4127, allocations: 1.269 MB / 415.9 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.4128, allocations: 131.9 kB / 416 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.273e-05/0.4129, allocations: 18.16 kB / 416 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003084/0.4132, allocations: 37.75 kB / 416 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.4133, allocations: 38.09 kB / 416.1 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-05/0.4134, allocations: 13.53 kB / 416.1 MB, free: 15.56 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002636/0.4136, allocations: 234.4 kB / 416.3 MB, free: 15.4 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.273e-06/0.4136, allocations: 2.812 kB / 416.3 MB, free: 15.4 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.004326/0.418, allocations: 0.8616 MB / 417.2 MB, free: 14.65 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.h) * Number of discrete variables: 11 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004973/0.423, allocations: 0.9731 MB / 418.2 MB, free: 13.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001422/0.4244, allocations: 0.6441 MB / 418.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.4244, allocations: 4 kB / 418.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006652/0.4251, allocations: 413.4 kB / 419.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.4263, allocations: 186.3 kB / 419.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.4285, allocations: 1.514 MB / 420.9 MB, free: 11 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.4289, allocations: 0.8688 MB / 421.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003897/0.4293, allocations: 154.9 kB / 421.9 MB, free: 9.965 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.484e-05/0.4294, allocations: 31.44 kB / 422 MB, free: 9.934 MB / 334.1 MB Notification: Performance of SimCode: time 1.493e-06/0.4294, allocations: 0 / 422 MB, free: 9.934 MB / 334.1 MB Notification: Performance of Templates: time 0.04984/0.4793, allocations: 35.3 MB / 457.3 MB, free: 6.711 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph_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_ph/WaterIF97_ph.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches