Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_3_2_3_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.0008831/0.0008832, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 177 kB / 16.91 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.594/1.594, allocations: 205.4 MB / 223.1 MB, free: 5.449 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4081/0.4081, allocations: 43.57 MB / 315 MB, free: 8.832 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000557/0.0005569, allocations: 12 kB / 384.7 MB, free: 7.535 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1391, allocations: 58.86 MB / 443.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.2826/0.4218, allocations: 30.5 MB / 474 MB, free: 32.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005972/0.4278, allocations: 4.704 MB / 478.8 MB, free: 30.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009122/0.4288, allocations: 20.84 kB / 478.8 MB, free: 30.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008047/0.4296, allocations: 254 kB / 479 MB, free: 30.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003671/0.4333, allocations: 1.656 MB / 480.7 MB, free: 29.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003015/0.4363, allocations: 1.387 MB / 482.1 MB, free: 28.81 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002402/0.4387, allocations: 2.717 MB / 484.8 MB, free: 27.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005885/0.4393, allocations: 419 kB / 485.2 MB, free: 27.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005221/0.4445, allocations: 3.732 MB / 488.9 MB, free: 27.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002079/0.4467, allocations: 1.526 MB / 490.4 MB, free: 26.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.4468, allocations: 32.38 kB / 490.5 MB, free: 26.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002719/0.4495, allocations: 1.52 MB / 492 MB, free: 26.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003217/0.4499, allocations: 236.4 kB / 492.2 MB, free: 26.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006989/0.4506, allocations: 402.9 kB / 492.6 MB, free: 26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003324/0.4539, allocations: 1.446 MB / 494.1 MB, free: 25.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4539, allocations: 0 / 494.1 MB, free: 25.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.4539, allocations: 3.938 kB / 494.1 MB, free: 25.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.621e-05/0.454, allocations: 0.9688 kB / 494.1 MB, free: 25.57 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.00297/0.4569, allocations: 1 MB / 495.1 MB, free: 24.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.457, allocations: 14.41 kB / 495.1 MB, free: 24.86 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002156/0.4572, allocations: 105.2 kB / 495.2 MB, free: 24.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.4583, allocations: 145.5 kB / 495.3 MB, free: 24.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008916/0.4592, allocations: 0.5105 MB / 495.8 MB, free: 24.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.4594, allocations: 104.3 kB / 495.9 MB, free: 24.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.559e-05/0.4595, allocations: 48.84 kB / 496 MB, free: 24.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.461, allocations: 0.8438 MB / 496.8 MB, free: 23.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/0.461, allocations: 2.125 kB / 496.8 MB, free: 23.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.511e-05/0.4611, allocations: 20.69 kB / 496.9 MB, free: 23.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.099e-05/0.4612, allocations: 46.31 kB / 496.9 MB, free: 23.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.4624, allocations: 0.6118 MB / 497.5 MB, free: 23.56 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.004772/0.4672, allocations: 4.897 MB / 0.4906 GB, free: 19.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006434/0.4679, allocations: 325.8 kB / 0.4909 GB, free: 19.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/0.4681, allocations: 141.5 kB / 0.4911 GB, free: 19.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004083/0.4685, allocations: 0.6112 MB / 0.4917 GB, free: 18.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.4686, allocations: 42.8 kB / 0.4917 GB, free: 18.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.304e-06/0.4686, allocations: 4 kB / 0.4917 GB, free: 18.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.004214/0.4728, allocations: 1.537 MB / 0.4932 GB, free: 17.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.4729, allocations: 134.1 kB / 0.4934 GB, free: 17.47 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.474, allocations: 0.6585 MB / 0.494 GB, free: 17.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.491e-05/0.4741, allocations: 36.08 kB / 0.494 GB, free: 17.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003498/0.4744, allocations: 391.9 kB / 0.4944 GB, free: 16.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.4746, allocations: 129.6 kB / 0.4945 GB, free: 16.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.4747, allocations: 65.89 kB / 0.4946 GB, free: 16.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.4749, allocations: 375.2 kB / 0.4949 GB, free: 16.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004216/0.4753, allocations: 203.1 kB / 0.4951 GB, free: 16.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005827/0.4759, allocations: 0.503 MB / 0.4956 GB, free: 15.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009667/0.4769, allocations: 0.717 MB / 0.4963 GB, free: 15.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/0.4769, allocations: 3 kB / 0.4963 GB, free: 15.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001999/0.4789, allocations: 0.8948 MB / 0.4972 GB, free: 14.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/0.4789, allocations: 10.28 kB / 0.4972 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/0.479, allocations: 9.625 kB / 0.4972 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001418/0.4804, allocations: 289.7 kB / 0.4975 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004111/0.4808, allocations: 123.7 kB / 0.4976 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.4819, allocations: 1.411 MB / 0.499 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007643/0.4827, allocations: 33.77 kB / 0.499 GB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/0.4828, allocations: 49.48 kB / 0.4991 GB, free: 13.57 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.0005877/0.4834, allocations: 248.8 kB / 0.4993 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002179/0.4837, allocations: 74.45 kB / 0.4994 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0018/0.4855, allocations: 0.6514 MB / 0.5 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.4855, allocations: 7.812 kB / 0.5 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.4855, allocations: 0 / 0.5 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.208e-06/0.4855, allocations: 1.641 kB / 0.5 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002458/0.488, allocations: 1.22 MB / 0.5012 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.488, allocations: 8.328 kB / 0.5012 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.4882, allocations: 45.19 kB / 0.5013 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009281/0.4891, allocations: 197.5 kB / 0.5015 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-05/0.4892, allocations: 13.91 kB / 0.5015 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000843/0.49, allocations: 1.306 MB / 0.5028 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.49, allocations: 9.562 kB / 0.5028 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.4913, allocations: 0.8147 MB / 0.5036 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003512/0.4917, allocations: 195.4 kB / 0.5037 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/0.4919, allocations: 6.656 kB / 0.5037 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004601/0.4923, allocations: 31.73 kB / 0.5038 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.42e-05/0.4924, allocations: 20.73 kB / 0.5038 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.267e-05/0.4925, allocations: 29.81 kB / 0.5038 GB, free: 10.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006764/0.4932, allocations: 455.5 kB / 0.5043 GB, free: 10.35 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4932, allocations: 0 / 0.5043 GB, free: 10.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001347/0.4945, allocations: 290.7 kB / 0.5045 GB, free: 10.3 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.002523/0.4971, allocations: 1.618 MB / 0.5061 GB, free: 9.258 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001331/0.4984, allocations: 0.5237 MB / 0.5066 GB, free: 9.086 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.4984, allocations: 0.9688 kB / 0.5066 GB, free: 9.086 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004977/0.4989, allocations: 220.2 kB / 0.5068 GB, free: 9.027 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002045/0.501, allocations: 314.5 kB / 0.5071 GB, free: 8.945 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/0.5113, allocations: 6.646 MB / 0.5136 GB, free: 4.242 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004309/0.5118, allocations: 0.9272 MB / 0.5145 GB, free: 3.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008906/0.5127, allocations: 209.9 kB / 0.5147 GB, free: 3.332 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003451/0.513, allocations: 229.2 kB / 0.515 GB, free: 3.152 MB / 382.1 MB Notification: Performance of SimCode: time 1.422e-06/0.513, allocations: 0 / 0.515 GB, free: 3.152 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04405/0.5571, allocations: 21.85 MB / 0.5363 GB, free: 15.56 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000314/0.5575, allocations: 315.7 kB / 0.5366 GB, free: 15.17 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.346/2.903, allocations: 0 / 0.5366 GB, free: 15.17 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Incompressible/Essotherm650/Essotherm650.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches