Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_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.LinearFluid.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_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.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001246/0.001246, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.199/1.199, allocations: 205.1 MB / 222.5 MB, free: 8.488 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009871/0.000987, allocations: 101.4 kB / 269.9 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3117/0.3117, allocations: 43.49 MB / 360.7 MB, free: 51.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001056/0.001057, allocations: 51.92 kB / 429.2 MB, free: 6.379 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1079, allocations: 57.77 MB / 487 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.2496/0.3576, allocations: 46.36 MB / 0.5209 GB, free: 36.34 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.006721/0.3643, allocations: 4.523 MB / 0.5253 GB, free: 34.52 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/0.3654, allocations: 30 kB / 0.5253 GB, free: 34.52 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.3666, allocations: 274.6 kB / 0.5256 GB, free: 34.49 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002553/0.3692, allocations: 0.813 MB / 0.5264 GB, free: 34.14 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002436/0.3717, allocations: 0.7985 MB / 0.5272 GB, free: 33.74 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002571/0.3743, allocations: 2.665 MB / 0.5298 GB, free: 32.88 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007779/0.375, allocations: 398.3 kB / 0.5301 GB, free: 32.75 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.09645/0.4715, allocations: 43.33 MB / 0.5725 GB, free: 11.04 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0159/0.4875, allocations: 7.973 MB / 0.5802 GB, free: 6.035 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002854/0.4878, allocations: 32.31 kB / 0.5803 GB, free: 6.035 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02237/0.5102, allocations: 10.63 MB / 0.5907 GB, free: 11.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005867/0.5108, allocations: 235.3 kB / 0.5909 GB, free: 11.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008519/0.5117, allocations: 362.2 kB / 0.5912 GB, free: 10.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001911/0.5136, allocations: 1.051 MB / 0.5923 GB, free: 9.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.5136, allocations: 0 / 0.5923 GB, free: 9.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.5136, allocations: 4 kB / 0.5923 GB, free: 9.816 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.363e-05/0.5137, allocations: 3.938 kB / 0.5923 GB, free: 9.812 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002553/0.5162, allocations: 1.048 MB / 0.5933 GB, free: 8.719 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.5163, allocations: 8.031 kB / 0.5933 GB, free: 8.711 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003883/0.5167, allocations: 95.98 kB / 0.5934 GB, free: 8.617 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008742/0.5176, allocations: 0.4976 MB / 0.5939 GB, free: 8.078 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.5177, allocations: 104.9 kB / 0.594 GB, free: 7.965 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.012e-05/0.5178, allocations: 56.28 kB / 0.594 GB, free: 7.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.5191, allocations: 0.8252 MB / 0.5948 GB, free: 7.012 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.5191, allocations: 4 kB / 0.5948 GB, free: 7.008 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.664e-05/0.5192, allocations: 23.98 kB / 0.5949 GB, free: 6.984 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-05/0.5192, allocations: 40.98 kB / 0.5949 GB, free: 6.941 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.5203, allocations: 0.6438 MB / 0.5955 GB, free: 6.301 MB / 410.7 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.004809/0.5251, allocations: 4.213 MB / 0.5996 GB, free: 1.797 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000869/0.526, allocations: 414.8 kB / 0.6 GB, free: 1.387 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003172/0.5263, allocations: 209.4 kB / 0.6002 GB, free: 1.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004698/0.5268, allocations: 0.5068 MB / 0.6007 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.5269, allocations: 42.83 kB / 0.6008 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.964e-06/0.5269, allocations: 0 / 0.6008 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.003088/0.53, allocations: 1.518 MB / 0.6023 GB, free: 14.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.115e-05/0.53, allocations: 140.5 kB / 0.6024 GB, free: 14.77 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006582/0.5307, allocations: 0.5693 MB / 0.6029 GB, free: 14.19 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.779e-05/0.5308, allocations: 37.7 kB / 0.603 GB, free: 14.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000261/0.531, allocations: 351 kB / 0.6033 GB, free: 13.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.5312, allocations: 165.7 kB / 0.6035 GB, free: 13.63 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/0.5314, allocations: 138.5 kB / 0.6036 GB, free: 13.49 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.5315, allocations: 374.7 kB / 0.604 GB, free: 13.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003641/0.5319, allocations: 229.9 kB / 0.6042 GB, free: 12.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005706/0.5325, allocations: 0.5162 MB / 0.6047 GB, free: 12.24 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009445/0.5334, allocations: 0.7835 MB / 0.6054 GB, free: 11.33 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.5334, allocations: 4 kB / 0.6055 GB, free: 11.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001695/0.5351, allocations: 0.937 MB / 0.6064 GB, free: 10.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.5352, allocations: 8 kB / 0.6064 GB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.5352, allocations: 8 kB / 0.6064 GB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/0.5363, allocations: 270.2 kB / 0.6066 GB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003985/0.5367, allocations: 131.8 kB / 0.6068 GB, free: 9.969 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008646/0.5376, allocations: 0.8677 MB / 0.6076 GB, free: 9.078 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005104/0.5381, allocations: 48.03 kB / 0.6077 GB, free: 9.031 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-05/0.5382, allocations: 36 kB / 0.6077 GB, free: 8.996 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003102/0.5385, allocations: 249.5 kB / 0.6079 GB, free: 8.742 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.5386, allocations: 75.09 kB / 0.608 GB, free: 8.668 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/0.5399, allocations: 0.7122 MB / 0.6087 GB, free: 7.938 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.5399, allocations: 11.92 kB / 0.6087 GB, free: 7.926 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.5399, allocations: 0 / 0.6087 GB, free: 7.926 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.5399, allocations: 0 / 0.6087 GB, free: 7.926 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00205/0.542, allocations: 1.403 MB / 0.6101 GB, free: 6.441 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.542, allocations: 11.91 kB / 0.6101 GB, free: 6.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009665/0.543, allocations: 195.8 kB / 0.6103 GB, free: 6.238 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000225/0.5432, allocations: 56.73 kB / 0.6103 GB, free: 6.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.54e-05/0.5433, allocations: 15.98 kB / 0.6103 GB, free: 6.164 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002045/0.5453, allocations: 2.777 MB / 0.6131 GB, free: 3.125 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.5454, allocations: 3.938 kB / 0.6131 GB, free: 3.121 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00866/0.554, allocations: 5.8 MB / 0.6187 GB, free: 13.02 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003147/0.5544, allocations: 200.2 kB / 0.6189 GB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.5545, allocations: 15.98 kB / 0.6189 GB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003989/0.5549, allocations: 28.11 kB / 0.619 GB, free: 12.76 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.555, allocations: 39.83 kB / 0.619 GB, free: 12.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-05/0.5551, allocations: 23.98 kB / 0.619 GB, free: 12.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004734/0.5556, allocations: 419 kB / 0.6194 GB, free: 12.29 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5556, allocations: 4 kB / 0.6194 GB, free: 12.29 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001058/0.5566, allocations: 299.9 kB / 0.6197 GB, free: 11.99 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000528/0.5572, allocations: 241.3 kB / 0.6199 GB, free: 11.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001167/0.5584, allocations: 0.6008 MB / 0.6205 GB, free: 11.15 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.5584, allocations: 4 kB / 0.6205 GB, free: 11.15 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00115/0.5595, allocations: 486.6 kB / 0.621 GB, free: 10.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/0.5612, allocations: 361.9 kB / 0.6213 GB, free: 10.31 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002942/0.5642, allocations: 2.1 MB / 0.6234 GB, free: 8.137 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005037/0.5647, allocations: 0.9504 MB / 0.6243 GB, free: 7.16 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007569/0.5654, allocations: 215.4 kB / 0.6245 GB, free: 6.953 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.5656, allocations: 63.42 kB / 0.6246 GB, free: 6.891 MB / 442.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5656, allocations: 0 / 0.6246 GB, free: 6.891 MB / 442.7 MB Notification: Performance of Templates: time 0.02556/0.5912, allocations: 16.04 MB / 0.6402 GB, free: 6.93 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches