Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.LinearColdWater,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.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,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.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 105.7 kB / 17.2 MB, free: 6.289 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.001878/0.001878, allocations: 194 kB / 18.12 MB, free: 5.383 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.317/1.317, allocations: 222.9 MB / 241.8 MB, free: 15.36 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.2494/0.2494, allocations: 44.18 MB / 336.1 MB, free: 2.891 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 59.25 kB / 407.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.116, allocations: 60.83 MB / 468.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02237/0.1384, allocations: 20.96 MB / 489.5 MB, free: 9.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006693/0.1452, allocations: 4.457 MB / 494 MB, free: 5.297 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001091/0.1463, allocations: 23.81 kB / 494 MB, free: 5.273 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.1474, allocations: 274.5 kB / 494.2 MB, free: 5.004 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002153/0.1496, allocations: 0.8048 MB / 495 MB, free: 4.195 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002195/0.1518, allocations: 0.795 MB / 495.8 MB, free: 3.406 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002784/0.1546, allocations: 2.667 MB / 498.5 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007722/0.1554, allocations: 392.9 kB / 498.9 MB, free: 352 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001844/0.1573, allocations: 0.8248 MB / 499.7 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001098/0.1584, allocations: 0.6577 MB / 0.4886 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001654/0.1586, allocations: 32 kB / 0.4887 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008273/0.1594, allocations: 271.6 kB / 0.4889 GB, free: 14.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000306/0.1597, allocations: 235.3 kB / 0.4892 GB, free: 14.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005347/0.1602, allocations: 366.2 kB / 0.4895 GB, free: 13.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.1615, allocations: 1.056 MB / 0.4905 GB, free: 12.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1615, allocations: 0 / 0.4905 GB, free: 12.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1616, allocations: 0 / 0.4905 GB, free: 12.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.771e-05/0.1616, allocations: 0 / 0.4905 GB, free: 12.91 MB / 382.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.002415/0.164, allocations: 1.052 MB / 0.4916 GB, free: 11.81 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.1641, allocations: 11.97 kB / 0.4916 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003652/0.1644, allocations: 95.98 kB / 0.4917 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008457/0.1653, allocations: 0.4977 MB / 0.4922 GB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.1654, allocations: 108.9 kB / 0.4923 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.112e-05/0.1655, allocations: 52.28 kB / 0.4923 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.1669, allocations: 0.8174 MB / 0.4931 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.1669, allocations: 11.94 kB / 0.4931 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.184e-05/0.167, allocations: 27.98 kB / 0.4931 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.809e-05/0.167, allocations: 36.98 kB / 0.4932 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.1682, allocations: 0.6439 MB / 0.4938 GB, free: 9.387 MB / 382.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.004824/0.173, allocations: 4.209 MB / 0.4979 GB, free: 4.883 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008938/0.1739, allocations: 418.1 kB / 0.4983 GB, free: 4.469 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003232/0.1742, allocations: 205.4 kB / 0.4985 GB, free: 4.266 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004951/0.1747, allocations: 0.5029 MB / 0.499 GB, free: 3.652 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.1748, allocations: 38.89 kB / 0.499 GB, free: 3.605 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.144e-06/0.1748, allocations: 0 / 0.499 GB, free: 3.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.003286/0.1781, allocations: 1.531 MB / 0.5005 GB, free: 2.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.479e-05/0.1782, allocations: 144.5 kB / 0.5007 GB, free: 1.848 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006702/0.1789, allocations: 0.5654 MB / 0.5012 GB, free: 1.273 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.195e-05/0.1789, allocations: 33.7 kB / 0.5013 GB, free: 1.234 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002488/0.1792, allocations: 355 kB / 0.5016 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.1793, allocations: 165.7 kB / 0.5018 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001935/0.1795, allocations: 138.5 kB / 0.5019 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.1797, allocations: 378.7 kB / 0.5023 GB, free: 204 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2633/0.443, allocations: 216.9 kB / 0.5025 GB, free: 51.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.444, allocations: 0.5241 MB / 0.503 GB, free: 51.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001297/0.4454, allocations: 0.7774 MB / 0.5037 GB, free: 51.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.564e-05/0.4454, allocations: 3.562 kB / 0.5037 GB, free: 51.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002364/0.4478, allocations: 0.9393 MB / 0.5047 GB, free: 51.15 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.404e-05/0.4478, allocations: 15.91 kB / 0.5047 GB, free: 51.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.51e-05/0.4479, allocations: 10.5 kB / 0.5047 GB, free: 51.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001336/0.4492, allocations: 263.3 kB / 0.5049 GB, free: 51.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000507/0.4497, allocations: 123.9 kB / 0.505 GB, free: 51.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009537/0.4507, allocations: 0.8673 MB / 0.5059 GB, free: 50.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006386/0.4514, allocations: 43.7 kB / 0.5059 GB, free: 50.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.837e-05/0.4515, allocations: 38.36 kB / 0.506 GB, free: 50.44 MB / 382.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.0003832/0.4518, allocations: 249.2 kB / 0.5062 GB, free: 50.26 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/0.452, allocations: 64.25 kB / 0.5063 GB, free: 50.26 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/0.4536, allocations: 0.7138 MB / 0.507 GB, free: 49.95 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.4536, allocations: 4.547 kB / 0.507 GB, free: 49.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.4536, allocations: 3.406 kB / 0.507 GB, free: 49.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.4536, allocations: 4 kB / 0.507 GB, free: 49.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002933/0.4566, allocations: 1.406 MB / 0.5084 GB, free: 49.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/0.4566, allocations: 5.375 kB / 0.5084 GB, free: 49.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/0.4577, allocations: 189.9 kB / 0.5085 GB, free: 49.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002966/0.458, allocations: 57.23 kB / 0.5086 GB, free: 49.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.608e-05/0.458, allocations: 17.14 kB / 0.5086 GB, free: 49.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002286/0.4603, allocations: 2.793 MB / 0.5113 GB, free: 46.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.4604, allocations: 2.219 kB / 0.5113 GB, free: 46.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/0.4623, allocations: 0.9964 MB / 0.5123 GB, free: 45.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004055/0.4627, allocations: 199 kB / 0.5125 GB, free: 45.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/0.4629, allocations: 14.84 kB / 0.5125 GB, free: 45.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000522/0.4635, allocations: 29.48 kB / 0.5125 GB, free: 45.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.4636, allocations: 41.77 kB / 0.5126 GB, free: 45.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.903e-05/0.4637, allocations: 19.59 kB / 0.5126 GB, free: 45.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006948/0.4644, allocations: 421 kB / 0.513 GB, free: 45.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4644, allocations: 3.469 kB / 0.513 GB, free: 45.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001292/0.4657, allocations: 215 kB / 0.5132 GB, free: 45.49 MB / 382.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.0006576/0.4663, allocations: 233.5 kB / 0.5134 GB, free: 45.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001531/0.4679, allocations: 0.5921 MB / 0.514 GB, free: 45.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.4679, allocations: 1.094 kB / 0.514 GB, free: 45.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001204/0.4691, allocations: 489.2 kB / 0.5145 GB, free: 44.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/0.4711, allocations: 348.9 kB / 0.5148 GB, free: 44.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003119/0.4742, allocations: 1.623 MB / 0.5164 GB, free: 43.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005737/0.4748, allocations: 0.9375 MB / 0.5173 GB, free: 43.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009204/0.4758, allocations: 213.9 kB / 0.5175 GB, free: 43.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002081/0.476, allocations: 62.31 kB / 0.5176 GB, free: 43.19 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.476, allocations: 0 / 0.5176 GB, free: 43.19 MB / 382.1 MB Notification: Performance of Templates: time 0.0249/0.5009, allocations: 14.52 MB / 0.5318 GB, free: 34.66 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches