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.0008758/0.0008759, allocations: 92.53 kB / 17.3 MB, free: 6.023 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.0009339/0.0009343, allocations: 174.2 kB / 18.2 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.431/1.431, allocations: 205.4 MB / 224.4 MB, free: 12.98 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.0006642/0.0006642, allocations: 12 kB / 281.4 MB, free: 3.379 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1089, allocations: 47.58 MB / 329 MB, free: 3.734 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.03804/0.147, allocations: 32.51 MB / 361.5 MB, free: 3.102 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02307/0.1701, allocations: 16.4 MB / 377.9 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005981/0.1708, allocations: 3.938 kB / 377.9 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.1718, allocations: 238.8 kB / 378.1 MB, free: 2.414 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001358/0.1732, allocations: 342.2 kB / 378.5 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2373/0.4106, allocations: 4.666 MB / 383.1 MB, free: 12 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002697/0.4133, allocations: 1.444 MB / 384.6 MB, free: 12 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002599/0.4136, allocations: 85.58 kB / 384.7 MB, free: 11.99 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00547/0.419, allocations: 2.121 MB / 386.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005174/0.4196, allocations: 309.4 kB / 387.1 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.269e-05/0.4197, allocations: 19.22 kB / 387.1 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01434/0.434, allocations: 6.002 MB / 393.1 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002377/0.4343, allocations: 92.11 kB / 393.2 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005129/0.4348, allocations: 225.5 kB / 393.4 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01075/0.4456, allocations: 3.757 MB / 397.2 MB, free: 10.87 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.4456, allocations: 2.281 kB / 397.2 MB, free: 10.87 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.4456, allocations: 3.656 kB / 397.2 MB, free: 10.87 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.4456, allocations: 0 / 397.2 MB, free: 10.87 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.003396/0.449, allocations: 0.9474 MB / 398.1 MB, free: 10.2 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.4491, allocations: 13.39 kB / 398.1 MB, free: 10.19 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/0.4505, allocations: 157.4 kB / 398.3 MB, free: 10.14 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.4508, allocations: 315.5 kB / 398.6 MB, free: 9.883 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.415e-05/0.4509, allocations: 32.03 kB / 398.6 MB, free: 9.883 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.718e-05/0.4509, allocations: 30.62 kB / 398.7 MB, free: 9.883 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.4523, allocations: 0.575 MB / 399.2 MB, free: 9.645 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.4523, allocations: 6.438 kB / 399.2 MB, free: 9.641 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.855e-05/0.4524, allocations: 13.88 kB / 399.3 MB, free: 9.641 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.4524, allocations: 10.78 kB / 399.3 MB, free: 9.641 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.4537, allocations: 0.5374 MB / 399.8 MB, free: 9.512 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.002676/0.4564, allocations: 2.629 MB / 402.4 MB, free: 7.289 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/0.4579, allocations: 479 kB / 402.9 MB, free: 7.172 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003713/0.4583, allocations: 180.6 kB / 403.1 MB, free: 7.137 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006138/0.4589, allocations: 0.5603 MB / 403.6 MB, free: 6.609 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.4589, allocations: 44.17 kB / 403.7 MB, free: 6.566 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 1.563e-06/0.4589, allocations: 0 / 403.7 MB, free: 6.566 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.005851/0.4648, allocations: 1.59 MB / 405.3 MB, free: 5.898 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.4649, allocations: 59.09 kB / 405.3 MB, free: 5.832 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003169/0.4652, allocations: 254.8 kB / 405.6 MB, free: 5.695 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/0.4652, allocations: 33.39 kB / 405.6 MB, free: 5.664 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.4654, allocations: 182.8 kB / 405.8 MB, free: 5.527 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.847e-05/0.4655, allocations: 112.8 kB / 405.9 MB, free: 5.449 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-05/0.4655, allocations: 41.66 kB / 405.9 MB, free: 5.426 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.4657, allocations: 342.5 kB / 406.3 MB, free: 5.102 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005056/0.4662, allocations: 145.9 kB / 406.4 MB, free: 5.074 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005363/0.4667, allocations: 256.8 kB / 406.7 MB, free: 4.938 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.4677, allocations: 413.5 kB / 407.1 MB, free: 4.789 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4678, allocations: 3.562 kB / 407.1 MB, free: 4.789 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001591/0.4694, allocations: 0.527 MB / 407.6 MB, free: 4.652 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.4694, allocations: 7.125 kB / 407.6 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.4694, allocations: 3.406 kB / 407.6 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006515/0.4701, allocations: 120.3 kB / 407.7 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004484/0.4705, allocations: 98.5 kB / 407.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001806/0.4724, allocations: 2.425 MB / 410.2 MB, free: 2.234 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006002/0.473, allocations: 64.8 kB / 410.3 MB, free: 2.211 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-05/0.473, allocations: 21.17 kB / 410.3 MB, free: 2.211 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.0002839/0.4733, allocations: 153.8 kB / 410.5 MB, free: 2.098 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.616e-05/0.4734, allocations: 32.25 kB / 410.5 MB, free: 2.086 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002592/0.476, allocations: 1.372 MB / 411.9 MB, free: 1.754 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.521e-05/0.4761, allocations: 16 kB / 411.9 MB, free: 1.746 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.4761, allocations: 0 / 411.9 MB, free: 1.746 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001985/0.4781, allocations: 1.459 MB / 413.4 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003248/0.4813, allocations: 2.148 MB / 415.5 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.4814, allocations: 0 / 415.5 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004009/0.4818, allocations: 100.7 kB / 415.6 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003513/0.4821, allocations: 71.95 kB / 415.7 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.4822, allocations: 15.3 kB / 415.7 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003142/0.4825, allocations: 0.5953 MB / 416.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.4825, allocations: 7.594 kB / 416.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001843/0.4844, allocations: 1.307 MB / 417.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001975/0.4846, allocations: 158.4 kB / 417.8 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.96e-05/0.4846, allocations: 13.17 kB / 417.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003419/0.485, allocations: 45.69 kB / 417.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.4851, allocations: 40.58 kB / 417.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.781e-05/0.4851, allocations: 15.23 kB / 417.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002749/0.4854, allocations: 230 kB / 418.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4854, allocations: 0 / 418.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.004485/0.4899, allocations: 0.8607 MB / 419 MB, free: 14.28 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.007901/0.4978, allocations: 0.967 MB / 419.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002086/0.5, allocations: 0.6803 MB / 420.6 MB, free: 12.87 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.5, allocations: 3.938 kB / 420.6 MB, free: 12.87 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.501, allocations: 430 kB / 421 MB, free: 12.46 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001772/0.5028, allocations: 192 kB / 421.2 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003171/0.506, allocations: 1.566 MB / 422.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005997/0.5066, allocations: 0.8727 MB / 423.6 MB, free: 9.797 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0006458/0.5073, allocations: 142 kB / 423.8 MB, free: 9.664 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.5074, allocations: 43.42 kB / 423.8 MB, free: 9.621 MB / 334.1 MB Notification: Performance of SimCode: time 1.543e-06/0.5075, allocations: 0 / 423.8 MB, free: 9.621 MB / 334.1 MB Notification: Performance of Templates: time 0.05502/0.5625, allocations: 35.24 MB / 459.1 MB, free: 6.453 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