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.00132/0.00132, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001148/0.001148, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.329/1.329, allocations: 222.9 MB / 242.9 MB, free: 15.21 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.2035/0.2035, allocations: 44.19 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 60 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1213, allocations: 60.83 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.06174/0.1831, allocations: 43.93 MB / 0.5018 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.207/0.3901, allocations: 4.361 MB / 0.5061 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00069/0.3909, allocations: 18.88 kB / 0.5061 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008537/0.3917, allocations: 316.7 kB / 0.5064 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001918/0.3937, allocations: 0.8536 MB / 0.5072 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002336/0.3961, allocations: 0.8955 MB / 0.5081 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002369/0.3984, allocations: 1.797 MB / 0.5099 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007144/0.3992, allocations: 460.4 kB / 0.5103 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1008/0.5, allocations: 44.53 MB / 0.5538 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01977/0.5198, allocations: 7.96 MB / 0.5616 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002549/0.5201, allocations: 60 kB / 0.5616 GB, free: 10.44 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02735/0.5474, allocations: 10.67 MB / 0.572 GB, free: 15.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005271/0.548, allocations: 257.2 kB / 0.5723 GB, free: 15.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007227/0.5488, allocations: 397.5 kB / 0.5727 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001676/0.5505, allocations: 1.071 MB / 0.5737 GB, free: 14.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.5505, allocations: 0 / 0.5737 GB, free: 14.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.5505, allocations: 3.188 kB / 0.5737 GB, free: 14.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.5505, allocations: 0 / 0.5737 GB, free: 14.09 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.002249/0.5528, allocations: 1.057 MB / 0.5747 GB, free: 13 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.5528, allocations: 8.031 kB / 0.5747 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003572/0.5532, allocations: 84.09 kB / 0.5748 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007937/0.554, allocations: 0.5014 MB / 0.5753 GB, free: 12.4 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.937e-05/0.5541, allocations: 103.7 kB / 0.5754 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.584e-05/0.5542, allocations: 48.38 kB / 0.5755 GB, free: 12.24 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.5554, allocations: 0.8289 MB / 0.5763 GB, free: 11.36 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.5555, allocations: 3.281 kB / 0.5763 GB, free: 11.36 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.867e-05/0.5556, allocations: 24 kB / 0.5763 GB, free: 11.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-05/0.5556, allocations: 44.97 kB / 0.5763 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.5567, allocations: 0.6402 MB / 0.577 GB, free: 10.67 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.004911/0.5616, allocations: 4.226 MB / 0.5811 GB, free: 6.211 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009213/0.5626, allocations: 422 kB / 0.5815 GB, free: 5.797 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000337/0.5629, allocations: 213.3 kB / 0.5817 GB, free: 5.586 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005025/0.5634, allocations: 0.5006 MB / 0.5822 GB, free: 4.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.531e-05/0.5635, allocations: 42.78 kB / 0.5822 GB, free: 4.934 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 2.505e-06/0.5635, allocations: 0 / 0.5822 GB, free: 4.934 MB / 430.1 MB Notification: Performance of matching and sorting (n=45): time 0.00353/0.567, allocations: 1.529 MB / 0.5837 GB, free: 3.355 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.499e-05/0.5672, allocations: 143.8 kB / 0.5839 GB, free: 3.188 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006985/0.5679, allocations: 0.573 MB / 0.5844 GB, free: 2.609 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.728e-05/0.5679, allocations: 29.7 kB / 0.5844 GB, free: 2.574 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/0.5682, allocations: 354.6 kB / 0.5848 GB, free: 2.227 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.5683, allocations: 164.7 kB / 0.5849 GB, free: 2.066 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002148/0.5685, allocations: 138.5 kB / 0.5851 GB, free: 1.926 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.5687, allocations: 384 kB / 0.5854 GB, free: 1.543 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003875/0.5691, allocations: 221.9 kB / 0.5856 GB, free: 1.328 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005966/0.5697, allocations: 0.5159 MB / 0.5862 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.5707, allocations: 0.7735 MB / 0.5869 GB, free: 15.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.5708, allocations: 7.375 kB / 0.5869 GB, free: 15.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001874/0.5726, allocations: 0.9377 MB / 0.5878 GB, free: 14.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.5727, allocations: 16.02 kB / 0.5878 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.5727, allocations: 12 kB / 0.5879 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/0.5738, allocations: 261.3 kB / 0.5881 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004463/0.5743, allocations: 123.8 kB / 0.5882 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00097/0.5753, allocations: 0.8735 MB / 0.5891 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005298/0.5758, allocations: 24 kB / 0.5891 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.184e-05/0.5759, allocations: 43.98 kB / 0.5891 GB, free: 13.51 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.0003504/0.5763, allocations: 241.5 kB / 0.5894 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.5764, allocations: 67.31 kB / 0.5894 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.5777, allocations: 0.7089 MB / 0.5901 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.5778, allocations: 8 kB / 0.5901 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.5778, allocations: 0 / 0.5901 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/0.5778, allocations: 3.984 kB / 0.5901 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002294/0.5801, allocations: 1.41 MB / 0.5915 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.5801, allocations: 3.938 kB / 0.5915 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009714/0.5811, allocations: 191.8 kB / 0.5917 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002465/0.5814, allocations: 57.05 kB / 0.5918 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.911e-05/0.5814, allocations: 19.98 kB / 0.5918 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002381/0.5838, allocations: 2.984 MB / 0.5947 GB, free: 7.465 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5838, allocations: 4.062 kB / 0.5947 GB, free: 7.461 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/0.5855, allocations: 0.9994 MB / 0.5957 GB, free: 6.418 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003245/0.5858, allocations: 204.2 kB / 0.5959 GB, free: 6.199 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.69e-05/0.5859, allocations: 8 kB / 0.5959 GB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003956/0.5863, allocations: 16 kB / 0.5959 GB, free: 6.176 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.5864, allocations: 41.08 kB / 0.5959 GB, free: 6.137 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.515e-05/0.5865, allocations: 24.05 kB / 0.596 GB, free: 6.113 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005335/0.587, allocations: 427 kB / 0.5964 GB, free: 5.699 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.587, allocations: 0 / 0.5964 GB, free: 5.699 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008313/0.5879, allocations: 204.8 kB / 0.5966 GB, free: 5.5 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.0004993/0.5884, allocations: 232.5 kB / 0.5968 GB, free: 5.285 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001439/0.5898, allocations: 0.6766 MB / 0.5974 GB, free: 4.613 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.5898, allocations: 4 kB / 0.5974 GB, free: 4.609 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001167/0.591, allocations: 474.4 kB / 0.5979 GB, free: 4.133 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/0.5928, allocations: 365.8 kB / 0.5982 GB, free: 3.785 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002376/0.5952, allocations: 1.454 MB / 0.5997 GB, free: 2.285 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000545/0.5958, allocations: 0.9385 MB / 0.6006 GB, free: 1.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/0.596, allocations: 63.44 kB / 0.6006 GB, free: 1.258 MB / 446.1 MB Notification: Performance of SimCode: time 8.42e-07/0.596, allocations: 0 / 0.6006 GB, free: 1.258 MB / 446.1 MB Notification: Performance of Templates: time 0.02076/0.6168, allocations: 15.53 MB / 0.6158 GB, free: 1.832 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 -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