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.001369/0.001369, allocations: 108.4 kB / 18.34 MB, free: 4.699 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.001504/0.001504, allocations: 190.9 kB / 19.28 MB, free: 3.766 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.343/1.343, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001225/0.001225, allocations: 52.39 kB / 282.1 MB, free: 2.445 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08955/0.09079, allocations: 46.63 MB / 328.7 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.03272/0.1235, allocations: 32.57 MB / 361.3 MB, free: 3.051 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01782/0.1414, allocations: 15.75 MB / 377 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003035/0.1418, allocations: 7.938 kB / 377 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007278/0.1425, allocations: 270.4 kB / 377.3 MB, free: 2.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006559/0.1432, allocations: 357.9 kB / 377.7 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1662/0.3094, allocations: 5.775 MB / 383.4 MB, free: 12.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001365/0.3108, allocations: 0.9924 MB / 384.4 MB, free: 12.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.311, allocations: 105 kB / 384.5 MB, free: 12.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004672/0.3157, allocations: 2.201 MB / 386.7 MB, free: 11.69 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003749/0.3161, allocations: 307.7 kB / 387 MB, free: 11.69 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.748e-05/0.3161, allocations: 41.66 kB / 387.1 MB, free: 11.69 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01004/0.3262, allocations: 6.07 MB / 393.1 MB, free: 11.67 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.3263, allocations: 113.8 kB / 393.3 MB, free: 11.67 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002943/0.3266, allocations: 222 kB / 393.5 MB, free: 11.67 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005342/0.332, allocations: 3.781 MB / 397.3 MB, free: 11.55 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.332, allocations: 0 / 397.3 MB, free: 11.55 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.332, allocations: 2.688 kB / 397.3 MB, free: 11.55 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.332, allocations: 0 / 397.3 MB, free: 11.55 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.002186/0.3342, allocations: 1.013 MB / 398.3 MB, free: 10.85 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.3343, allocations: 13.92 kB / 398.3 MB, free: 10.85 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/0.3355, allocations: 150.2 kB / 398.4 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004244/0.3359, allocations: 329.1 kB / 398.7 MB, free: 10.53 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.776e-05/0.336, allocations: 30.28 kB / 398.8 MB, free: 10.53 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.696e-05/0.3361, allocations: 32.5 kB / 398.8 MB, free: 10.53 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.3373, allocations: 0.5524 MB / 399.4 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.3374, allocations: 0 / 399.4 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.584e-05/0.3374, allocations: 13.78 kB / 399.4 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.3374, allocations: 10.62 kB / 399.4 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.3387, allocations: 0.4986 MB / 399.9 MB, free: 10.17 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.002311/0.3411, allocations: 2.595 MB / 402.5 MB, free: 7.961 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.3424, allocations: 443.7 kB / 402.9 MB, free: 7.844 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003487/0.3428, allocations: 165.5 kB / 403.1 MB, free: 7.812 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006012/0.3434, allocations: 0.5632 MB / 403.6 MB, free: 7.285 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.3434, allocations: 39.25 kB / 403.7 MB, free: 7.246 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 1.392e-06/0.3434, allocations: 0 / 403.7 MB, free: 7.246 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.004326/0.3478, allocations: 1.5 MB / 405.2 MB, free: 6.582 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/0.3478, allocations: 67.8 kB / 405.2 MB, free: 6.508 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.348, allocations: 244.7 kB / 405.5 MB, free: 6.383 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.348, allocations: 32.89 kB / 405.5 MB, free: 6.352 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.453e-05/0.3481, allocations: 184 kB / 405.7 MB, free: 6.215 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.542e-05/0.3482, allocations: 117.3 kB / 405.8 MB, free: 6.129 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.861e-05/0.3483, allocations: 78.92 kB / 405.9 MB, free: 6.105 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.278e-05/0.3483, allocations: 336.3 kB / 406.2 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003383/0.3487, allocations: 142.1 kB / 406.4 MB, free: 5.754 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003631/0.3491, allocations: 239.6 kB / 406.6 MB, free: 5.621 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007175/0.3498, allocations: 392.5 kB / 407 MB, free: 5.477 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3498, allocations: 0 / 407 MB, free: 5.477 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001092/0.3509, allocations: 0.5072 MB / 407.5 MB, free: 5.336 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.3509, allocations: 6.531 kB / 407.5 MB, free: 5.336 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3509, allocations: 6.781 kB / 407.5 MB, free: 5.332 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004544/0.3514, allocations: 107.1 kB / 407.6 MB, free: 5.285 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/0.3517, allocations: 90.59 kB / 407.7 MB, free: 5.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/0.353, allocations: 2.5 MB / 410.2 MB, free: 2.836 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002705/0.3533, allocations: 29.16 kB / 410.2 MB, free: 2.828 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/0.3533, allocations: 18.77 kB / 410.2 MB, free: 2.824 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.0001449/0.3535, allocations: 167.6 kB / 410.4 MB, free: 2.707 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.638e-05/0.3535, allocations: 32.16 kB / 410.4 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001574/0.3551, allocations: 1.322 MB / 411.7 MB, free: 2.375 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/0.3551, allocations: 19.91 kB / 411.8 MB, free: 2.367 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.3552, allocations: 3.344 kB / 411.8 MB, free: 2.367 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001272/0.3564, allocations: 1.415 MB / 413.2 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002009/0.3584, allocations: 2.108 MB / 415.3 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.3585, allocations: 5.844 kB / 415.3 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003566/0.3588, allocations: 89.77 kB / 415.4 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002873/0.3591, allocations: 69.23 kB / 415.5 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.3592, allocations: 18.84 kB / 415.5 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003084/0.3595, allocations: 0.5885 MB / 416.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3595, allocations: 0 / 416.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/0.3611, allocations: 1.27 MB / 417.3 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.894e-05/0.3612, allocations: 120.6 kB / 417.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.842e-05/0.3613, allocations: 28.39 kB / 417.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002563/0.3616, allocations: 26.27 kB / 417.5 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.67e-05/0.3617, allocations: 37.7 kB / 417.5 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.83e-05/0.3617, allocations: 17.48 kB / 417.6 MB, free: 14.78 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002219/0.3619, allocations: 236.4 kB / 417.8 MB, free: 14.55 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3619, allocations: 0 / 417.8 MB, free: 14.55 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003022/0.365, allocations: 0.8551 MB / 418.6 MB, free: 13.7 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.003378/0.3684, allocations: 0.9746 MB / 419.6 MB, free: 12.8 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00123/0.3696, allocations: 0.6501 MB / 420.3 MB, free: 12.15 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3696, allocations: 0 / 420.3 MB, free: 12.15 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000647/0.3703, allocations: 419.6 kB / 420.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009803/0.3713, allocations: 194.2 kB / 420.9 MB, free: 11.56 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.3731, allocations: 1.242 MB / 422.1 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.3735, allocations: 0.8766 MB / 423 MB, free: 9.402 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003084/0.3738, allocations: 150.1 kB / 423.1 MB, free: 9.262 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.145e-05/0.3739, allocations: 35.44 kB / 423.2 MB, free: 9.227 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3739, allocations: 0 / 423.2 MB, free: 9.227 MB / 334.1 MB Notification: Performance of Templates: time 0.04574/0.4196, allocations: 35.72 MB / 458.9 MB, free: 5.539 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 -s cvode -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/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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