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.001051/0.001051, allocations: 95.94 kB / 17.35 MB, free: 6.367 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.001313/0.001313, allocations: 176 kB / 18.25 MB, free: 5.523 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.387/1.387, allocations: 223.3 MB / 242.3 MB, free: 14.48 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.2012/0.2012, allocations: 44.25 MB / 337.7 MB, free: 2.422 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003066/0.0003066, allocations: 8 kB / 410.3 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1244, allocations: 61.92 MB / 472.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02086/0.1453, allocations: 20.35 MB / 492.6 MB, free: 8.883 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006437/0.1518, allocations: 4.395 MB / 497 MB, free: 4.473 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008097/0.1526, allocations: 27.75 kB / 497 MB, free: 4.445 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009575/0.1536, allocations: 270.5 kB / 497.3 MB, free: 4.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002365/0.156, allocations: 0.8048 MB / 498.1 MB, free: 3.371 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002583/0.1586, allocations: 0.8018 MB / 498.9 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00387/0.1625, allocations: 2.659 MB / 0.4898 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009544/0.1635, allocations: 397 kB / 0.4902 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002975/0.1665, allocations: 0.817 MB / 0.491 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001841/0.1683, allocations: 0.65 MB / 0.4916 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002417/0.1686, allocations: 28 kB / 0.4916 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001337/0.1699, allocations: 279.5 kB / 0.4919 GB, free: 13.74 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004665/0.1704, allocations: 231.3 kB / 0.4921 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008038/0.1712, allocations: 387.9 kB / 0.4925 GB, free: 13.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001629/0.1729, allocations: 1.04 MB / 0.4935 GB, free: 12.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1729, allocations: 0 / 0.4935 GB, free: 12.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1729, allocations: 0 / 0.4935 GB, free: 12.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.1729, allocations: 0 / 0.4935 GB, free: 12.09 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.00288/0.1758, allocations: 0.9232 MB / 0.4944 GB, free: 11.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.125e-05/0.1759, allocations: 11.97 kB / 0.4944 GB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006043/0.1765, allocations: 96.02 kB / 0.4945 GB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.1779, allocations: 0.4937 MB / 0.495 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.1781, allocations: 104.9 kB / 0.4951 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002217/0.1783, allocations: 48.38 kB / 0.4952 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002173/0.1805, allocations: 0.8213 MB / 0.496 GB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.545e-05/0.1806, allocations: 11.84 kB / 0.496 GB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/0.1808, allocations: 27.98 kB / 0.496 GB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.423e-05/0.1809, allocations: 40.97 kB / 0.496 GB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001626/0.1825, allocations: 0.6438 MB / 0.4967 GB, free: 8.695 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.008278/0.1908, allocations: 4.213 MB / 0.5008 GB, free: 4.188 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.1921, allocations: 419.9 kB / 0.5012 GB, free: 3.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005469/0.1927, allocations: 201.4 kB / 0.5014 GB, free: 3.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000771/0.1935, allocations: 0.5068 MB / 0.5019 GB, free: 2.953 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.703e-05/0.1935, allocations: 38.89 kB / 0.5019 GB, free: 2.906 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 6.793e-06/0.1936, allocations: 0 / 0.5019 GB, free: 2.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.004883/0.1984, allocations: 1.532 MB / 0.5034 GB, free: 1.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.1986, allocations: 132.5 kB / 0.5035 GB, free: 1.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.1996, allocations: 0.5693 MB / 0.5041 GB, free: 0.582 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.583e-05/0.1997, allocations: 33.7 kB / 0.5041 GB, free: 0.543 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003847/0.2001, allocations: 355 kB / 0.5044 GB, free: 196 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002155/0.2003, allocations: 165.7 kB / 0.5046 GB, free: 28 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2314/0.4317, allocations: 60.34 kB / 0.5047 GB, free: 50.9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.4319, allocations: 378.7 kB / 0.505 GB, free: 50.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004783/0.4324, allocations: 223.9 kB / 0.5052 GB, free: 50.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005427/0.4329, allocations: 0.5258 MB / 0.5058 GB, free: 50.22 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009009/0.4338, allocations: 0.7795 MB / 0.5065 GB, free: 49.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.902e-06/0.4338, allocations: 6.203 kB / 0.5065 GB, free: 49.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002001/0.4358, allocations: 0.9376 MB / 0.5074 GB, free: 49.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.4359, allocations: 9.375 kB / 0.5074 GB, free: 49.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.4359, allocations: 8.969 kB / 0.5075 GB, free: 49.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/0.4371, allocations: 268.7 kB / 0.5077 GB, free: 49.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004226/0.4376, allocations: 124.9 kB / 0.5078 GB, free: 49.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008382/0.4384, allocations: 0.8679 MB / 0.5087 GB, free: 49.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005992/0.439, allocations: 48.39 kB / 0.5087 GB, free: 49.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.166e-05/0.4391, allocations: 33.55 kB / 0.5088 GB, free: 49.21 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.0003736/0.4395, allocations: 250.9 kB / 0.509 GB, free: 49.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.4396, allocations: 69.84 kB / 0.5091 GB, free: 49.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/0.441, allocations: 0.7121 MB / 0.5098 GB, free: 48.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/0.441, allocations: 6.109 kB / 0.5098 GB, free: 48.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.441, allocations: 0 / 0.5098 GB, free: 48.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.4411, allocations: 5.828 kB / 0.5098 GB, free: 48.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002074/0.4431, allocations: 1.407 MB / 0.5111 GB, free: 47.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.4432, allocations: 1.438 kB / 0.5111 GB, free: 47.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009919/0.4442, allocations: 195.7 kB / 0.5113 GB, free: 47.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002906/0.4445, allocations: 62.11 kB / 0.5114 GB, free: 47.94 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-05/0.4445, allocations: 18.84 kB / 0.5114 GB, free: 47.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001731/0.4462, allocations: 2.782 MB / 0.5141 GB, free: 45.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4463, allocations: 2.156 kB / 0.5141 GB, free: 45.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/0.4477, allocations: 0.9997 MB / 0.5151 GB, free: 44.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002647/0.448, allocations: 201.3 kB / 0.5153 GB, free: 44.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.554e-05/0.4481, allocations: 22.75 kB / 0.5153 GB, free: 44.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004068/0.4485, allocations: 33 kB / 0.5153 GB, free: 44.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.657e-05/0.4486, allocations: 45.36 kB / 0.5154 GB, free: 44.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.604e-05/0.4487, allocations: 21 kB / 0.5154 GB, free: 44.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000524/0.4492, allocations: 423.1 kB / 0.5158 GB, free: 44.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4492, allocations: 1.438 kB / 0.5158 GB, free: 44.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007966/0.45, allocations: 206.8 kB / 0.516 GB, free: 44.27 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.0004212/0.4504, allocations: 230.7 kB / 0.5162 GB, free: 44.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00112/0.4516, allocations: 0.6027 MB / 0.5168 GB, free: 43.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.4516, allocations: 1.344 kB / 0.5168 GB, free: 43.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.4527, allocations: 485.8 kB / 0.5173 GB, free: 43.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/0.4546, allocations: 350.4 kB / 0.5176 GB, free: 43.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.4568, allocations: 1.724 MB / 0.5193 GB, free: 42.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.4572, allocations: 0.9321 MB / 0.5202 GB, free: 41.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007303/0.458, allocations: 209.3 kB / 0.5204 GB, free: 41.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.4581, allocations: 61.36 kB / 0.5205 GB, free: 41.93 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4581, allocations: 1.422 kB / 0.5205 GB, free: 41.93 MB / 382.1 MB Notification: Performance of Templates: time 0.02027/0.4784, allocations: 14.45 MB / 0.5346 GB, free: 33.16 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