Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_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.LinearFluid.LinearWater_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.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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 107.1 kB / 18.39 MB, free: 4.629 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.001287/0.001287, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.359/1.359, allocations: 222.9 MB / 243 MB, free: 15.08 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.1994/0.1994, allocations: 44.19 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 74.11 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1085, allocations: 60.82 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04571/0.1542, allocations: 43.93 MB / 0.5026 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.22/0.3742, allocations: 4.353 MB / 0.5068 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005619/0.3748, allocations: 18.91 kB / 0.5068 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008661/0.3757, allocations: 320.3 kB / 0.5072 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002122/0.3779, allocations: 0.8516 MB / 0.508 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002591/0.3805, allocations: 0.8916 MB / 0.5089 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002427/0.3829, allocations: 1.793 MB / 0.5106 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007242/0.3837, allocations: 468.8 kB / 0.5111 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1085/0.4921, allocations: 44.54 MB / 0.5546 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01949/0.5117, allocations: 7.948 MB / 0.5623 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002364/0.512, allocations: 60 kB / 0.5624 GB, free: 10.4 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02609/0.5381, allocations: 10.67 MB / 0.5728 GB, free: 15.7 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005496/0.5386, allocations: 263.6 kB / 0.573 GB, free: 15.46 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006715/0.5393, allocations: 396.5 kB / 0.5734 GB, free: 15.07 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001561/0.5409, allocations: 1.083 MB / 0.5745 GB, free: 14.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.5409, allocations: 0 / 0.5745 GB, free: 14.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.5409, allocations: 0 / 0.5745 GB, free: 14.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.5409, allocations: 0 / 0.5745 GB, free: 14.04 MB / 430.1 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.001998/0.5429, allocations: 1.048 MB / 0.5755 GB, free: 12.96 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.543, allocations: 13.91 kB / 0.5755 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003368/0.5433, allocations: 96.08 kB / 0.5756 GB, free: 12.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008416/0.5442, allocations: 0.5222 MB / 0.5761 GB, free: 12.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.5443, allocations: 104.7 kB / 0.5762 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.046e-05/0.5444, allocations: 55.31 kB / 0.5763 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.5456, allocations: 0.8179 MB / 0.5771 GB, free: 11.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.5456, allocations: 2.625 kB / 0.5771 GB, free: 11.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.333e-05/0.5457, allocations: 20 kB / 0.5771 GB, free: 11.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-05/0.5457, allocations: 43.88 kB / 0.5771 GB, free: 11.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.5468, allocations: 0.6436 MB / 0.5778 GB, free: 10.6 MB / 430.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.00495/0.5517, allocations: 4.219 MB / 0.5819 GB, free: 6.121 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008682/0.5526, allocations: 419.7 kB / 0.5823 GB, free: 5.707 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000322/0.5529, allocations: 209.4 kB / 0.5825 GB, free: 5.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004743/0.5534, allocations: 0.4937 MB / 0.583 GB, free: 4.898 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.5535, allocations: 38.89 kB / 0.583 GB, free: 4.852 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 2.084e-06/0.5535, allocations: 0 / 0.583 GB, free: 4.852 MB / 430.1 MB Notification: Performance of matching and sorting (n=45): time 0.003317/0.5568, allocations: 1.531 MB / 0.5845 GB, free: 3.266 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.464e-05/0.5569, allocations: 132.5 kB / 0.5846 GB, free: 3.105 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007065/0.5576, allocations: 0.5732 MB / 0.5852 GB, free: 2.523 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.259e-05/0.5577, allocations: 37.7 kB / 0.5852 GB, free: 2.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002923/0.558, allocations: 354.7 kB / 0.5856 GB, free: 2.137 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.5582, allocations: 160.7 kB / 0.5857 GB, free: 1.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002167/0.5584, allocations: 142.5 kB / 0.5858 GB, free: 1.836 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.5586, allocations: 378.7 kB / 0.5862 GB, free: 1.457 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004045/0.559, allocations: 225.9 kB / 0.5864 GB, free: 1.238 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006059/0.5596, allocations: 0.5165 MB / 0.5869 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009388/0.5606, allocations: 0.7838 MB / 0.5877 GB, free: 15.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.5606, allocations: 0 / 0.5877 GB, free: 15.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001658/0.5622, allocations: 0.9408 MB / 0.5886 GB, free: 14.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.5623, allocations: 12 kB / 0.5886 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.5623, allocations: 8.875 kB / 0.5886 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.5634, allocations: 267.1 kB / 0.5889 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004232/0.5638, allocations: 127.7 kB / 0.589 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009458/0.5648, allocations: 0.8719 MB / 0.5899 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004373/0.5652, allocations: 31.98 kB / 0.5899 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.908e-05/0.5653, allocations: 33.94 kB / 0.5899 GB, free: 13.37 MB / 446.1 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.0003123/0.5656, allocations: 245.5 kB / 0.5902 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.5657, allocations: 71.23 kB / 0.5902 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/0.5671, allocations: 0.7007 MB / 0.5909 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.5671, allocations: 15.94 kB / 0.5909 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.5671, allocations: 0 / 0.5909 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.5671, allocations: 7.984 kB / 0.5909 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002162/0.5693, allocations: 1.402 MB / 0.5923 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.5693, allocations: 0 / 0.5923 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009795/0.5703, allocations: 191.8 kB / 0.5925 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002379/0.5705, allocations: 61 kB / 0.5925 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.896e-05/0.5706, allocations: 12 kB / 0.5926 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002459/0.5731, allocations: 2.99 MB / 0.5955 GB, free: 7.316 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5731, allocations: 0 / 0.5955 GB, free: 7.316 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.5745, allocations: 0.9931 MB / 0.5964 GB, free: 6.281 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003188/0.5749, allocations: 200.2 kB / 0.5966 GB, free: 6.066 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.719e-05/0.575, allocations: 12 kB / 0.5966 GB, free: 6.055 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003731/0.5753, allocations: 24.05 kB / 0.5967 GB, free: 6.031 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.5755, allocations: 43.61 kB / 0.5967 GB, free: 5.988 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.727e-05/0.5755, allocations: 23.98 kB / 0.5967 GB, free: 5.965 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004942/0.576, allocations: 415.1 kB / 0.5971 GB, free: 5.562 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.576, allocations: 0 / 0.5971 GB, free: 5.562 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007759/0.5768, allocations: 204 kB / 0.5973 GB, free: 5.363 MB / 446.1 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.0005225/0.5773, allocations: 239.9 kB / 0.5976 GB, free: 5.141 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001115/0.5785, allocations: 0.6056 MB / 0.5981 GB, free: 4.539 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.5785, allocations: 4 kB / 0.5981 GB, free: 4.535 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.5796, allocations: 491.9 kB / 0.5986 GB, free: 4.043 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.5812, allocations: 376.8 kB / 0.599 GB, free: 3.684 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002156/0.5833, allocations: 1.387 MB / 0.6003 GB, free: 2.258 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005158/0.5839, allocations: 0.9463 MB / 0.6013 GB, free: 1.285 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000581/0.5844, allocations: 204 kB / 0.6014 GB, free: 1.098 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.5846, allocations: 59.42 kB / 0.6015 GB, free: 1.039 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.5846, allocations: 0 / 0.6015 GB, free: 1.039 MB / 446.1 MB Notification: Performance of Templates: time 0.02399/0.6086, allocations: 15.13 MB / 0.6163 GB, free: 2.141 MB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches