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.001316/0.001316, allocations: 103.1 kB / 16.64 MB, free: 6.812 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.001132/0.001132, allocations: 190.5 kB / 17.56 MB, free: 5.922 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.363/1.363, allocations: 205.1 MB / 223.4 MB, free: 12.46 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.1994/0.1994, allocations: 43.52 MB / 314.3 MB, free: 0.707 MB / 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.002026/0.002026, allocations: 68.66 kB / 382.9 MB, free: 56.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08564/0.08768, allocations: 57.79 MB / 440.7 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.03581/0.1235, allocations: 39.49 MB / 480.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0219/0.1455, allocations: 20.27 MB / 0.4887 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008038/0.1463, allocations: 23.81 kB / 0.4887 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.1475, allocations: 401.9 kB / 0.4891 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01184/0.1594, allocations: 4.535 MB / 0.4935 GB, free: 6.449 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006041/0.1654, allocations: 2.344 MB / 0.4958 GB, free: 4.098 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002399/0.1678, allocations: 1.969 MB / 0.4978 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007408/0.1686, allocations: 485.5 kB / 0.4982 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007927/0.1765, allocations: 4.129 MB / 0.5022 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009696/0.1863, allocations: 5.452 MB / 0.5076 GB, free: 7.918 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002141/0.1865, allocations: 68 kB / 0.5076 GB, free: 7.852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01197/0.1985, allocations: 7.141 MB / 0.5146 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004605/0.199, allocations: 279.1 kB / 0.5149 GB, free: 440 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006255/0.1996, allocations: 446.1 kB / 0.5153 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005667/0.2053, allocations: 3.454 MB / 0.5187 GB, free: 12.53 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2053, allocations: 0 / 0.5187 GB, free: 12.53 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2053, allocations: 0 / 0.5187 GB, free: 12.53 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.685e-05/0.2054, allocations: 0 / 0.5187 GB, free: 12.53 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.003913/0.2093, allocations: 1.625 MB / 0.5203 GB, free: 10.86 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.2093, allocations: 8.031 kB / 0.5203 GB, free: 10.85 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001483/0.2108, allocations: 227.8 kB / 0.5205 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000791/0.2116, allocations: 0.5403 MB / 0.521 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.2117, allocations: 109.3 kB / 0.5211 GB, free: 9.926 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.861e-05/0.2119, allocations: 60.12 kB / 0.5212 GB, free: 9.867 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001901/0.2138, allocations: 1.082 MB / 0.5222 GB, free: 8.672 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.2138, allocations: 0 / 0.5222 GB, free: 8.672 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.208e-05/0.2139, allocations: 36 kB / 0.5223 GB, free: 8.637 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.647e-05/0.214, allocations: 44.92 kB / 0.5223 GB, free: 8.594 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/0.2155, allocations: 0.8155 MB / 0.5231 GB, free: 7.777 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.005629/0.2212, allocations: 5.565 MB / 0.5285 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.2224, allocations: 0.5444 MB / 0.5291 GB, free: 1.281 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003391/0.2227, allocations: 214.4 kB / 0.5293 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2324/0.4551, allocations: 47.44 MB / 0.5756 GB, free: 55.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.4552, allocations: 44.5 kB / 0.5756 GB, free: 55.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 2.054e-06/0.4552, allocations: 0 / 0.5756 GB, free: 55.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.006/0.4612, allocations: 2.114 MB / 0.5777 GB, free: 54.01 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.4613, allocations: 192.8 kB / 0.5779 GB, free: 53.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006287/0.4619, allocations: 0.6479 MB / 0.5785 GB, free: 53.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.68e-05/0.462, allocations: 30.8 kB / 0.5786 GB, free: 53.1 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000191/0.4622, allocations: 408.2 kB / 0.5789 GB, free: 52.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.4623, allocations: 159.9 kB / 0.5791 GB, free: 52.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/0.4624, allocations: 154.5 kB / 0.5792 GB, free: 52.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.789e-05/0.4625, allocations: 378.8 kB / 0.5796 GB, free: 52.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000335/0.4629, allocations: 233.2 kB / 0.5798 GB, free: 51.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004271/0.4633, allocations: 0.5901 MB / 0.5804 GB, free: 51.03 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007834/0.4641, allocations: 0.8606 MB / 0.5812 GB, free: 50.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.4641, allocations: 7.938 kB / 0.5813 GB, free: 50.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001215/0.4653, allocations: 0.8926 MB / 0.5821 GB, free: 49.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.4654, allocations: 12.78 kB / 0.5821 GB, free: 49.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/0.4654, allocations: 13.02 kB / 0.5821 GB, free: 49.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003385/0.4688, allocations: 277.7 kB / 0.5824 GB, free: 48.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.4699, allocations: 282.7 kB / 0.5827 GB, free: 48.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001263/0.4712, allocations: 2.122 MB / 0.5848 GB, free: 46.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006171/0.4718, allocations: 55.97 kB / 0.5848 GB, free: 46.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-05/0.4719, allocations: 47.98 kB / 0.5849 GB, free: 46.18 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.0003271/0.4722, allocations: 279.4 kB / 0.5851 GB, free: 45.9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.4724, allocations: 73.56 kB / 0.5852 GB, free: 45.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001729/0.4741, allocations: 2.023 MB / 0.5872 GB, free: 43.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.819e-05/0.4741, allocations: 19.97 kB / 0.5872 GB, free: 43.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4741, allocations: 0 / 0.5872 GB, free: 43.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.4742, allocations: 3.984 kB / 0.5872 GB, free: 43.78 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00269/0.4769, allocations: 2.999 MB / 0.5901 GB, free: 40.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.4769, allocations: 4 kB / 0.5901 GB, free: 40.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008262/0.4777, allocations: 181.6 kB / 0.5903 GB, free: 40.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001687/0.4794, allocations: 299.9 kB / 0.5906 GB, free: 40.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.481e-05/0.4795, allocations: 22.09 kB / 0.5906 GB, free: 40.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001173/0.4806, allocations: 2.172 MB / 0.5927 GB, free: 37.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4807, allocations: 0 / 0.5927 GB, free: 37.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/0.4823, allocations: 1.948 MB / 0.5946 GB, free: 35.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003548/0.4827, allocations: 226.8 kB / 0.5948 GB, free: 35.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/0.4828, allocations: 27.75 kB / 0.5949 GB, free: 35.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005158/0.4834, allocations: 43.88 kB / 0.5949 GB, free: 35.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.976e-05/0.4834, allocations: 28.41 kB / 0.5949 GB, free: 35.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.826e-05/0.4835, allocations: 20.55 kB / 0.595 GB, free: 35.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005927/0.4841, allocations: 0.5717 MB / 0.5955 GB, free: 34.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4841, allocations: 0 / 0.5955 GB, free: 34.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003125/0.4872, allocations: 1.088 MB / 0.5966 GB, free: 33.98 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.004773/0.492, allocations: 1.203 MB / 0.5978 GB, free: 32.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002226/0.4943, allocations: 0.9932 MB / 0.5987 GB, free: 32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.4943, allocations: 3.938 kB / 0.5987 GB, free: 32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.4953, allocations: 0.6241 MB / 0.5993 GB, free: 31.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002083/0.4974, allocations: 408 kB / 0.5997 GB, free: 30.99 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002964/0.5004, allocations: 2.593 MB / 0.6023 GB, free: 28.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004662/0.5009, allocations: 1.085 MB / 0.6033 GB, free: 27.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.5011, allocations: 71.42 kB / 0.6034 GB, free: 27.2 MB / 414.1 MB Notification: Performance of SimCode: time 8.62e-07/0.5011, allocations: 0 / 0.6034 GB, free: 27.2 MB / 414.1 MB Notification: Performance of Templates: time 0.04354/0.5446, allocations: 37.17 MB / 0.6397 GB, free: 6.062 MB / 430.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 -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","../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