Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Glycol47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_4_0_0_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.001182/0.001182, allocations: 110.5 kB / 17.32 MB, free: 6.008 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.001226/0.001226, allocations: 193.3 kB / 18.25 MB, free: 5.105 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.373/1.373, allocations: 222.9 MB / 241.9 MB, free: 13.68 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.2176/0.2176, allocations: 44.18 MB / 336.2 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 71.59 kB / 408 MB, free: 27.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1362, allocations: 60.83 MB / 468.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.03256/0.1688, allocations: 25.46 MB / 494.3 MB, free: 5.023 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007126/0.176, allocations: 4.453 MB / 498.7 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.177, allocations: 23.81 kB / 498.8 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001084/0.1782, allocations: 262.6 kB / 499 MB, free: 280 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004347/0.1826, allocations: 1.467 MB / 0.4888 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003399/0.186, allocations: 1.253 MB / 0.49 GB, free: 13.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002538/0.1885, allocations: 1.856 MB / 0.4918 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009257/0.1895, allocations: 477.3 kB / 0.4923 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005925/0.1954, allocations: 3.366 MB / 0.4955 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002478/0.1979, allocations: 1.414 MB / 0.4969 GB, free: 6.434 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002592/0.1982, allocations: 64 kB / 0.497 GB, free: 6.371 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002832/0.201, allocations: 1.302 MB / 0.4983 GB, free: 5.066 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004181/0.2015, allocations: 275.2 kB / 0.4985 GB, free: 4.797 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007008/0.2022, allocations: 398.2 kB / 0.4989 GB, free: 4.406 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002826/0.205, allocations: 1.371 MB / 0.5002 GB, free: 3.031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.205, allocations: 0 / 0.5002 GB, free: 3.031 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.205, allocations: 4 kB / 0.5002 GB, free: 3.027 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.194e-05/0.2051, allocations: 0 / 0.5002 GB, free: 3.027 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.002821/0.2079, allocations: 1.126 MB / 0.5013 GB, free: 1.852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.208, allocations: 8.031 kB / 0.5013 GB, free: 1.844 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001831/0.2082, allocations: 94.7 kB / 0.5014 GB, free: 1.742 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/0.2093, allocations: 147.9 kB / 0.5016 GB, free: 1.598 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000941/0.2102, allocations: 0.5131 MB / 0.5021 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.2104, allocations: 104.5 kB / 0.5022 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.833e-05/0.2105, allocations: 51.98 kB / 0.5022 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2675/0.478, allocations: 0.8335 MB / 0.503 GB, free: 52.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.836e-05/0.4781, allocations: 2.531 kB / 0.503 GB, free: 52.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002972/0.4784, allocations: 20.38 kB / 0.5031 GB, free: 52.63 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001131/0.4785, allocations: 39.09 kB / 0.5031 GB, free: 52.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001919/0.4805, allocations: 0.6046 MB / 0.5037 GB, free: 52.62 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.006592/0.4871, allocations: 4.695 MB / 0.5083 GB, free: 48.99 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009001/0.488, allocations: 330 kB / 0.5086 GB, free: 48.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003006/0.4883, allocations: 141.7 kB / 0.5087 GB, free: 48.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003149/0.4887, allocations: 412.9 kB / 0.5091 GB, free: 48.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.4887, allocations: 40.19 kB / 0.5092 GB, free: 48.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 4.569e-06/0.4887, allocations: 4.75 kB / 0.5092 GB, free: 48.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.004726/0.4935, allocations: 1.53 MB / 0.5107 GB, free: 47.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.4935, allocations: 132.9 kB / 0.5108 GB, free: 47.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.4947, allocations: 0.657 MB / 0.5114 GB, free: 47.03 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.066e-05/0.4948, allocations: 33.23 kB / 0.5115 GB, free: 46.99 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/0.4951, allocations: 391.1 kB / 0.5118 GB, free: 46.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.4952, allocations: 128.3 kB / 0.512 GB, free: 46.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002928/0.4955, allocations: 151.3 kB / 0.5121 GB, free: 46.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.4957, allocations: 378.9 kB / 0.5125 GB, free: 46.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004017/0.4961, allocations: 202.8 kB / 0.5127 GB, free: 46.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005227/0.4967, allocations: 0.5029 MB / 0.5131 GB, free: 45.65 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008797/0.4976, allocations: 0.7098 MB / 0.5138 GB, free: 45.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.331e-05/0.4976, allocations: 2.75 kB / 0.5138 GB, free: 45.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001913/0.4995, allocations: 0.8956 MB / 0.5147 GB, free: 44.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/0.4996, allocations: 11.34 kB / 0.5147 GB, free: 44.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.831e-05/0.4996, allocations: 8.219 kB / 0.5147 GB, free: 44.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001343/0.5009, allocations: 287.9 kB / 0.515 GB, free: 44.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004035/0.5014, allocations: 127.2 kB / 0.5151 GB, free: 44.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001219/0.5026, allocations: 1.396 MB / 0.5165 GB, free: 43.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007278/0.5033, allocations: 40.84 kB / 0.5165 GB, free: 43.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.966e-05/0.5034, allocations: 40.03 kB / 0.5166 GB, free: 43.46 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.0004364/0.5039, allocations: 246.7 kB / 0.5168 GB, free: 43.28 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/0.504, allocations: 66.47 kB / 0.5169 GB, free: 43.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001693/0.5057, allocations: 0.719 MB / 0.5176 GB, free: 42.97 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.5057, allocations: 4.781 kB / 0.5176 GB, free: 42.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.5058, allocations: 3.828 kB / 0.5176 GB, free: 42.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.5058, allocations: 5.781 kB / 0.5176 GB, free: 42.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002141/0.5079, allocations: 1.21 MB / 0.5188 GB, free: 42.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.5079, allocations: 4.438 kB / 0.5188 GB, free: 42.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000194/0.5081, allocations: 40.84 kB / 0.5188 GB, free: 42.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009746/0.5091, allocations: 208.5 kB / 0.519 GB, free: 42.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.661e-05/0.5092, allocations: 13.66 kB / 0.519 GB, free: 42.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008376/0.51, allocations: 1.287 MB / 0.5203 GB, free: 41.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.51, allocations: 1.438 kB / 0.5203 GB, free: 41.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/0.5114, allocations: 0.8072 MB / 0.5211 GB, free: 40.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003413/0.5117, allocations: 189.5 kB / 0.5212 GB, free: 40.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.5118, allocations: 11.19 kB / 0.5213 GB, free: 40.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000413/0.5123, allocations: 23.08 kB / 0.5213 GB, free: 40.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.923e-05/0.5124, allocations: 27.94 kB / 0.5213 GB, free: 40.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.239e-05/0.5124, allocations: 18.44 kB / 0.5213 GB, free: 40.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007888/0.5132, allocations: 454.5 kB / 0.5218 GB, free: 40.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5132, allocations: 0 / 0.5218 GB, free: 40.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001277/0.5145, allocations: 260.9 kB / 0.522 GB, free: 40.27 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.002315/0.5168, allocations: 1.527 MB / 0.5235 GB, free: 39.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001264/0.5181, allocations: 0.5422 MB / 0.524 GB, free: 39.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.5181, allocations: 1.406 kB / 0.524 GB, free: 39.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004655/0.5186, allocations: 227.5 kB / 0.5242 GB, free: 39.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/0.5201, allocations: 355.2 kB / 0.5246 GB, free: 38.97 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007924/0.5281, allocations: 6.552 MB / 0.531 GB, free: 34.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.5284, allocations: 0.9319 MB / 0.5319 GB, free: 33.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007885/0.5292, allocations: 257.5 kB / 0.5321 GB, free: 33.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002695/0.5295, allocations: 226.8 kB / 0.5324 GB, free: 33.38 MB / 382.1 MB Notification: Performance of SimCode: time 9.11e-07/0.5295, allocations: 0 / 0.5324 GB, free: 33.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03587/0.5654, allocations: 21.64 MB / 0.5535 GB, free: 12.75 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/0.5656, allocations: 307.3 kB / 0.5538 GB, free: 12.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.389/2.954, allocations: 0 / 0.5538 GB, free: 12.38 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Incompressible/Glycol47/Glycol47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches