Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001576/0.001576, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002015/0.002015, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.215/0.215, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 69.34 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1313, allocations: 62.45 MB / 480.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02485/0.1562, allocations: 20.35 MB / 0.4888 GB, free: 0.7539 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006249/0.1625, allocations: 4.282 MB / 0.4929 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005915/0.1631, allocations: 19.88 kB / 0.493 GB, free: 12.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009119/0.1641, allocations: 310 kB / 0.4933 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00185/0.166, allocations: 0.8511 MB / 0.4941 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00215/0.1681, allocations: 0.9184 MB / 0.495 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001823/0.17, allocations: 1.782 MB / 0.4967 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007026/0.1707, allocations: 473.3 kB / 0.4972 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001893/0.1726, allocations: 0.9223 MB / 0.4981 GB, free: 7.184 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001107/0.1737, allocations: 0.6344 MB / 0.4987 GB, free: 6.547 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001651/0.1739, allocations: 63.94 kB / 0.4988 GB, free: 6.484 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.1749, allocations: 299.7 kB / 0.499 GB, free: 6.191 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003315/0.1753, allocations: 263.3 kB / 0.4993 GB, free: 5.934 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005041/0.1758, allocations: 394.2 kB / 0.4997 GB, free: 5.547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.1773, allocations: 1.079 MB / 0.5007 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1773, allocations: 0 / 0.5007 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1773, allocations: 0 / 0.5007 GB, free: 4.465 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.1773, allocations: 0 / 0.5007 GB, free: 4.465 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.002252/0.1796, allocations: 1.044 MB / 0.5017 GB, free: 3.371 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.1797, allocations: 12.03 kB / 0.5018 GB, free: 3.359 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000122/0.1798, allocations: 98.7 kB / 0.5019 GB, free: 3.254 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003596/0.1801, allocations: 92.08 kB / 0.5019 GB, free: 3.164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008129/0.181, allocations: 0.5052 MB / 0.5024 GB, free: 2.617 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.1811, allocations: 105 kB / 0.5025 GB, free: 2.504 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.286e-05/0.1812, allocations: 56.11 kB / 0.5026 GB, free: 2.449 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.1824, allocations: 0.8204 MB / 0.5034 GB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.1824, allocations: 3.938 kB / 0.5034 GB, free: 1.559 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.186e-05/0.1825, allocations: 27.98 kB / 0.5034 GB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.45e-05/0.1826, allocations: 36.98 kB / 0.5035 GB, free: 1.492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.1836, allocations: 0.6439 MB / 0.5041 GB, free: 0.8477 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.2057/0.3893, allocations: 4.219 MB / 0.5082 GB, free: 41.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009545/0.3903, allocations: 419.2 kB / 0.5086 GB, free: 41.06 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003403/0.3907, allocations: 207.7 kB / 0.5088 GB, free: 41.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003944/0.3911, allocations: 0.5001 MB / 0.5093 GB, free: 40.44 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.3911, allocations: 43.83 kB / 0.5093 GB, free: 40.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 3.266e-06/0.3911, allocations: 3.969 kB / 0.5093 GB, free: 40.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.003559/0.3947, allocations: 1.518 MB / 0.5108 GB, free: 39.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.3948, allocations: 142.4 kB / 0.511 GB, free: 39.44 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008442/0.3956, allocations: 0.5753 MB / 0.5115 GB, free: 39.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.288e-05/0.3957, allocations: 33.33 kB / 0.5115 GB, free: 39.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000235/0.396, allocations: 353.1 kB / 0.5119 GB, free: 38.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.3961, allocations: 167.8 kB / 0.512 GB, free: 38.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002114/0.3963, allocations: 141.8 kB / 0.5122 GB, free: 38.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.621e-05/0.3964, allocations: 375.5 kB / 0.5125 GB, free: 38.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003601/0.3968, allocations: 221.9 kB / 0.5127 GB, free: 38.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004721/0.3973, allocations: 0.5174 MB / 0.5133 GB, free: 37.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008357/0.3981, allocations: 0.7802 MB / 0.514 GB, free: 37.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.3981, allocations: 2.656 kB / 0.514 GB, free: 37.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001907/0.4, allocations: 0.9396 MB / 0.5149 GB, free: 36.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.4001, allocations: 11.75 kB / 0.5149 GB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.4001, allocations: 8.75 kB / 0.515 GB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.4012, allocations: 263.6 kB / 0.5152 GB, free: 36.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004112/0.4016, allocations: 130.7 kB / 0.5153 GB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007997/0.4024, allocations: 0.8639 MB / 0.5162 GB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005219/0.403, allocations: 31.95 kB / 0.5162 GB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-05/0.403, allocations: 34.48 kB / 0.5162 GB, free: 36.1 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.0003025/0.4033, allocations: 245.2 kB / 0.5165 GB, free: 35.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.4034, allocations: 72.44 kB / 0.5165 GB, free: 35.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.4047, allocations: 0.7095 MB / 0.5172 GB, free: 35.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.4047, allocations: 7.25 kB / 0.5172 GB, free: 35.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.4047, allocations: 4.547 kB / 0.5172 GB, free: 35.55 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.4047, allocations: 9.312 kB / 0.5173 GB, free: 35.55 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002008/0.4068, allocations: 1.406 MB / 0.5186 GB, free: 34.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.4068, allocations: 1.406 kB / 0.5186 GB, free: 34.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009941/0.4078, allocations: 192.8 kB / 0.5188 GB, free: 34.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000248/0.408, allocations: 55.45 kB / 0.5189 GB, free: 34.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.884e-05/0.4081, allocations: 15.45 kB / 0.5189 GB, free: 34.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001808/0.4099, allocations: 2.981 MB / 0.5218 GB, free: 31.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.4099, allocations: 4.266 kB / 0.5218 GB, free: 31.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.4115, allocations: 1.003 MB / 0.5228 GB, free: 31.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003033/0.4118, allocations: 199.9 kB / 0.523 GB, free: 31.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.701e-05/0.4119, allocations: 14.48 kB / 0.523 GB, free: 31.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003828/0.4123, allocations: 16.47 kB / 0.523 GB, free: 31.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.4124, allocations: 41.08 kB / 0.523 GB, free: 31.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.614e-05/0.4125, allocations: 21.12 kB / 0.5231 GB, free: 31.06 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005366/0.413, allocations: 427.7 kB / 0.5235 GB, free: 30.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.413, allocations: 1.062 kB / 0.5235 GB, free: 30.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008152/0.4138, allocations: 200.2 kB / 0.5237 GB, free: 30.84 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.002006/0.4159, allocations: 1.67 MB / 0.5253 GB, free: 29.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001415/0.4173, allocations: 0.6757 MB / 0.5259 GB, free: 29.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.4173, allocations: 1.062 kB / 0.5259 GB, free: 29.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.4184, allocations: 478.4 kB / 0.5264 GB, free: 29.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001724/0.4202, allocations: 382.5 kB / 0.5268 GB, free: 29.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008317/0.4285, allocations: 6.759 MB / 0.5334 GB, free: 25.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.4289, allocations: 0.9344 MB / 0.5343 GB, free: 24.24 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008406/0.4298, allocations: 208.3 kB / 0.5345 GB, free: 24.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002986/0.4301, allocations: 231.5 kB / 0.5347 GB, free: 23.96 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4301, allocations: 0 / 0.5347 GB, free: 23.96 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04723/0.4773, allocations: 21.89 MB / 0.5561 GB, free: 4.129 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.46, allocations: 8.25 kB / 0.5561 GB, free: 4.121 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p