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.001486/0.001486, allocations: 108.4 kB / 18.34 MB, free: 4.676 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.001721/0.001721, allocations: 186.9 kB / 19.28 MB, free: 3.75 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.397/1.397, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.00119/0.00119, allocations: 52.39 kB / 282.1 MB, free: 2.441 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08137/0.08258, allocations: 46.63 MB / 328.7 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.03121/0.1138, allocations: 32.57 MB / 361.3 MB, free: 3.039 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01663/0.1305, allocations: 15.73 MB / 377 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003131/0.1309, allocations: 8 kB / 377 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007889/0.1317, allocations: 270.4 kB / 377.3 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006938/0.1324, allocations: 358 kB / 377.7 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1736/0.306, allocations: 5.783 MB / 383.4 MB, free: 12.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001278/0.3073, allocations: 0.9909 MB / 384.4 MB, free: 12.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002523/0.3076, allocations: 107.2 kB / 384.5 MB, free: 12.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005286/0.3129, allocations: 2.199 MB / 386.7 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004523/0.3133, allocations: 308.2 kB / 387 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.096e-05/0.3134, allocations: 43.5 kB / 387.1 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01172/0.3251, allocations: 6.064 MB / 393.1 MB, free: 11.53 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001821/0.3253, allocations: 109.8 kB / 393.2 MB, free: 11.53 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004416/0.3258, allocations: 229.4 kB / 393.5 MB, free: 11.53 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007813/0.3336, allocations: 3.779 MB / 397.2 MB, free: 11.42 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3337, allocations: 0 / 397.2 MB, free: 11.42 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3337, allocations: 3.375 kB / 397.3 MB, free: 11.42 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.3337, allocations: 4 kB / 397.3 MB, free: 11.41 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.002908/0.3366, allocations: 1.011 MB / 398.3 MB, free: 10.72 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.3366, allocations: 14.61 kB / 398.3 MB, free: 10.72 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001298/0.3379, allocations: 148.4 kB / 398.4 MB, free: 10.66 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000423/0.3384, allocations: 322.2 kB / 398.7 MB, free: 10.4 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.369e-05/0.3384, allocations: 35.56 kB / 398.8 MB, free: 10.4 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.678e-05/0.3385, allocations: 31.62 kB / 398.8 MB, free: 10.4 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.3397, allocations: 0.5532 MB / 399.4 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.3398, allocations: 0 / 399.4 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.836e-05/0.3398, allocations: 15.31 kB / 399.4 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.3398, allocations: 8.125 kB / 399.4 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001282/0.3411, allocations: 0.5004 MB / 399.9 MB, free: 10.04 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.002314/0.3434, allocations: 2.601 MB / 402.5 MB, free: 7.832 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/0.3447, allocations: 436.3 kB / 402.9 MB, free: 7.719 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003564/0.3451, allocations: 170.3 kB / 403.1 MB, free: 7.688 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006405/0.3458, allocations: 0.5663 MB / 403.6 MB, free: 7.156 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.3458, allocations: 36.19 kB / 403.7 MB, free: 7.117 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 1.723e-06/0.3458, allocations: 1.875 kB / 403.7 MB, free: 7.117 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.004308/0.3501, allocations: 1.502 MB / 405.2 MB, free: 6.449 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.313e-05/0.3502, allocations: 58.34 kB / 405.2 MB, free: 6.383 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.3504, allocations: 248.7 kB / 405.5 MB, free: 6.254 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.3504, allocations: 31.2 kB / 405.5 MB, free: 6.223 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.372e-05/0.3505, allocations: 180.6 kB / 405.7 MB, free: 6.086 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.7e-05/0.3506, allocations: 121.5 kB / 405.8 MB, free: 6 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.3507, allocations: 76.88 kB / 405.9 MB, free: 5.977 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.883e-05/0.3507, allocations: 336 kB / 406.2 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003458/0.3511, allocations: 147.4 kB / 406.4 MB, free: 5.625 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003612/0.3514, allocations: 235.8 kB / 406.6 MB, free: 5.492 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006812/0.3521, allocations: 393.5 kB / 407 MB, free: 5.348 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3521, allocations: 2.719 kB / 407 MB, free: 5.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001066/0.3532, allocations: 0.5037 MB / 407.5 MB, free: 5.207 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.3532, allocations: 9.25 kB / 407.5 MB, free: 5.203 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.3533, allocations: 6.922 kB / 407.5 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004676/0.3537, allocations: 111.3 kB / 407.6 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003362/0.3541, allocations: 85.08 kB / 407.7 MB, free: 5.141 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/0.3554, allocations: 2.506 MB / 410.2 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002615/0.3557, allocations: 30.28 kB / 410.2 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.222e-05/0.3557, allocations: 15.88 kB / 410.2 MB, free: 2.691 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.0001442/0.3559, allocations: 159.2 kB / 410.4 MB, free: 2.578 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.042e-05/0.3559, allocations: 33.16 kB / 410.4 MB, free: 2.562 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001555/0.3575, allocations: 1.328 MB / 411.7 MB, free: 2.242 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.3575, allocations: 20.31 kB / 411.8 MB, free: 2.234 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.3575, allocations: 6.688 kB / 411.8 MB, free: 2.23 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001316/0.3589, allocations: 1.418 MB / 413.2 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002122/0.361, allocations: 2.106 MB / 415.3 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.361, allocations: 0 / 415.3 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003621/0.3614, allocations: 91.08 kB / 415.4 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003034/0.3617, allocations: 73.83 kB / 415.5 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.3617, allocations: 10.28 kB / 415.5 MB, free: 168 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003502/0.3621, allocations: 0.593 MB / 416.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3621, allocations: 0 / 416.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.3638, allocations: 1.27 MB / 417.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.635e-05/0.3639, allocations: 123.5 kB / 417.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.474e-05/0.364, allocations: 24.62 kB / 417.5 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002628/0.3643, allocations: 26.34 kB / 417.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.57e-05/0.3644, allocations: 36.98 kB / 417.5 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.3644, allocations: 15.64 kB / 417.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002446/0.3647, allocations: 231 kB / 417.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3647, allocations: 4 kB / 417.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003445/0.3681, allocations: 0.8512 MB / 418.6 MB, free: 13.62 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.003997/0.3721, allocations: 0.9753 MB / 419.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001379/0.3735, allocations: 0.6516 MB / 420.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3735, allocations: 0.6875 kB / 420.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006416/0.3742, allocations: 425.8 kB / 420.7 MB, free: 11.67 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.3752, allocations: 189.5 kB / 420.9 MB, free: 11.49 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.3771, allocations: 1.248 MB / 422.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.3776, allocations: 0.8727 MB / 423 MB, free: 9.332 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003247/0.3779, allocations: 139.1 kB / 423.1 MB, free: 9.199 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.919e-05/0.378, allocations: 43.42 kB / 423.2 MB, free: 9.156 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.378, allocations: 0 / 423.2 MB, free: 9.156 MB / 334.1 MB Notification: Performance of Templates: time 0.04698/0.425, allocations: 35.72 MB / 458.9 MB, free: 5.477 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 gbode -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