Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.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.Glycol47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",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.001287/0.001287, allocations: 102.5 kB / 16.27 MB, free: 5.93 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.001348/0.001349, allocations: 188.1 kB / 17.2 MB, free: 5.574 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.507/1.507, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2077/0.2077, allocations: 43.51 MB / 313.9 MB, free: 0.5195 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.002062/0.002063, allocations: 69.5 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1154, allocations: 57.79 MB / 440.6 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.03497/0.1505, allocations: 30.09 MB / 470.7 MB, free: 8.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00731/0.1578, allocations: 4.569 MB / 475.3 MB, free: 3.992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006437/0.1585, allocations: 19.88 kB / 475.3 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008911/0.1595, allocations: 306 kB / 475.6 MB, free: 3.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004761/0.1642, allocations: 1.774 MB / 477.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003818/0.1681, allocations: 1.498 MB / 478.9 MB, free: 420 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002647/0.1707, allocations: 1.844 MB / 480.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007663/0.1715, allocations: 493.2 kB / 481.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005702/0.1772, allocations: 3.152 MB / 484.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001986/0.1792, allocations: 1.27 MB / 485.6 MB, free: 9.641 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001585/0.1794, allocations: 64 kB / 485.7 MB, free: 9.578 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002925/0.1823, allocations: 1.338 MB / 487 MB, free: 8.238 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003563/0.1827, allocations: 275.2 kB / 487.3 MB, free: 7.969 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005251/0.1832, allocations: 406.1 kB / 487.7 MB, free: 7.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002335/0.1856, allocations: 1.473 MB / 489.2 MB, free: 6.094 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1856, allocations: 7.938 kB / 489.2 MB, free: 6.086 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.1856, allocations: 3.984 kB / 489.2 MB, free: 6.082 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.1856, allocations: 0 / 489.2 MB, free: 6.082 MB / 366.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.002192/0.1878, allocations: 1.141 MB / 490.3 MB, free: 4.891 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.1879, allocations: 19.88 kB / 490.3 MB, free: 4.871 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001256/0.188, allocations: 94.7 kB / 490.4 MB, free: 4.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009871/0.189, allocations: 143.9 kB / 490.6 MB, free: 4.629 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008068/0.1898, allocations: 0.5209 MB / 491.1 MB, free: 4.066 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/0.19, allocations: 101 kB / 491.2 MB, free: 3.957 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.138e-05/0.1901, allocations: 56.11 kB / 491.2 MB, free: 3.902 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.1915, allocations: 0.8356 MB / 492.1 MB, free: 2.984 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.1915, allocations: 3.938 kB / 492.1 MB, free: 2.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.316e-05/0.1916, allocations: 20 kB / 492.1 MB, free: 2.961 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.068e-05/0.1917, allocations: 44.98 kB / 492.2 MB, free: 2.918 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.1929, allocations: 0.6048 MB / 492.8 MB, free: 2.312 MB / 366.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.005372/0.1982, allocations: 4.904 MB / 497.7 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006539/0.1989, allocations: 335.4 kB / 498 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002344/0.1992, allocations: 144.8 kB / 498.1 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000494/0.1997, allocations: 0.598 MB / 498.7 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.1997, allocations: 42.55 kB / 498.8 MB, free: 11.74 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.605e-06/0.1997, allocations: 4 kB / 498.8 MB, free: 11.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.004115/0.2038, allocations: 1.528 MB / 0.4886 GB, free: 10.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.444e-05/0.2039, allocations: 132.5 kB / 0.4887 GB, free: 9.969 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008035/0.2048, allocations: 0.6602 MB / 0.4893 GB, free: 9.301 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.781e-05/0.2048, allocations: 33.7 kB / 0.4894 GB, free: 9.262 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002937/0.2051, allocations: 390.6 kB / 0.4897 GB, free: 8.875 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.2052, allocations: 134.2 kB / 0.4899 GB, free: 8.742 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002173/0.2055, allocations: 150.4 kB / 0.49 GB, free: 8.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.2056, allocations: 378.8 kB / 0.4904 GB, free: 8.211 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00036/0.206, allocations: 209.8 kB / 0.4906 GB, free: 8.004 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005821/0.2066, allocations: 0.498 MB / 0.4911 GB, free: 7.367 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009278/0.2075, allocations: 0.7171 MB / 0.4918 GB, free: 6.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.2076, allocations: 4 kB / 0.4918 GB, free: 6.516 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001649/0.2092, allocations: 0.8911 MB / 0.4926 GB, free: 5.613 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.2092, allocations: 8 kB / 0.4927 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.2093, allocations: 8 kB / 0.4927 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001343/0.2106, allocations: 301.9 kB / 0.4929 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003918/0.211, allocations: 119.8 kB / 0.4931 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/0.2123, allocations: 1.401 MB / 0.4944 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004645/0.2128, allocations: 28.05 kB / 0.4945 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.777e-05/0.2129, allocations: 52.12 kB / 0.4945 GB, free: 3.648 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.0003397/0.2132, allocations: 246.6 kB / 0.4947 GB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.2133, allocations: 75.09 kB / 0.4948 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001574/0.2149, allocations: 0.6534 MB / 0.4955 GB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.2149, allocations: 4 kB / 0.4955 GB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2149, allocations: 0 / 0.4955 GB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.215, allocations: 3.984 kB / 0.4955 GB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00198/0.2169, allocations: 1.22 MB / 0.4966 GB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.217, allocations: 7.984 kB / 0.4967 GB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.2171, allocations: 43.92 kB / 0.4967 GB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008676/0.218, allocations: 205.5 kB / 0.4969 GB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.991e-05/0.2181, allocations: 12 kB / 0.4969 GB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001064/0.2191, allocations: 1.308 MB / 0.4982 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2191, allocations: 3.938 kB / 0.4982 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.2205, allocations: 0.8066 MB / 0.499 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002747/0.2208, allocations: 188.3 kB / 0.4992 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.427e-05/0.2209, allocations: 4 kB / 0.4992 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003559/0.2212, allocations: 19.98 kB / 0.4992 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.868e-05/0.2213, allocations: 19.97 kB / 0.4992 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.697e-05/0.2213, allocations: 27.98 kB / 0.4992 GB, free: 14.61 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005584/0.2219, allocations: 451 kB / 0.4997 GB, free: 14.18 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.225e-06/0.2219, allocations: 4.062 kB / 0.4997 GB, free: 14.17 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001031/0.223, allocations: 299.9 kB / 0.4999 GB, free: 13.88 MB / 398.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.002718/0.2257, allocations: 1.611 MB / 0.5015 GB, free: 12.24 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001443/0.2271, allocations: 0.5537 MB / 0.5021 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.2272, allocations: 0 / 0.5021 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005316/0.2277, allocations: 233.2 kB / 0.5023 GB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/0.2294, allocations: 337.5 kB / 0.5026 GB, free: 11.13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/0.2397, allocations: 6.38 MB / 0.5088 GB, free: 4.391 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008399/0.2406, allocations: 0.9342 MB / 0.5097 GB, free: 3.43 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001158/0.2418, allocations: 205.7 kB / 0.5099 GB, free: 3.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000479/0.2423, allocations: 231.3 kB / 0.5102 GB, free: 3.004 MB / 398.1 MB Notification: Performance of SimCode: time 1.222e-06/0.2423, allocations: 4 kB / 0.5102 GB, free: 3 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2645/0.5068, allocations: 22.75 MB / 0.5324 GB, free: 93.53 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.23, allocations: 6.562 kB / 0.5324 GB, free: 93.53 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Incompressible/Glycol47/Glycol47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches