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.00111/0.00111, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001206/0.001207, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.382/1.382, allocations: 222.9 MB / 242.3 MB, free: 15.22 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.1936/0.1936, allocations: 44.18 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 61.17 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1146, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.0287/0.1433, allocations: 24.98 MB / 494.3 MB, free: 5.195 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006467/0.1498, allocations: 4.379 MB / 498.7 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005836/0.1504, allocations: 19.88 kB / 498.7 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008298/0.1513, allocations: 290.1 kB / 499 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003945/0.1553, allocations: 1.626 MB / 0.4889 GB, free: 14.87 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003216/0.1585, allocations: 1.375 MB / 0.4903 GB, free: 13.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002181/0.1607, allocations: 1.848 MB / 0.4921 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006455/0.1613, allocations: 477.3 kB / 0.4925 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004913/0.1663, allocations: 3.359 MB / 0.4958 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001982/0.1683, allocations: 1.383 MB / 0.4972 GB, free: 6.422 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002018/0.1685, allocations: 64 kB / 0.4972 GB, free: 6.359 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002457/0.1709, allocations: 1.287 MB / 0.4985 GB, free: 5.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004644/0.1714, allocations: 271.2 kB / 0.4987 GB, free: 4.805 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.1725, allocations: 406.1 kB / 0.4991 GB, free: 4.406 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003223/0.1757, allocations: 1.36 MB / 0.5004 GB, free: 3.043 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1757, allocations: 0 / 0.5004 GB, free: 3.043 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1757, allocations: 0 / 0.5004 GB, free: 3.043 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.691e-05/0.1758, allocations: 3.938 kB / 0.5005 GB, free: 3.039 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.002878/0.1787, allocations: 1.13 MB / 0.5016 GB, free: 1.859 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.1787, allocations: 8.031 kB / 0.5016 GB, free: 1.852 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001694/0.1789, allocations: 98.69 kB / 0.5017 GB, free: 1.746 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/0.18, allocations: 144 kB / 0.5018 GB, free: 1.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008692/0.1809, allocations: 0.5093 MB / 0.5023 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.1811, allocations: 108.5 kB / 0.5024 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.1812, allocations: 48 kB / 0.5024 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2199/0.4011, allocations: 0.8356 MB / 0.5033 GB, free: 52.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.525e-05/0.4012, allocations: 5.844 kB / 0.5033 GB, free: 52.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002735/0.4015, allocations: 22.06 kB / 0.5033 GB, free: 52.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001069/0.4016, allocations: 36.58 kB / 0.5033 GB, free: 52.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001952/0.4036, allocations: 0.6022 MB / 0.5039 GB, free: 52.32 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.005839/0.4094, allocations: 4.695 MB / 0.5085 GB, free: 48.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007905/0.4102, allocations: 331.6 kB / 0.5088 GB, free: 48.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002605/0.4105, allocations: 139.8 kB / 0.5089 GB, free: 48.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002574/0.4108, allocations: 420.7 kB / 0.5093 GB, free: 48.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.4108, allocations: 41.89 kB / 0.5094 GB, free: 48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.595e-06/0.4108, allocations: 1.156 kB / 0.5094 GB, free: 48 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.004173/0.415, allocations: 1.524 MB / 0.5109 GB, free: 47.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/0.4151, allocations: 134.1 kB / 0.511 GB, free: 47.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008432/0.4159, allocations: 0.6563 MB / 0.5116 GB, free: 46.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/0.416, allocations: 32.73 kB / 0.5117 GB, free: 46.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002511/0.4163, allocations: 391.3 kB / 0.512 GB, free: 46.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.718e-05/0.4164, allocations: 141 kB / 0.5122 GB, free: 46.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002114/0.4166, allocations: 144.5 kB / 0.5123 GB, free: 46.22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.4167, allocations: 377 kB / 0.5127 GB, free: 45.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003491/0.4171, allocations: 205.4 kB / 0.5129 GB, free: 45.81 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005048/0.4176, allocations: 0.5012 MB / 0.5134 GB, free: 45.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000866/0.4184, allocations: 0.7099 MB / 0.5141 GB, free: 44.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.4185, allocations: 2.281 kB / 0.5141 GB, free: 44.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001654/0.4201, allocations: 0.8969 MB / 0.5149 GB, free: 44.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.4202, allocations: 9.094 kB / 0.5149 GB, free: 44.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.4202, allocations: 9.562 kB / 0.5149 GB, free: 44.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001308/0.4215, allocations: 279.3 kB / 0.5152 GB, free: 44.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004174/0.4219, allocations: 125.5 kB / 0.5153 GB, free: 44.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/0.4232, allocations: 1.401 MB / 0.5167 GB, free: 43.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006016/0.4238, allocations: 27.14 kB / 0.5167 GB, free: 43.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-05/0.4239, allocations: 44.58 kB / 0.5168 GB, free: 43.17 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.0004351/0.4244, allocations: 245.1 kB / 0.517 GB, free: 42.99 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.4245, allocations: 70.67 kB / 0.5171 GB, free: 42.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001929/0.4264, allocations: 0.7232 MB / 0.5178 GB, free: 42.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.4265, allocations: 1.5 kB / 0.5178 GB, free: 42.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.4265, allocations: 1.375 kB / 0.5178 GB, free: 42.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.4265, allocations: 2.25 kB / 0.5178 GB, free: 42.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002597/0.4291, allocations: 1.207 MB / 0.519 GB, free: 42.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.4291, allocations: 1.203 kB / 0.519 GB, free: 42.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.4294, allocations: 45.11 kB / 0.519 GB, free: 42.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001043/0.4304, allocations: 202.2 kB / 0.5192 GB, free: 41.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.91e-05/0.4305, allocations: 21.48 kB / 0.5192 GB, free: 41.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001003/0.4315, allocations: 1.296 MB / 0.5205 GB, free: 40.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.4315, allocations: 1.438 kB / 0.5205 GB, free: 40.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.4329, allocations: 0.8029 MB / 0.5213 GB, free: 40.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002725/0.4331, allocations: 184.9 kB / 0.5214 GB, free: 40.22 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.4333, allocations: 11.86 kB / 0.5215 GB, free: 40.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003728/0.4336, allocations: 14.31 kB / 0.5215 GB, free: 40.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.735e-05/0.4337, allocations: 28.19 kB / 0.5215 GB, free: 40.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-05/0.4338, allocations: 21.98 kB / 0.5215 GB, free: 40.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006516/0.4344, allocations: 454.5 kB / 0.522 GB, free: 40 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4344, allocations: 0 / 0.522 GB, free: 40 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009945/0.4354, allocations: 256.6 kB / 0.5222 GB, free: 39.98 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.003072/0.4385, allocations: 1.528 MB / 0.5237 GB, free: 39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00198/0.4405, allocations: 0.5511 MB / 0.5242 GB, free: 38.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.4406, allocations: 1.25 kB / 0.5242 GB, free: 38.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007904/0.4414, allocations: 229.4 kB / 0.5244 GB, free: 38.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002582/0.444, allocations: 339.5 kB / 0.5248 GB, free: 38.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/0.455, allocations: 6.349 MB / 0.531 GB, free: 34.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.4553, allocations: 0.9355 MB / 0.5319 GB, free: 33.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008192/0.4562, allocations: 255.2 kB / 0.5321 GB, free: 33.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002625/0.4564, allocations: 230.8 kB / 0.5324 GB, free: 33.3 MB / 382.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4564, allocations: 0 / 0.5324 GB, free: 33.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04398/0.5004, allocations: 21.79 MB / 0.5536 GB, free: 12.53 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/13.09, allocations: 11.42 kB / 0.5536 GB, free: 12.52 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