Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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 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 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) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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.WaterIF97OnePhase_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 97.19 kB / 16.99 MB, free: 5.941 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.00156/0.00156, allocations: 175.5 kB / 17.87 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2076/0.2076, allocations: 44.23 MB / 337.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003459, allocations: 10.25 kB / 409.6 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1124, allocations: 61.92 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03443/0.1468, allocations: 33.1 MB / 0.4927 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2536/0.4005, allocations: 17.21 MB / 0.5096 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.4016, allocations: 25.34 kB / 0.5096 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001586/0.4032, allocations: 389.3 kB / 0.5099 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01142/0.4146, allocations: 3.995 MB / 0.5138 GB, free: 12.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006426/0.4211, allocations: 2.115 MB / 0.5159 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002785/0.4239, allocations: 1.166 MB / 0.5171 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009835/0.4249, allocations: 417.5 kB / 0.5175 GB, free: 12.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01256/0.4375, allocations: 6.301 MB / 0.5236 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01224/0.4497, allocations: 8.763 MB / 0.5322 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002065/0.45, allocations: 38.73 kB / 0.5322 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01684/0.4668, allocations: 7.182 MB / 0.5392 GB, free: 6.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000567/0.4674, allocations: 230.4 kB / 0.5394 GB, free: 5.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005503/0.468, allocations: 188.7 kB / 0.5396 GB, free: 5.809 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006157/0.4742, allocations: 3.466 MB / 0.543 GB, free: 2.863 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.4742, allocations: 1.5 kB / 0.543 GB, free: 2.863 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4742, allocations: 0 / 0.543 GB, free: 2.863 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.4742, allocations: 0 / 0.543 GB, free: 2.863 MB / 382.1 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.003335/0.4775, allocations: 1.494 MB / 0.5445 GB, free: 1.418 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.4776, allocations: 12.56 kB / 0.5445 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002016/0.4796, allocations: 319.5 kB / 0.5448 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007717/0.4804, allocations: 0.5444 MB / 0.5453 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.335e-05/0.4805, allocations: 110.1 kB / 0.5454 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.359e-05/0.4806, allocations: 57.02 kB / 0.5455 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002151/0.4827, allocations: 1.165 MB / 0.5466 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/0.4828, allocations: 6.906 kB / 0.5466 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.369e-05/0.4829, allocations: 31.41 kB / 0.5466 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.511e-05/0.4829, allocations: 40.86 kB / 0.5467 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001601/0.4845, allocations: 0.8493 MB / 0.5475 GB, free: 14.92 MB / 398.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.006032/0.4906, allocations: 5.511 MB / 0.5529 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.4917, allocations: 0.5697 MB / 0.5534 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09853/0.5903, allocations: 46.64 MB / 0.599 GB, free: 6.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.585e-05/0.5904, allocations: 38.44 kB / 0.599 GB, free: 6.277 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 3.055e-06/0.5904, allocations: 0 / 0.599 GB, free: 6.277 MB / 446.1 MB Notification: Performance of matching and sorting (n=46): time 0.005461/0.5959, allocations: 1.937 MB / 0.6009 GB, free: 4.723 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001787/0.5961, allocations: 162.2 kB / 0.6011 GB, free: 4.527 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008342/0.5969, allocations: 0.6232 MB / 0.6017 GB, free: 4.047 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.542e-05/0.597, allocations: 35.52 kB / 0.6017 GB, free: 4.012 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002957/0.5973, allocations: 393.9 kB / 0.6021 GB, free: 3.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.5974, allocations: 169.3 kB / 0.6023 GB, free: 3.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.5975, allocations: 15.69 kB / 0.6023 GB, free: 3.586 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.5977, allocations: 383.5 kB / 0.6026 GB, free: 3.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003742/0.5981, allocations: 221.8 kB / 0.6028 GB, free: 3.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006055/0.5987, allocations: 0.5632 MB / 0.6034 GB, free: 2.469 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005008/0.5992, allocations: 329.8 kB / 0.6037 GB, free: 2.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.5992, allocations: 4 kB / 0.6037 GB, free: 2.266 MB / 446.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001367/0.6006, allocations: 0.8643 MB / 0.6046 GB, free: 1.676 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.065e-05/0.6006, allocations: 8 kB / 0.6046 GB, free: 1.668 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.6006, allocations: 12 kB / 0.6046 GB, free: 1.656 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003422/0.601, allocations: 67.88 kB / 0.6046 GB, free: 1.598 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.6023, allocations: 283.5 kB / 0.6049 GB, free: 1.344 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001794/0.6041, allocations: 1.988 MB / 0.6069 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006237/0.6047, allocations: 53.94 kB / 0.6069 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.297e-05/0.6048, allocations: 40.94 kB / 0.6069 GB, free: 15.23 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 10 (volume.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004801/0.6053, allocations: 276.3 kB / 0.6072 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/0.6054, allocations: 71.16 kB / 0.6073 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002487/0.6079, allocations: 2.224 MB / 0.6094 GB, free: 13.51 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.56e-05/0.6079, allocations: 28.02 kB / 0.6095 GB, free: 13.49 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.608, allocations: 11.98 kB / 0.6095 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.608, allocations: 0 / 0.6095 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003748/0.6117, allocations: 3.284 MB / 0.6127 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.6117, allocations: 0 / 0.6127 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000942/0.6127, allocations: 195.5 kB / 0.6129 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000392/0.6131, allocations: 95.86 kB / 0.613 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.37e-05/0.6131, allocations: 16 kB / 0.613 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/0.6147, allocations: 2.001 MB / 0.6149 GB, free: 8.762 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.6147, allocations: 0 / 0.6149 GB, free: 8.762 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00234/0.6171, allocations: 1.994 MB / 0.6169 GB, free: 6.742 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004659/0.6176, allocations: 283.2 kB / 0.6172 GB, free: 6.445 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.497e-05/0.6177, allocations: 12 kB / 0.6172 GB, free: 6.434 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005665/0.6182, allocations: 60.02 kB / 0.6172 GB, free: 6.375 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.643e-05/0.6183, allocations: 36.39 kB / 0.6173 GB, free: 6.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.587e-05/0.6184, allocations: 23.98 kB / 0.6173 GB, free: 6.316 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006709/0.6191, allocations: 0.5029 MB / 0.6178 GB, free: 5.812 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6191, allocations: 0 / 0.6178 GB, free: 5.812 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003102/0.6222, allocations: 1.089 MB / 0.6188 GB, free: 4.723 MB / 462.1 MB 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: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00377/0.626, allocations: 1.21 MB / 0.62 GB, free: 3.617 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001897/0.6279, allocations: 0.926 MB / 0.6209 GB, free: 2.73 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.6279, allocations: 0 / 0.6209 GB, free: 2.73 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.6291, allocations: 0.6808 MB / 0.6216 GB, free: 2.055 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001832/0.6309, allocations: 360.9 kB / 0.6219 GB, free: 1.711 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003372/0.6343, allocations: 2.71 MB / 0.6246 GB, free: 14.98 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006777/0.635, allocations: 1.14 MB / 0.6257 GB, free: 13.81 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009118/0.6359, allocations: 451.2 kB / 0.6261 GB, free: 13.38 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.6361, allocations: 63.44 kB / 0.6262 GB, free: 13.31 MB / 478.1 MB Notification: Performance of SimCode: time 5.81e-07/0.6361, allocations: 0 / 0.6262 GB, free: 13.31 MB / 478.1 MB Notification: Performance of Templates: time 0.06201/0.6981, allocations: 45.24 MB / 0.6704 GB, free: 300 kB / 0.4981 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches