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: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 107.6 kB / 17.21 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.001265/0.001266, 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.337/1.337, allocations: 222.9 MB / 241.8 MB, free: 15.44 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.2134/0.2134, allocations: 44.18 MB / 336.1 MB, free: 3 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 65.05 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1193, allocations: 60.82 MB / 468.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.0233/0.1426, allocations: 20.97 MB / 489.6 MB, free: 9.711 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006734/0.1494, allocations: 4.462 MB / 494.1 MB, free: 5.234 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009252/0.1504, allocations: 23.81 kB / 494.1 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009759/0.1514, allocations: 274.5 kB / 494.4 MB, free: 4.941 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002081/0.1535, allocations: 0.8087 MB / 495.2 MB, free: 4.129 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002181/0.1557, allocations: 0.7984 MB / 496 MB, free: 3.332 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00288/0.1586, allocations: 2.66 MB / 498.6 MB, free: 0.668 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009891/0.1596, allocations: 409.3 kB / 499 MB, free: 268 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002177/0.1618, allocations: 0.817 MB / 499.8 MB, free: 15.44 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001355/0.1631, allocations: 0.6538 MB / 0.4888 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002543/0.1634, allocations: 35.94 kB / 0.4888 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.1645, allocations: 271.6 kB / 0.4891 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004082/0.1649, allocations: 231.3 kB / 0.4893 GB, free: 14.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007693/0.1657, allocations: 370.1 kB / 0.4896 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001637/0.1673, allocations: 1.048 MB / 0.4906 GB, free: 12.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.1674, allocations: 3.984 kB / 0.4907 GB, free: 12.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1674, allocations: 0 / 0.4907 GB, free: 12.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.008e-05/0.1674, allocations: 0 / 0.4907 GB, free: 12.84 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.003011/0.1704, allocations: 1.048 MB / 0.4917 GB, free: 11.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.1705, allocations: 12.03 kB / 0.4917 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001769/0.1707, allocations: 98.7 kB / 0.4918 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003985/0.1711, allocations: 91.98 kB / 0.4919 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009554/0.172, allocations: 0.5054 MB / 0.4924 GB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.1722, allocations: 101 kB / 0.4925 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.5e-05/0.1723, allocations: 56.11 kB / 0.4925 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.1737, allocations: 0.8214 MB / 0.4933 GB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.1737, allocations: 3.938 kB / 0.4933 GB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.05e-05/0.1738, allocations: 20 kB / 0.4933 GB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.037e-05/0.1739, allocations: 36.98 kB / 0.4934 GB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/0.1751, allocations: 0.6478 MB / 0.494 GB, free: 9.223 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.005598/0.1807, allocations: 4.225 MB / 0.4981 GB, free: 4.703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.1818, allocations: 411.7 kB / 0.4985 GB, free: 4.297 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000354/0.1821, allocations: 209.4 kB / 0.4987 GB, free: 4.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005869/0.1827, allocations: 0.5029 MB / 0.4992 GB, free: 3.477 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.1828, allocations: 38.89 kB / 0.4993 GB, free: 3.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 3.636e-06/0.1828, allocations: 0 / 0.4993 GB, free: 3.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.003751/0.1866, allocations: 1.529 MB / 0.5007 GB, free: 1.848 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.1867, allocations: 136.5 kB / 0.5009 GB, free: 1.684 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008017/0.1875, allocations: 0.5693 MB / 0.5014 GB, free: 1.105 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.091e-05/0.1876, allocations: 37.7 kB / 0.5015 GB, free: 1.062 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002961/0.1879, allocations: 347.1 kB / 0.5018 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.188, allocations: 169.6 kB / 0.502 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/0.1882, allocations: 134.6 kB / 0.5021 GB, free: 424 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002037/0.1884, allocations: 382.7 kB / 0.5025 GB, free: 32 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2027/0.3911, allocations: 220 kB / 0.5027 GB, free: 51.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006325/0.3918, allocations: 0.5233 MB / 0.5032 GB, free: 51.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009371/0.3927, allocations: 0.778 MB / 0.5039 GB, free: 51.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.3928, allocations: 2.781 kB / 0.5039 GB, free: 51.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001801/0.3946, allocations: 0.9386 MB / 0.5049 GB, free: 51.15 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.3946, allocations: 9.688 kB / 0.5049 GB, free: 51.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.3946, allocations: 12.97 kB / 0.5049 GB, free: 51.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/0.3958, allocations: 267 kB / 0.5051 GB, free: 51.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004249/0.3962, allocations: 125.1 kB / 0.5052 GB, free: 51.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008623/0.3971, allocations: 0.866 MB / 0.5061 GB, free: 50.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005381/0.3977, allocations: 48.58 kB / 0.5061 GB, free: 50.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.009e-05/0.3977, allocations: 36.09 kB / 0.5062 GB, free: 50.41 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.0003036/0.398, allocations: 242.4 kB / 0.5064 GB, free: 50.24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.3981, allocations: 74.75 kB / 0.5065 GB, free: 50.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001471/0.3996, allocations: 0.712 MB / 0.5072 GB, free: 49.92 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.3996, allocations: 5.797 kB / 0.5072 GB, free: 49.92 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.3997, allocations: 1.594 kB / 0.5072 GB, free: 49.92 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.3997, allocations: 3.766 kB / 0.5072 GB, free: 49.92 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002035/0.4017, allocations: 1.397 MB / 0.5085 GB, free: 49.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.4017, allocations: 2.125 kB / 0.5086 GB, free: 49.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000977/0.4027, allocations: 198 kB / 0.5087 GB, free: 49.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002598/0.403, allocations: 57.67 kB / 0.5088 GB, free: 49.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.443e-05/0.403, allocations: 15.89 kB / 0.5088 GB, free: 49.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001737/0.4048, allocations: 2.781 MB / 0.5115 GB, free: 46.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4048, allocations: 1.062 kB / 0.5115 GB, free: 46.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/0.4063, allocations: 1 MB / 0.5125 GB, free: 45.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002428/0.4065, allocations: 202.1 kB / 0.5127 GB, free: 45.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.132e-05/0.4066, allocations: 9.719 kB / 0.5127 GB, free: 45.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003976/0.407, allocations: 31.12 kB / 0.5127 GB, free: 45.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.107e-05/0.4071, allocations: 40.06 kB / 0.5128 GB, free: 45.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.332e-05/0.4072, allocations: 21.12 kB / 0.5128 GB, free: 45.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004609/0.4077, allocations: 432.4 kB / 0.5132 GB, free: 45.49 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.42e-07/0.4077, allocations: 0 / 0.5132 GB, free: 45.49 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007484/0.4084, allocations: 207 kB / 0.5134 GB, free: 45.47 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.001835/0.4103, allocations: 1.669 MB / 0.515 GB, free: 44.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.4113, allocations: 0.6055 MB / 0.5156 GB, free: 44.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4114, allocations: 1.219 kB / 0.5156 GB, free: 44.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.4125, allocations: 494.8 kB / 0.5161 GB, free: 43.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/0.4141, allocations: 351.7 kB / 0.5164 GB, free: 43.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008444/0.4226, allocations: 6.951 MB / 0.5232 GB, free: 39.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.4229, allocations: 0.9339 MB / 0.5241 GB, free: 38.87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007466/0.4237, allocations: 211.1 kB / 0.5243 GB, free: 38.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002635/0.424, allocations: 231.8 kB / 0.5246 GB, free: 38.68 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.424, allocations: 0 / 0.5246 GB, free: 38.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02867/0.4526, allocations: 21.14 MB / 0.5452 GB, free: 20.75 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/0.4528, allocations: 314.7 kB / 0.5455 GB, free: 20.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.529/2.981, allocations: 0 / 0.5455 GB, free: 20.38 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > 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/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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches