Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.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.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",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.001093/0.001093, allocations: 105.7 kB / 17.32 MB, free: 5.984 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.001165/0.001165, allocations: 193.3 kB / 18.25 MB, free: 5.07 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.372/1.372, allocations: 222.9 MB / 241.9 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.2281/0.2281, allocations: 44.17 MB / 336.2 MB, free: 2.961 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001458, allocations: 63.75 kB / 408 MB, free: 27.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.118, allocations: 60.83 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.03147/0.1495, allocations: 25.43 MB / 494.3 MB, free: 5.117 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007679/0.1573, allocations: 4.465 MB / 498.7 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.1585, allocations: 31.75 kB / 498.8 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001178/0.1597, allocations: 254.6 kB / 499 MB, free: 364 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004284/0.1641, allocations: 1.524 MB / 0.4888 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003141/0.1673, allocations: 1.295 MB / 0.4901 GB, free: 13.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002275/0.1695, allocations: 1.844 MB / 0.4919 GB, free: 11.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006495/0.1702, allocations: 477.3 kB / 0.4923 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005505/0.1757, allocations: 3.772 MB / 0.496 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002052/0.1778, allocations: 1.55 MB / 0.4975 GB, free: 5.883 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.1779, allocations: 64 kB / 0.4976 GB, free: 5.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002381/0.1803, allocations: 1.412 MB / 0.499 GB, free: 4.406 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002819/0.1806, allocations: 263.3 kB / 0.4992 GB, free: 4.148 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004455/0.1811, allocations: 406.1 kB / 0.4996 GB, free: 3.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001759/0.1828, allocations: 1.367 MB / 0.5009 GB, free: 2.379 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1828, allocations: 0 / 0.5009 GB, free: 2.379 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1829, allocations: 0 / 0.5009 GB, free: 2.379 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.1829, allocations: 0 / 0.5009 GB, free: 2.379 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.00209/0.185, allocations: 1.13 MB / 0.502 GB, free: 1.199 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.185, allocations: 8.031 kB / 0.502 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001324/0.1852, allocations: 106.7 kB / 0.5021 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009939/0.1862, allocations: 139.9 kB / 0.5023 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007232/0.1869, allocations: 0.5093 MB / 0.5028 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.187, allocations: 112.5 kB / 0.5029 GB, free: 276 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.533e-05/0.1871, allocations: 51.98 kB / 0.5029 GB, free: 224 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2086/0.3957, allocations: 0.8234 MB / 0.5037 GB, free: 52.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/0.3958, allocations: 4.062 kB / 0.5037 GB, free: 52.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.3959, allocations: 26.41 kB / 0.5038 GB, free: 52.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.632e-05/0.396, allocations: 41.66 kB / 0.5038 GB, free: 52.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/0.3974, allocations: 0.6069 MB / 0.5044 GB, free: 52.46 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.004748/0.4022, allocations: 4.689 MB / 0.509 GB, free: 48.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006227/0.4028, allocations: 327.4 kB / 0.5093 GB, free: 48.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002221/0.4031, allocations: 139.3 kB / 0.5094 GB, free: 48.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002043/0.4033, allocations: 420.8 kB / 0.5098 GB, free: 48.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.4033, allocations: 37.88 kB / 0.5099 GB, free: 47.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.615e-06/0.4033, allocations: 0 / 0.5099 GB, free: 47.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.004236/0.4076, allocations: 1.53 MB / 0.5114 GB, free: 47.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.4076, allocations: 133.1 kB / 0.5115 GB, free: 47 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.4087, allocations: 0.6562 MB / 0.5121 GB, free: 46.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.244e-05/0.4088, allocations: 36.33 kB / 0.5122 GB, free: 46.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002796/0.4091, allocations: 393 kB / 0.5125 GB, free: 46.37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.4092, allocations: 134.9 kB / 0.5127 GB, free: 46.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002584/0.4095, allocations: 145.2 kB / 0.5128 GB, free: 46.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.4097, allocations: 379.4 kB / 0.5132 GB, free: 45.85 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004208/0.4101, allocations: 202.8 kB / 0.5134 GB, free: 45.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000477/0.4106, allocations: 0.5001 MB / 0.5138 GB, free: 45.33 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008247/0.4114, allocations: 0.7145 MB / 0.5145 GB, free: 44.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.787e-06/0.4114, allocations: 2.281 kB / 0.5145 GB, free: 44.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001764/0.4132, allocations: 0.8915 MB / 0.5154 GB, free: 44.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/0.4132, allocations: 11.97 kB / 0.5154 GB, free: 44.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.421e-05/0.4133, allocations: 9.562 kB / 0.5154 GB, free: 44.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001325/0.4146, allocations: 290.9 kB / 0.5157 GB, free: 44.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003887/0.415, allocations: 120.5 kB / 0.5158 GB, free: 44.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001024/0.416, allocations: 1.396 MB / 0.5172 GB, free: 43.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005858/0.4166, allocations: 39.06 kB / 0.5172 GB, free: 43.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.98e-05/0.4167, allocations: 48.44 kB / 0.5173 GB, free: 43.14 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 (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003168/0.4171, allocations: 254 kB / 0.5175 GB, free: 42.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.4172, allocations: 64.12 kB / 0.5176 GB, free: 42.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001658/0.4189, allocations: 0.7158 MB / 0.5183 GB, free: 42.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.4189, allocations: 4.234 kB / 0.5183 GB, free: 42.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.4189, allocations: 1.375 kB / 0.5183 GB, free: 42.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.4189, allocations: 1.875 kB / 0.5183 GB, free: 42.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002201/0.4211, allocations: 1.215 MB / 0.5195 GB, free: 41.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.4211, allocations: 1.594 kB / 0.5195 GB, free: 41.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.4213, allocations: 40.62 kB / 0.5195 GB, free: 41.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008381/0.4222, allocations: 202.9 kB / 0.5197 GB, free: 41.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.57e-05/0.4222, allocations: 17.56 kB / 0.5197 GB, free: 41.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008613/0.4231, allocations: 1.291 MB / 0.521 GB, free: 40.78 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.4231, allocations: 1.062 kB / 0.521 GB, free: 40.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001349/0.4244, allocations: 0.8049 MB / 0.5218 GB, free: 40.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002985/0.4248, allocations: 184.2 kB / 0.5219 GB, free: 40.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.4249, allocations: 12 kB / 0.522 GB, free: 40.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004379/0.4253, allocations: 22.48 kB / 0.522 GB, free: 40.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.855e-05/0.4254, allocations: 28.48 kB / 0.522 GB, free: 40.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.454e-05/0.4255, allocations: 24.64 kB / 0.522 GB, free: 40.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005977/0.4261, allocations: 449.7 kB / 0.5225 GB, free: 39.99 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4261, allocations: 0 / 0.5225 GB, free: 39.99 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009083/0.427, allocations: 257.6 kB / 0.5227 GB, free: 39.96 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002097/0.4291, allocations: 1.538 MB / 0.5242 GB, free: 38.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001148/0.4303, allocations: 0.5454 MB / 0.5247 GB, free: 38.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.4303, allocations: 1.062 kB / 0.5247 GB, free: 38.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004657/0.4308, allocations: 221.8 kB / 0.5249 GB, free: 38.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/0.4323, allocations: 336.3 kB / 0.5253 GB, free: 38.67 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00804/0.4403, allocations: 6.561 MB / 0.5317 GB, free: 34.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.4407, allocations: 0.9361 MB / 0.5326 GB, free: 33.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007377/0.4414, allocations: 257.4 kB / 0.5328 GB, free: 33.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002627/0.4417, allocations: 225.5 kB / 0.533 GB, free: 32.95 MB / 382.1 MB Notification: Performance of SimCode: time 1.312e-06/0.4417, allocations: 3.969 kB / 0.5331 GB, free: 32.95 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03603/0.4777, allocations: 21.64 MB / 0.5542 GB, free: 12.21 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002783/0.4781, allocations: 320 kB / 0.5545 GB, free: 11.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.429/2.907, allocations: 2.812 kB / 0.5545 GB, free: 11.82 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Incompressible/Essotherm650/Essotherm650.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches