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.001389/0.001389, allocations: 109.4 kB / 17.04 MB, free: 5.809 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.001248/0.001247, allocations: 195 kB / 17.98 MB, free: 5.027 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.694/1.694, 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.23/0.23, allocations: 43.52 MB / 314.7 MB, free: 492 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.001678/0.001678, allocations: 68.84 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1181, allocations: 57.78 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.03679/0.1549, allocations: 39.04 MB / 481 MB, free: 14.97 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02533/0.1803, allocations: 20.16 MB / 0.4894 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.1814, allocations: 19.88 kB / 0.4894 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001293/0.1827, allocations: 445.3 kB / 0.4899 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01357/0.1963, allocations: 5.092 MB / 0.4948 GB, free: 5.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007302/0.2036, allocations: 2.571 MB / 0.4974 GB, free: 2.625 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002782/0.2064, allocations: 1.961 MB / 0.4993 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006057/0.2071, allocations: 485.5 kB / 0.4997 GB, free: 176 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009144/0.2162, allocations: 4.141 MB / 0.5038 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01121/0.2274, allocations: 5.413 MB / 0.5091 GB, free: 6.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002446/0.2277, allocations: 64 kB / 0.5091 GB, free: 6.418 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01459/0.2423, allocations: 7.243 MB / 0.5162 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005272/0.2429, allocations: 279.2 kB / 0.5165 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000773/0.2437, allocations: 453.9 kB / 0.5169 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01077/0.2544, allocations: 4.95 MB / 0.5217 GB, free: 9.488 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2545, allocations: 0 / 0.5217 GB, free: 9.488 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2545, allocations: 0 / 0.5217 GB, free: 9.488 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.2545, allocations: 0 / 0.5217 GB, free: 9.488 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.003845/0.2583, allocations: 1.637 MB / 0.5233 GB, free: 7.801 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.2584, allocations: 8.031 kB / 0.5233 GB, free: 7.793 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001443/0.2598, allocations: 227.8 kB / 0.5236 GB, free: 7.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.2609, allocations: 0.5599 MB / 0.5241 GB, free: 6.969 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001505/0.2611, allocations: 113.2 kB / 0.5242 GB, free: 6.848 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.2612, allocations: 64.12 kB / 0.5243 GB, free: 6.785 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001949/0.2631, allocations: 1.07 MB / 0.5253 GB, free: 5.602 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.2632, allocations: 3.938 kB / 0.5253 GB, free: 5.598 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.789e-05/0.2633, allocations: 28 kB / 0.5253 GB, free: 5.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-05/0.2633, allocations: 44.97 kB / 0.5254 GB, free: 5.527 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001549/0.2649, allocations: 0.8154 MB / 0.5262 GB, free: 4.711 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.2147/0.4796, allocations: 5.551 MB / 0.5316 GB, free: 89.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.4809, allocations: 0.5321 MB / 0.5321 GB, free: 89.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002885/0.4812, allocations: 213 kB / 0.5323 GB, free: 89.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09056/0.5717, allocations: 47.65 MB / 0.5789 GB, free: 50.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.372e-05/0.5718, allocations: 41.44 kB / 0.5789 GB, free: 50.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 3.436e-06/0.5718, allocations: 0 / 0.5789 GB, free: 50.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.009616/0.5815, allocations: 2.124 MB / 0.581 GB, free: 48.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.5816, allocations: 189.3 kB / 0.5812 GB, free: 48.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000946/0.5825, allocations: 0.6414 MB / 0.5818 GB, free: 48.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.554e-05/0.5826, allocations: 33.14 kB / 0.5818 GB, free: 47.99 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002722/0.5829, allocations: 407.8 kB / 0.5822 GB, free: 47.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.583, allocations: 157.5 kB / 0.5824 GB, free: 47.51 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002693/0.5833, allocations: 158.5 kB / 0.5825 GB, free: 47.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.5834, allocations: 378.8 kB / 0.5829 GB, free: 46.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005203/0.5839, allocations: 230.9 kB / 0.5831 GB, free: 46.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007041/0.5846, allocations: 0.5872 MB / 0.5837 GB, free: 45.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.5859, allocations: 0.8689 MB / 0.5845 GB, free: 45.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.586, allocations: 6.906 kB / 0.5845 GB, free: 45.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00196/0.5879, allocations: 0.8992 MB / 0.5854 GB, free: 44.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.588, allocations: 15.98 kB / 0.5854 GB, free: 44.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.588, allocations: 12 kB / 0.5854 GB, free: 44.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004954/0.593, allocations: 267.5 kB / 0.5857 GB, free: 43.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/0.5944, allocations: 277.1 kB / 0.5859 GB, free: 43.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/0.5961, allocations: 2.126 MB / 0.588 GB, free: 41.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008299/0.5969, allocations: 28 kB / 0.588 GB, free: 41.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.519e-05/0.597, allocations: 45.23 kB / 0.5881 GB, free: 41.21 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.0004732/0.5975, allocations: 277.4 kB / 0.5883 GB, free: 40.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002237/0.5978, allocations: 78.52 kB / 0.5884 GB, free: 40.85 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0026/0.6004, allocations: 2.002 MB / 0.5904 GB, free: 38.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.556e-05/0.6004, allocations: 23.97 kB / 0.5904 GB, free: 38.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.6004, allocations: 5.625 kB / 0.5904 GB, free: 38.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.6004, allocations: 3.984 kB / 0.5904 GB, free: 38.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004031/0.6045, allocations: 2.991 MB / 0.5933 GB, free: 35.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.6045, allocations: 0 / 0.5933 GB, free: 35.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001301/0.6058, allocations: 187.8 kB / 0.5935 GB, free: 35.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002425/0.6083, allocations: 303.8 kB / 0.5938 GB, free: 35.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.602e-05/0.6083, allocations: 15.98 kB / 0.5938 GB, free: 35.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001637/0.61, allocations: 2.172 MB / 0.5959 GB, free: 32.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.61, allocations: 12.03 kB / 0.5959 GB, free: 32.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002528/0.6125, allocations: 1.941 MB / 0.5978 GB, free: 30.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004063/0.613, allocations: 224.4 kB / 0.5981 GB, free: 30.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/0.6131, allocations: 27.69 kB / 0.5981 GB, free: 30.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006704/0.6138, allocations: 24.05 kB / 0.5981 GB, free: 30.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.244e-05/0.6139, allocations: 32.34 kB / 0.5981 GB, free: 30.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.212e-05/0.614, allocations: 19.98 kB / 0.5982 GB, free: 30.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009644/0.6149, allocations: 0.5732 MB / 0.5987 GB, free: 30.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.523e-06/0.615, allocations: 3.938 kB / 0.5987 GB, free: 30.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003917/0.6189, allocations: 1.086 MB / 0.5998 GB, free: 29.04 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.004896/0.6238, allocations: 1.198 MB / 0.6009 GB, free: 28.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002387/0.6262, allocations: 0.9207 MB / 0.6018 GB, free: 27.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.6262, allocations: 4 kB / 0.6018 GB, free: 27.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001371/0.6276, allocations: 0.6398 MB / 0.6025 GB, free: 26.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/0.6301, allocations: 410.6 kB / 0.6029 GB, free: 26.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003156/0.6333, allocations: 2.126 MB / 0.6049 GB, free: 23.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005199/0.6338, allocations: 1.093 MB / 0.606 GB, free: 22.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000846/0.6347, allocations: 337.7 kB / 0.6063 GB, free: 22.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.6349, allocations: 59.44 kB / 0.6064 GB, free: 22.46 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.6349, allocations: 0 / 0.6064 GB, free: 22.46 MB / 414.1 MB Notification: Performance of Templates: time 0.0695/0.7044, allocations: 45.24 MB / 0.6506 GB, free: 9.305 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 cvode -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