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.001013/0.001013, allocations: 96.02 kB / 17.35 MB, free: 6.367 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.001189/0.001189, allocations: 176.1 kB / 18.25 MB, free: 5.523 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.387/1.387, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2144/0.2144, allocations: 44.24 MB / 337.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003067/0.0003067, allocations: 8 kB / 410.4 MB, free: 27.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1129, allocations: 61.92 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.02897/0.1419, allocations: 25.17 MB / 497.5 MB, free: 3.969 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006498/0.1484, allocations: 4.477 MB / 0.4902 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008401/0.1493, allocations: 23.81 kB / 0.4903 GB, free: 15.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008827/0.1502, allocations: 250.6 kB / 0.4905 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003644/0.1539, allocations: 1.436 MB / 0.4919 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002858/0.1567, allocations: 1.221 MB / 0.4931 GB, free: 12.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002866/0.1596, allocations: 2.718 MB / 0.4958 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007669/0.1604, allocations: 409 kB / 0.4962 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004801/0.1652, allocations: 3.214 MB / 0.4993 GB, free: 6.203 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002095/0.1673, allocations: 1.387 MB / 0.5006 GB, free: 4.812 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002216/0.1676, allocations: 32 kB / 0.5007 GB, free: 4.781 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00239/0.17, allocations: 1.248 MB / 0.5019 GB, free: 3.531 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004311/0.1704, allocations: 243.3 kB / 0.5021 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006292/0.1711, allocations: 399.9 kB / 0.5025 GB, free: 2.895 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001987/0.173, allocations: 1.324 MB / 0.5038 GB, free: 1.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1731, allocations: 3.938 kB / 0.5038 GB, free: 1.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.1731, allocations: 4 kB / 0.5038 GB, free: 1.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.089e-05/0.1731, allocations: 0 / 0.5038 GB, free: 1.559 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.001968/0.1751, allocations: 0.974 MB / 0.5048 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.1751, allocations: 11.97 kB / 0.5048 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001662/0.1753, allocations: 94.7 kB / 0.5049 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009957/0.1763, allocations: 144 kB / 0.505 GB, free: 288 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2001/0.3764, allocations: 0.5069 MB / 0.5055 GB, free: 51.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001594/0.3766, allocations: 104 kB / 0.5056 GB, free: 51.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.3768, allocations: 49.94 kB / 0.5056 GB, free: 51.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001754/0.3785, allocations: 0.8441 MB / 0.5065 GB, free: 50.92 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.3786, allocations: 1.938 kB / 0.5065 GB, free: 50.92 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.796e-05/0.3786, allocations: 23.36 kB / 0.5065 GB, free: 50.92 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.78e-05/0.3787, allocations: 42.16 kB / 0.5065 GB, free: 50.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.38, allocations: 0.6055 MB / 0.5071 GB, free: 50.89 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.004729/0.3847, allocations: 4.683 MB / 0.5117 GB, free: 47.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006447/0.3854, allocations: 335.6 kB / 0.512 GB, free: 47.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002376/0.3856, allocations: 140.9 kB / 0.5121 GB, free: 47.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002013/0.3858, allocations: 418.1 kB / 0.5125 GB, free: 46.56 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.3859, allocations: 38.05 kB / 0.5126 GB, free: 46.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.225e-06/0.3859, allocations: 0 / 0.5126 GB, free: 46.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.003909/0.3898, allocations: 1.534 MB / 0.5141 GB, free: 45.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.3899, allocations: 133.1 kB / 0.5142 GB, free: 45.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007325/0.3906, allocations: 0.658 MB / 0.5148 GB, free: 45.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.145e-05/0.3906, allocations: 32.52 kB / 0.5149 GB, free: 45.22 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/0.3909, allocations: 393.8 kB / 0.5153 GB, free: 44.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.159e-05/0.391, allocations: 138.4 kB / 0.5154 GB, free: 44.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.444e-05/0.3911, allocations: 61.44 kB / 0.5154 GB, free: 44.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.3912, allocations: 381.6 kB / 0.5158 GB, free: 44.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003487/0.3915, allocations: 204.8 kB / 0.516 GB, free: 44.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004551/0.392, allocations: 0.5011 MB / 0.5165 GB, free: 43.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007493/0.3928, allocations: 0.7132 MB / 0.5172 GB, free: 43.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.3928, allocations: 1.594 kB / 0.5172 GB, free: 43.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00152/0.3943, allocations: 0.8844 MB / 0.5181 GB, free: 43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.3943, allocations: 12.56 kB / 0.5181 GB, free: 43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.3944, allocations: 10.88 kB / 0.5181 GB, free: 43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/0.3956, allocations: 284.4 kB / 0.5183 GB, free: 42.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000369/0.396, allocations: 118.1 kB / 0.5185 GB, free: 42.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001103/0.3971, allocations: 1.402 MB / 0.5198 GB, free: 41.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005749/0.3977, allocations: 37.09 kB / 0.5199 GB, free: 41.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.71e-05/0.3978, allocations: 41.61 kB / 0.5199 GB, free: 41.71 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.0003859/0.3982, allocations: 249.3 kB / 0.5201 GB, free: 41.53 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.3983, allocations: 74.56 kB / 0.5202 GB, free: 41.49 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001907/0.4002, allocations: 0.7227 MB / 0.5209 GB, free: 41.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.4002, allocations: 4.781 kB / 0.5209 GB, free: 41.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.4003, allocations: 0 / 0.5209 GB, free: 41.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.4003, allocations: 2.812 kB / 0.5209 GB, free: 41.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002332/0.4026, allocations: 1.216 MB / 0.5221 GB, free: 40.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.4026, allocations: 0 / 0.5221 GB, free: 40.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.4028, allocations: 44.56 kB / 0.5222 GB, free: 40.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008396/0.4036, allocations: 199.2 kB / 0.5223 GB, free: 40.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.345e-05/0.4037, allocations: 13.39 kB / 0.5224 GB, free: 40.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008117/0.4045, allocations: 1.302 MB / 0.5236 GB, free: 39.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.4045, allocations: 5.594 kB / 0.5236 GB, free: 39.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.4058, allocations: 0.805 MB / 0.5244 GB, free: 38.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000241/0.406, allocations: 190.9 kB / 0.5246 GB, free: 38.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.422e-05/0.4061, allocations: 7.75 kB / 0.5246 GB, free: 38.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003906/0.4065, allocations: 22.45 kB / 0.5246 GB, free: 38.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.753e-05/0.4066, allocations: 22.81 kB / 0.5247 GB, free: 38.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-05/0.4067, allocations: 26.12 kB / 0.5247 GB, free: 38.74 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005604/0.4072, allocations: 454.7 kB / 0.5251 GB, free: 38.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4072, allocations: 1 kB / 0.5251 GB, free: 38.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008866/0.4081, allocations: 254.8 kB / 0.5254 GB, free: 38.52 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.001946/0.4101, allocations: 1.534 MB / 0.5269 GB, free: 37.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001013/0.4111, allocations: 0.5139 MB / 0.5274 GB, free: 37.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.4111, allocations: 1.375 kB / 0.5274 GB, free: 37.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004778/0.4116, allocations: 226.9 kB / 0.5276 GB, free: 37.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/0.4133, allocations: 307.1 kB / 0.5279 GB, free: 37.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008572/0.4218, allocations: 6.632 MB / 0.5343 GB, free: 32.49 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.4223, allocations: 0.9286 MB / 0.5353 GB, free: 31.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008156/0.4231, allocations: 258.5 kB / 0.5355 GB, free: 31.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003035/0.4234, allocations: 229.5 kB / 0.5357 GB, free: 31.39 MB / 382.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4234, allocations: 4 kB / 0.5357 GB, free: 31.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03333/0.4568, allocations: 20.85 MB / 0.5561 GB, free: 11.17 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001501/0.457, allocations: 318.3 kB / 0.5564 GB, free: 10.78 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.263/2.72, allocations: 0 / 0.5564 GB, free: 10.78 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