Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.001461, allocations: 110.5 kB / 17.86 MB, free: 5.504 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.001825/0.001825, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.409/1.409, allocations: 222.9 MB / 242.5 MB, free: 13.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.201/0.201, allocations: 44.18 MB / 336.8 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 64.33 kB / 408.4 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08915/0.09033, allocations: 60.83 MB / 469.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.03795/0.1283, allocations: 40.25 MB / 0.4975 GB, free: 6.395 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2227/0.3511, allocations: 21.22 MB / 0.5182 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009391/0.3521, allocations: 25.66 kB / 0.5183 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.3533, allocations: 404 kB / 0.5186 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0141/0.3674, allocations: 4.172 MB / 0.5227 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007452/0.3749, allocations: 2.25 MB / 0.5249 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003733/0.3786, allocations: 2.82 MB / 0.5277 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008472/0.3795, allocations: 418.8 kB / 0.5281 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009475/0.389, allocations: 4.035 MB / 0.532 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01055/0.3996, allocations: 5.448 MB / 0.5373 GB, free: 6.004 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002434/0.3999, allocations: 35.91 kB / 0.5374 GB, free: 6.004 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01352/0.4134, allocations: 7.124 MB / 0.5443 GB, free: 2.504 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004583/0.4139, allocations: 251.6 kB / 0.5446 GB, free: 2.336 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007075/0.4146, allocations: 423.8 kB / 0.545 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006208/0.4208, allocations: 3.434 MB / 0.5483 GB, free: 14.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.4209, allocations: 0 / 0.5483 GB, free: 14.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4209, allocations: 4 kB / 0.5483 GB, free: 14.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.4209, allocations: 0 / 0.5483 GB, free: 14.68 MB / 398.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.004508/0.4254, allocations: 1.627 MB / 0.5499 GB, free: 13.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.4255, allocations: 11.97 kB / 0.5499 GB, free: 13 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/0.4269, allocations: 223 kB / 0.5501 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008477/0.4278, allocations: 0.5334 MB / 0.5506 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.4279, allocations: 111.8 kB / 0.5508 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.304e-05/0.428, allocations: 60.38 kB / 0.5508 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001924/0.4299, allocations: 1.077 MB / 0.5519 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.43, allocations: 4 kB / 0.5519 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-05/0.4301, allocations: 26.03 kB / 0.5519 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.374e-05/0.4302, allocations: 48.92 kB / 0.5519 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001583/0.4317, allocations: 0.8233 MB / 0.5527 GB, free: 9.984 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.005714/0.4375, allocations: 5.556 MB / 0.5582 GB, free: 4.102 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/0.4387, allocations: 0.5336 MB / 0.5587 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003321/0.439, allocations: 210.5 kB / 0.5589 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09137/0.5304, allocations: 47.45 MB / 0.6052 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.633e-05/0.5305, allocations: 46.48 kB / 0.6053 GB, free: 14.24 MB / 462.1 MB Notification: Performance of pre-optimization done (n=39): time 2.816e-06/0.5305, allocations: 0 / 0.6053 GB, free: 14.24 MB / 462.1 MB Notification: Performance of matching and sorting (n=44): time 0.006775/0.5373, allocations: 2.139 MB / 0.6074 GB, free: 12.04 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.508e-05/0.5374, allocations: 187.9 kB / 0.6075 GB, free: 11.81 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008464/0.5383, allocations: 0.6407 MB / 0.6082 GB, free: 11.17 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.939e-05/0.5383, allocations: 33.7 kB / 0.6082 GB, free: 11.13 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002938/0.5386, allocations: 398.6 kB / 0.6086 GB, free: 10.74 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.5388, allocations: 167.7 kB / 0.6087 GB, free: 10.58 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002212/0.539, allocations: 154.5 kB / 0.6089 GB, free: 10.43 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.5392, allocations: 386.8 kB / 0.6093 GB, free: 10.04 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003943/0.5396, allocations: 233.8 kB / 0.6095 GB, free: 9.809 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006374/0.5402, allocations: 0.5822 MB / 0.61 GB, free: 9.055 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.5413, allocations: 0.8678 MB / 0.6109 GB, free: 8.023 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/0.5414, allocations: 4 kB / 0.6109 GB, free: 8.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00152/0.5429, allocations: 0.8962 MB / 0.6118 GB, free: 7.113 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.5429, allocations: 8 kB / 0.6118 GB, free: 7.105 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-05/0.543, allocations: 12.78 kB / 0.6118 GB, free: 7.094 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003357/0.5463, allocations: 268.5 kB / 0.612 GB, free: 6.828 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.5475, allocations: 287.5 kB / 0.6123 GB, free: 6.547 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001756/0.5493, allocations: 2.015 MB / 0.6143 GB, free: 4.379 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006871/0.55, allocations: 64.75 kB / 0.6144 GB, free: 4.316 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.73e-05/0.5501, allocations: 36 kB / 0.6144 GB, free: 4.281 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * 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 {(2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004152/0.5505, allocations: 283.7 kB / 0.6147 GB, free: 3.996 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000191/0.5507, allocations: 75.14 kB / 0.6147 GB, free: 3.922 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002376/0.5531, allocations: 2.009 MB / 0.6167 GB, free: 1.902 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.694e-05/0.5531, allocations: 27.95 kB / 0.6167 GB, free: 1.875 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.5531, allocations: 0 / 0.6167 GB, free: 1.875 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.5532, allocations: 8.078 kB / 0.6167 GB, free: 1.867 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003634/0.5568, allocations: 3.006 MB / 0.6197 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.5568, allocations: 3.938 kB / 0.6197 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009027/0.5577, allocations: 179.8 kB / 0.6198 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001804/0.5596, allocations: 303.8 kB / 0.6201 GB, free: 14.32 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.793e-05/0.5596, allocations: 19.92 kB / 0.6201 GB, free: 14.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001686/0.5613, allocations: 2.073 MB / 0.6222 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.5613, allocations: 0 / 0.6222 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002195/0.5635, allocations: 1.951 MB / 0.6241 GB, free: 10.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000373/0.5639, allocations: 227.6 kB / 0.6243 GB, free: 9.855 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/0.5641, allocations: 27.69 kB / 0.6243 GB, free: 9.828 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005374/0.5646, allocations: 36.05 kB / 0.6244 GB, free: 9.793 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.393e-05/0.5647, allocations: 36.33 kB / 0.6244 GB, free: 9.754 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.194e-05/0.5648, allocations: 19.98 kB / 0.6244 GB, free: 9.734 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007911/0.5656, allocations: 0.5732 MB / 0.625 GB, free: 9.172 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5656, allocations: 0 / 0.625 GB, free: 9.172 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003348/0.5689, allocations: 1.089 MB / 0.626 GB, free: 8.082 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005137/0.5741, allocations: 1.19 MB / 0.6272 GB, free: 6.984 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002032/0.5761, allocations: 0.9167 MB / 0.6281 GB, free: 6.07 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.5761, allocations: 0 / 0.6281 GB, free: 6.07 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.5774, allocations: 0.6321 MB / 0.6287 GB, free: 5.441 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00215/0.5795, allocations: 378.5 kB / 0.6291 GB, free: 5.082 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00349/0.583, allocations: 2.583 MB / 0.6316 GB, free: 2.465 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006825/0.5837, allocations: 1.089 MB / 0.6327 GB, free: 1.352 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.5839, allocations: 71.36 kB / 0.6327 GB, free: 1.281 MB / 478.1 MB Notification: Performance of SimCode: time 5.51e-07/0.5839, allocations: 0 / 0.6327 GB, free: 1.281 MB / 478.1 MB Notification: Performance of Templates: time 0.04937/0.6333, allocations: 37.18 MB / 0.669 GB, free: 12.14 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches