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.001187/0.001187, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001439/0.001439, allocations: 187.8 kB / 18.71 MB, free: 4.344 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.395/1.395, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.2287/0.2287, allocations: 44.18 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 64.09 kB / 470.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3687, allocations: 60.82 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.02682/0.3956, allocations: 24.98 MB / 0.5428 GB, free: 348 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007048/0.4027, allocations: 4.383 MB / 0.5471 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007417/0.4035, allocations: 19.72 kB / 0.5471 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009848/0.4045, allocations: 296.1 kB / 0.5474 GB, free: 12.54 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004158/0.4087, allocations: 1.625 MB / 0.549 GB, free: 11.4 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003384/0.4121, allocations: 1.375 MB / 0.5503 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002676/0.4148, allocations: 1.851 MB / 0.5521 GB, free: 9.402 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009287/0.4157, allocations: 483.4 kB / 0.5526 GB, free: 9.059 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005976/0.4217, allocations: 3.363 MB / 0.5559 GB, free: 5.688 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002169/0.4239, allocations: 1.379 MB / 0.5572 GB, free: 4.305 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002268/0.4242, allocations: 60 kB / 0.5573 GB, free: 4.246 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00268/0.4269, allocations: 1.334 MB / 0.5586 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003793/0.4272, allocations: 271.2 kB / 0.5589 GB, free: 2.645 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006941/0.428, allocations: 406.1 kB / 0.5592 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002392/0.4304, allocations: 1.371 MB / 0.5606 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.4304, allocations: 0 / 0.5606 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4304, allocations: 0 / 0.5606 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.512e-05/0.4304, allocations: 0 / 0.5606 GB, free: 0.8711 MB / 414.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.002714/0.4331, allocations: 1.126 MB / 0.5617 GB, free: 15.7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.4332, allocations: 8.031 kB / 0.5617 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001725/0.4334, allocations: 102.6 kB / 0.5618 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.4345, allocations: 140 kB / 0.5619 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000987/0.4355, allocations: 0.5405 MB / 0.5624 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.4356, allocations: 104.5 kB / 0.5625 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.689e-05/0.4357, allocations: 55.98 kB / 0.5626 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.4372, allocations: 0.8278 MB / 0.5634 GB, free: 13.78 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.4373, allocations: 0 / 0.5634 GB, free: 13.78 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.41e-05/0.4374, allocations: 28 kB / 0.5634 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-05/0.4374, allocations: 40.91 kB / 0.5635 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.4386, allocations: 0.6048 MB / 0.5641 GB, free: 13.11 MB / 430.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.005162/0.4438, allocations: 4.682 MB / 0.5686 GB, free: 8.043 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006345/0.4445, allocations: 326.7 kB / 0.569 GB, free: 7.715 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002295/0.4447, allocations: 149.3 kB / 0.5691 GB, free: 7.566 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003081/0.445, allocations: 417.5 kB / 0.5695 GB, free: 7.066 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.529e-05/0.4451, allocations: 42.5 kB / 0.5695 GB, free: 7.016 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 1.733e-06/0.4451, allocations: 0 / 0.5695 GB, free: 7.016 MB / 430.1 MB Notification: Performance of matching and sorting (n=36): time 0.004208/0.4493, allocations: 1.527 MB / 0.571 GB, free: 5.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.266e-05/0.4494, allocations: 132.5 kB / 0.5711 GB, free: 5.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007941/0.4502, allocations: 0.6525 MB / 0.5718 GB, free: 4.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.588e-05/0.4503, allocations: 29.7 kB / 0.5718 GB, free: 4.555 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002636/0.4505, allocations: 402.4 kB / 0.5722 GB, free: 4.156 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.4506, allocations: 130.2 kB / 0.5723 GB, free: 4.027 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001932/0.4508, allocations: 146.5 kB / 0.5725 GB, free: 3.879 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.451, allocations: 378.8 kB / 0.5728 GB, free: 3.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003441/0.4514, allocations: 205.9 kB / 0.573 GB, free: 3.301 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005593/0.4519, allocations: 0.4978 MB / 0.5735 GB, free: 2.668 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008697/0.4528, allocations: 0.7131 MB / 0.5742 GB, free: 1.828 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.4528, allocations: 4 kB / 0.5742 GB, free: 1.824 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00162/0.4545, allocations: 0.8907 MB / 0.5751 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.4545, allocations: 12 kB / 0.5751 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.4545, allocations: 8.875 kB / 0.5751 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001239/0.4558, allocations: 285.5 kB / 0.5754 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003774/0.4562, allocations: 127.8 kB / 0.5755 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/0.4574, allocations: 1.39 MB / 0.5768 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005139/0.4579, allocations: 27.98 kB / 0.5769 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.518e-05/0.458, allocations: 40 kB / 0.5769 GB, free: 14.98 MB / 446.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.0003341/0.4584, allocations: 255.8 kB / 0.5772 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.4585, allocations: 75.09 kB / 0.5772 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001534/0.46, allocations: 0.7286 MB / 0.5779 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.4601, allocations: 4 kB / 0.5779 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.4601, allocations: 0 / 0.5779 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.4601, allocations: 3.984 kB / 0.5779 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001914/0.462, allocations: 1.205 MB / 0.5791 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.462, allocations: 0 / 0.5791 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.4622, allocations: 39.92 kB / 0.5792 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009428/0.4632, allocations: 205.5 kB / 0.5794 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.136e-05/0.4632, allocations: 12 kB / 0.5794 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/0.4643, allocations: 1.296 MB / 0.5806 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.4643, allocations: 3.938 kB / 0.5806 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.4656, allocations: 0.8071 MB / 0.5814 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002827/0.4659, allocations: 188.2 kB / 0.5816 GB, free: 9.965 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.466, allocations: 11.94 kB / 0.5816 GB, free: 9.953 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000389/0.4664, allocations: 24.05 kB / 0.5816 GB, free: 9.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.623e-05/0.4665, allocations: 19.97 kB / 0.5817 GB, free: 9.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.716e-05/0.4665, allocations: 23.98 kB / 0.5817 GB, free: 9.887 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005439/0.4671, allocations: 451 kB / 0.5821 GB, free: 9.453 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4671, allocations: 0 / 0.5821 GB, free: 9.453 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008684/0.468, allocations: 252 kB / 0.5824 GB, free: 9.207 MB / 446.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.002218/0.4702, allocations: 1.521 MB / 0.5838 GB, free: 7.652 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.4713, allocations: 0.53 MB / 0.5844 GB, free: 7.121 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.4713, allocations: 1.562 kB / 0.5844 GB, free: 7.121 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004853/0.4718, allocations: 227.8 kB / 0.5846 GB, free: 6.898 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/0.4732, allocations: 328.5 kB / 0.5849 GB, free: 6.578 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008553/0.4818, allocations: 6.117 MB / 0.5909 GB, free: 104 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005425/0.4824, allocations: 0.9381 MB / 0.5918 GB, free: 15.13 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007049/0.4831, allocations: 253.7 kB / 0.592 GB, free: 14.89 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000316/0.4834, allocations: 231.3 kB / 0.5922 GB, free: 14.66 MB / 462.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4834, allocations: 0 / 0.5922 GB, free: 14.66 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04855/0.532, allocations: 22.41 MB / 0.6141 GB, free: 8.609 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/13.7, allocations: 13.14 kB / 0.6141 GB, free: 8.598 MB / 478.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