Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009746/0.0009747, allocations: 105 kB / 291.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3494/0.3494, allocations: 44.13 MB / 386.1 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 55.92 kB / 457.8 MB, free: 2.277 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3329, allocations: 60.8 MB / 0.5064 GB, free: 38.28 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.04238/0.3753, allocations: 40.24 MB / 0.5457 GB, free: 9.883 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02305/0.3984, allocations: 21.25 MB / 0.5664 GB, free: 10.97 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001593/0.4001, allocations: 28.09 kB / 0.5665 GB, free: 10.95 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001467/0.4016, allocations: 394.6 kB / 0.5669 GB, free: 10.74 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01578/0.4174, allocations: 4.173 MB / 0.5709 GB, free: 8.816 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008655/0.4261, allocations: 2.233 MB / 0.5731 GB, free: 7.602 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005065/0.4312, allocations: 2.855 MB / 0.5759 GB, free: 6.207 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001139/0.4323, allocations: 427.6 kB / 0.5763 GB, free: 5.93 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01239/0.4448, allocations: 4.06 MB / 0.5803 GB, free: 3.445 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01397/0.4588, allocations: 5.46 MB / 0.5856 GB, free: 14.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004495/0.4593, allocations: 39.94 kB / 0.5856 GB, free: 14.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01817/0.4775, allocations: 7.263 MB / 0.5927 GB, free: 7.438 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007362/0.4782, allocations: 251.2 kB / 0.593 GB, free: 7.191 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00164/0.4799, allocations: 422 kB / 0.5934 GB, free: 6.777 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01917/0.4991, allocations: 5.083 MB / 0.5983 GB, free: 1.684 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.4992, allocations: 4 kB / 0.5983 GB, free: 1.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4992, allocations: 0 / 0.5983 GB, free: 1.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.439e-05/0.4992, allocations: 0 / 0.5983 GB, free: 1.68 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.006242/0.5055, allocations: 1.684 MB / 0.6 GB, free: 15.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.5055, allocations: 19.95 kB / 0.6 GB, free: 15.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002366/0.5079, allocations: 295.7 kB / 0.6003 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.5091, allocations: 0.5522 MB / 0.6008 GB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/0.5093, allocations: 125.2 kB / 0.6009 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.5095, allocations: 60.06 kB / 0.601 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002876/0.5124, allocations: 1.193 MB / 0.6022 GB, free: 13.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/0.5124, allocations: 4 kB / 0.6022 GB, free: 13.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.195e-05/0.5125, allocations: 27.98 kB / 0.6022 GB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.601e-05/0.5126, allocations: 45.23 kB / 0.6022 GB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002549/0.5151, allocations: 1.031 MB / 0.6032 GB, free: 12.45 MB / 426.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.006955/0.5221, allocations: 5.607 MB / 0.6087 GB, free: 6.469 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002342/0.5245, allocations: 0.7664 MB / 0.6095 GB, free: 5.684 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005831/0.5251, allocations: 297.4 kB / 0.6098 GB, free: 5.391 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03371/0.5588, allocations: 15.86 MB / 0.6252 GB, free: 3.66 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.181e-05/0.5589, allocations: 38.56 kB / 0.6253 GB, free: 3.613 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 2.615e-06/0.5589, allocations: 0 / 0.6253 GB, free: 3.613 MB / 442.7 MB Notification: Performance of matching and sorting (n=49): time 0.007667/0.5666, allocations: 2.275 MB / 0.6275 GB, free: 1.281 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.029e-05/0.5667, allocations: 162.7 kB / 0.6277 GB, free: 1.086 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008046/0.5675, allocations: 0.6093 MB / 0.6283 GB, free: 480 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.095e-05/0.5676, allocations: 37.7 kB / 0.6283 GB, free: 436 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003533/0.568, allocations: 395.1 kB / 0.6287 GB, free: 32 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/0.5682, allocations: 169.8 kB / 0.6288 GB, free: 15.86 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002423/0.5684, allocations: 162.5 kB / 0.629 GB, free: 15.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.5686, allocations: 378.8 kB / 0.6293 GB, free: 15.32 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006378/0.5692, allocations: 281.8 kB / 0.6296 GB, free: 15.04 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008686/0.5701, allocations: 0.6081 MB / 0.6302 GB, free: 14.27 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/0.5716, allocations: 0.8987 MB / 0.6311 GB, free: 13.23 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.5717, allocations: 4 kB / 0.6311 GB, free: 13.22 MB / 458.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001993/0.5737, allocations: 0.961 MB / 0.632 GB, free: 12.25 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.5737, allocations: 8 kB / 0.632 GB, free: 12.24 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/0.5737, allocations: 15.98 kB / 0.6321 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002824/0.574, allocations: 56.83 kB / 0.6321 GB, free: 12.17 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.5753, allocations: 303.8 kB / 0.6324 GB, free: 11.87 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/0.577, allocations: 1.982 MB / 0.6343 GB, free: 9.734 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007643/0.5778, allocations: 76.03 kB / 0.6344 GB, free: 9.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.187e-05/0.5779, allocations: 48 kB / 0.6344 GB, free: 9.613 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.heatTransfer.states[1].phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 prepare postOptimizeDAE: time 0.0004516/0.5783, allocations: 270 kB / 0.6347 GB, free: 9.34 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/0.5785, allocations: 75.16 kB / 0.6348 GB, free: 9.266 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003513/0.5821, allocations: 2.554 MB / 0.6373 GB, free: 6.707 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-05/0.5821, allocations: 43.88 kB / 0.6373 GB, free: 6.664 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.5821, allocations: 0 / 0.6373 GB, free: 6.664 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.5822, allocations: 0 / 0.6373 GB, free: 6.664 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00489/0.5871, allocations: 3.758 MB / 0.641 GB, free: 2.828 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/0.5871, allocations: 3.938 kB / 0.641 GB, free: 2.824 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.5882, allocations: 227.7 kB / 0.6412 GB, free: 2.602 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003411/0.5885, allocations: 84.78 kB / 0.6413 GB, free: 2.516 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.77e-05/0.5886, allocations: 12 kB / 0.6413 GB, free: 2.504 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001523/0.5901, allocations: 1.991 MB / 0.6432 GB, free: 364 kB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.5901, allocations: 3.938 kB / 0.6432 GB, free: 360 kB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4526/1.043, allocations: 80.63 MB / 0.722 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003302/1.043, allocations: 260.7 kB / 0.7222 GB, free: 120 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/1.043, allocations: 33.22 kB / 0.7223 GB, free: 120 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005137/1.044, allocations: 62.91 kB / 0.7223 GB, free: 120 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/1.044, allocations: 50.52 kB / 0.7224 GB, free: 120 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.045e-05/1.044, allocations: 20.61 kB / 0.7224 GB, free: 120 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007212/1.045, allocations: 0.5602 MB / 0.7229 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-07/1.045, allocations: 0 / 0.7229 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.014/1.059, allocations: 3.856 MB / 0.7267 GB, free: 119.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].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 (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.02642/1.085, allocations: 2.811 MB / 0.7294 GB, free: 119 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002762/1.088, allocations: 1.099 MB / 0.7305 GB, free: 118.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/1.088, allocations: 4 kB / 0.7305 GB, free: 118.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00152/1.09, allocations: 0.8184 MB / 0.7313 GB, free: 118.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002175/1.092, allocations: 377.1 kB / 0.7317 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004639/1.096, allocations: 4.297 MB / 0.7359 GB, free: 115.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007122/1.097, allocations: 1.253 MB / 0.7371 GB, free: 115 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001129/1.098, allocations: 473.8 kB / 0.7376 GB, free: 115 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002195/1.098, allocations: 80.27 kB / 0.7376 GB, free: 115 MB / 0.4948 GB Notification: Performance of SimCode: time 5.11e-07/1.098, allocations: 0 / 0.7376 GB, free: 115 MB / 0.4948 GB Notification: Performance of Templates: time 0.4219/1.52, allocations: 170 MB / 0.9037 GB, free: 146.4 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_ph/WaterIF97_ph.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches