Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_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.001281/0.001281, allocations: 112.7 kB / 17.04 MB, free: 5.801 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.001162/0.001162, allocations: 195 kB / 17.98 MB, free: 5.016 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.383/1.383, allocations: 205.1 MB / 223.8 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2036/0.2036, allocations: 43.53 MB / 314.7 MB, free: 480 kB / 254.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.00169/0.00169, allocations: 68.25 kB / 384.2 MB, free: 56.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.117, allocations: 57.79 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.03816/0.1552, allocations: 39.03 MB / 481 MB, free: 14.97 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02354/0.1788, allocations: 20.16 MB / 0.4894 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008317/0.1797, allocations: 19.88 kB / 0.4894 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001231/0.181, allocations: 449.3 kB / 0.4899 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01308/0.194, allocations: 5.095 MB / 0.4948 GB, free: 5.188 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006704/0.2008, allocations: 2.568 MB / 0.4974 GB, free: 2.617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002824/0.2036, allocations: 1.965 MB / 0.4993 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006928/0.2043, allocations: 477.6 kB / 0.4997 GB, free: 172 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009824/0.2141, allocations: 4.145 MB / 0.5038 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01196/0.2261, allocations: 5.417 MB / 0.5091 GB, free: 6.469 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003715/0.2266, allocations: 64 kB / 0.5091 GB, free: 6.406 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01595/0.2425, allocations: 7.239 MB / 0.5162 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005208/0.2431, allocations: 279.2 kB / 0.5165 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007446/0.2439, allocations: 453.9 kB / 0.5169 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01233/0.2562, allocations: 4.954 MB / 0.5217 GB, free: 9.477 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.2563, allocations: 0 / 0.5217 GB, free: 9.477 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.2563, allocations: 0 / 0.5217 GB, free: 9.477 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.2563, allocations: 0 / 0.5217 GB, free: 9.477 MB / 414.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.004312/0.2606, allocations: 1.633 MB / 0.5233 GB, free: 7.793 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.2607, allocations: 8.031 kB / 0.5233 GB, free: 7.785 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/0.2621, allocations: 223.8 kB / 0.5235 GB, free: 7.566 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009631/0.2631, allocations: 0.5676 MB / 0.5241 GB, free: 6.957 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.2632, allocations: 113.2 kB / 0.5242 GB, free: 6.836 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.2633, allocations: 64.12 kB / 0.5243 GB, free: 6.773 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001831/0.2651, allocations: 1.059 MB / 0.5253 GB, free: 5.602 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.2652, allocations: 7.938 kB / 0.5253 GB, free: 5.594 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.066e-05/0.2653, allocations: 35.98 kB / 0.5253 GB, free: 5.559 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.507e-05/0.2653, allocations: 40.98 kB / 0.5254 GB, free: 5.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001547/0.2669, allocations: 0.8232 MB / 0.5262 GB, free: 4.695 MB / 414.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.2279/0.4948, allocations: 5.543 MB / 0.5316 GB, free: 90.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.4962, allocations: 0.5363 MB / 0.5321 GB, free: 90.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003109/0.4965, allocations: 210.2 kB / 0.5323 GB, free: 90.31 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08614/0.5826, allocations: 47.64 MB / 0.5789 GB, free: 51.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.26e-05/0.5827, allocations: 49.14 kB / 0.5789 GB, free: 51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 3.617e-06/0.5828, allocations: 0 / 0.5789 GB, free: 51 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.006458/0.5892, allocations: 2.124 MB / 0.581 GB, free: 49.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.681e-05/0.5893, allocations: 191.8 kB / 0.5812 GB, free: 48.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007566/0.5901, allocations: 0.6424 MB / 0.5818 GB, free: 48.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.79e-05/0.5901, allocations: 33.7 kB / 0.5818 GB, free: 48.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/0.5904, allocations: 405.2 kB / 0.5822 GB, free: 47.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.5905, allocations: 161.8 kB / 0.5824 GB, free: 47.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001988/0.5907, allocations: 158.3 kB / 0.5825 GB, free: 47.51 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.5908, allocations: 378.8 kB / 0.5829 GB, free: 47.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003469/0.5912, allocations: 229.9 kB / 0.5831 GB, free: 46.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005004/0.5917, allocations: 0.5899 MB / 0.5837 GB, free: 46.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008986/0.5926, allocations: 0.8634 MB / 0.5845 GB, free: 45.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/0.5926, allocations: 8 kB / 0.5845 GB, free: 45.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001263/0.5939, allocations: 0.8947 MB / 0.5854 GB, free: 44.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.5939, allocations: 12 kB / 0.5854 GB, free: 44.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.5939, allocations: 15.19 kB / 0.5854 GB, free: 44.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003027/0.597, allocations: 266.4 kB / 0.5857 GB, free: 44.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.598, allocations: 287.8 kB / 0.5859 GB, free: 43.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001276/0.5993, allocations: 2.113 MB / 0.588 GB, free: 41.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005795/0.5999, allocations: 34.98 kB / 0.588 GB, free: 41.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-05/0.5999, allocations: 48.16 kB / 0.5881 GB, free: 41.38 MB / 414.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.0003544/0.6003, allocations: 277.3 kB / 0.5883 GB, free: 41.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001982/0.6005, allocations: 76.97 kB / 0.5884 GB, free: 41.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001982/0.6025, allocations: 1.998 MB / 0.5904 GB, free: 39.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/0.6025, allocations: 27.97 kB / 0.5904 GB, free: 38.99 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.6025, allocations: 0 / 0.5904 GB, free: 38.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.6026, allocations: 3.984 kB / 0.5904 GB, free: 38.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002741/0.6053, allocations: 2.994 MB / 0.5933 GB, free: 35.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.6053, allocations: 0 / 0.5933 GB, free: 35.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008401/0.6062, allocations: 189.7 kB / 0.5935 GB, free: 35.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001545/0.6077, allocations: 307.8 kB / 0.5938 GB, free: 35.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-05/0.6078, allocations: 16 kB / 0.5938 GB, free: 35.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001167/0.6089, allocations: 2.174 MB / 0.5959 GB, free: 33.1 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.609, allocations: 0 / 0.5959 GB, free: 33.1 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/0.6106, allocations: 1.949 MB / 0.5978 GB, free: 31.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002948/0.6109, allocations: 219.7 kB / 0.5981 GB, free: 30.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.611, allocations: 38.8 kB / 0.5981 GB, free: 30.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004546/0.6115, allocations: 16 kB / 0.5981 GB, free: 30.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.372e-05/0.6115, allocations: 37.2 kB / 0.5981 GB, free: 30.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-05/0.6116, allocations: 20.06 kB / 0.5982 GB, free: 30.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006392/0.6122, allocations: 0.5732 MB / 0.5987 GB, free: 30.22 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.6122, allocations: 0 / 0.5987 GB, free: 30.22 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002787/0.615, allocations: 1.084 MB / 0.5998 GB, free: 29.21 MB / 414.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.004531/0.6196, allocations: 1.195 MB / 0.6009 GB, free: 28.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001727/0.6213, allocations: 0.9206 MB / 0.6018 GB, free: 27.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.6213, allocations: 4 kB / 0.6018 GB, free: 27.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.6224, allocations: 0.64 MB / 0.6025 GB, free: 26.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002178/0.6246, allocations: 411 kB / 0.6029 GB, free: 26.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002764/0.6274, allocations: 2.121 MB / 0.6049 GB, free: 24.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004789/0.6279, allocations: 1.097 MB / 0.606 GB, free: 23.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006736/0.6285, allocations: 345.8 kB / 0.6063 GB, free: 22.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.6287, allocations: 59.42 kB / 0.6064 GB, free: 22.62 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.6287, allocations: 0 / 0.6064 GB, free: 22.62 MB / 414.1 MB Notification: Performance of Templates: time 0.06324/0.6919, allocations: 45.23 MB / 0.6506 GB, free: 9.473 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches