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.0009909/0.0009909, allocations: 101.9 kB / 16.02 MB, free: 76 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.001291/0.001291, allocations: 185.3 kB / 16.92 MB, free: 6.918 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.535/1.535, allocations: 205.4 MB / 223.1 MB, free: 5.531 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.4325/0.4325, allocations: 43.57 MB / 315 MB, free: 8.703 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.000543/0.000543, allocations: 14.66 kB / 384.7 MB, free: 7.523 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1395, allocations: 58.85 MB / 443.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.3024/0.4419, allocations: 30.53 MB / 474.1 MB, free: 32.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007135/0.4491, allocations: 4.701 MB / 478.8 MB, free: 30 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001277/0.4504, allocations: 28.09 kB / 478.8 MB, free: 29.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009808/0.4514, allocations: 254.5 kB / 479.1 MB, free: 29.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004464/0.4559, allocations: 1.602 MB / 480.7 MB, free: 29.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003334/0.4593, allocations: 1.352 MB / 482 MB, free: 28.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003077/0.4624, allocations: 2.712 MB / 484.7 MB, free: 27.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006789/0.463, allocations: 415.1 kB / 485.1 MB, free: 27.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005313/0.4684, allocations: 3.341 MB / 488.5 MB, free: 26.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001848/0.4702, allocations: 1.391 MB / 489.9 MB, free: 26.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.741e-05/0.4703, allocations: 33.19 kB / 489.9 MB, free: 26.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002653/0.473, allocations: 1.418 MB / 491.3 MB, free: 26.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003162/0.4733, allocations: 236 kB / 491.5 MB, free: 25.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004703/0.4738, allocations: 401.1 kB / 491.9 MB, free: 25.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002382/0.4762, allocations: 1.448 MB / 493.4 MB, free: 25.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4762, allocations: 1.219 kB / 493.4 MB, free: 25.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4762, allocations: 0 / 493.4 MB, free: 25.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.4762, allocations: 0 / 493.4 MB, free: 25.31 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.002295/0.4785, allocations: 0.9982 MB / 494.4 MB, free: 24.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.4786, allocations: 9.906 kB / 494.4 MB, free: 24.61 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001688/0.4788, allocations: 100.7 kB / 494.5 MB, free: 24.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.4799, allocations: 145.2 kB / 494.6 MB, free: 24.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.4809, allocations: 0.5152 MB / 495.1 MB, free: 24.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.4811, allocations: 105.4 kB / 495.2 MB, free: 24.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.587e-05/0.4812, allocations: 48.78 kB / 495.3 MB, free: 24.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/0.4827, allocations: 0.8381 MB / 496.1 MB, free: 23.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.4828, allocations: 10.09 kB / 496.1 MB, free: 23.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-05/0.4828, allocations: 23.94 kB / 496.2 MB, free: 23.53 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.366e-05/0.4829, allocations: 39.39 kB / 496.2 MB, free: 23.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.4842, allocations: 0.6029 MB / 496.8 MB, free: 23.32 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.004886/0.4891, allocations: 4.907 MB / 0.49 GB, free: 19.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006955/0.4898, allocations: 323.5 kB / 0.4903 GB, free: 18.99 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000234/0.49, allocations: 140.6 kB / 0.4904 GB, free: 18.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003857/0.4904, allocations: 0.6185 MB / 0.491 GB, free: 18.26 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.4904, allocations: 38.75 kB / 0.491 GB, free: 18.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.255e-06/0.4905, allocations: 0 / 0.491 GB, free: 18.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.004076/0.4945, allocations: 1.543 MB / 0.4925 GB, free: 17.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.4946, allocations: 141.7 kB / 0.4927 GB, free: 17.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008578/0.4955, allocations: 0.6475 MB / 0.4933 GB, free: 16.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.422e-05/0.4955, allocations: 36.11 kB / 0.4933 GB, free: 16.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002397/0.4958, allocations: 384.4 kB / 0.4937 GB, free: 16.58 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.4959, allocations: 136.3 kB / 0.4938 GB, free: 16.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.312e-05/0.496, allocations: 65.53 kB / 0.4939 GB, free: 16.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.4961, allocations: 375.5 kB / 0.4943 GB, free: 16.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000362/0.4965, allocations: 207.8 kB / 0.4945 GB, free: 16.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004929/0.497, allocations: 0.4984 MB / 0.4949 GB, free: 15.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008336/0.4978, allocations: 0.7134 MB / 0.4956 GB, free: 15.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.4978, allocations: 2.75 kB / 0.4956 GB, free: 15.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001618/0.4995, allocations: 0.8944 MB / 0.4965 GB, free: 14.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.4995, allocations: 14.91 kB / 0.4965 GB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.4995, allocations: 9.781 kB / 0.4965 GB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001337/0.5008, allocations: 299.2 kB / 0.4968 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003687/0.5012, allocations: 123.6 kB / 0.4969 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009952/0.5022, allocations: 1.401 MB / 0.4983 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005515/0.5028, allocations: 36.77 kB / 0.4983 GB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.992e-05/0.5029, allocations: 48.97 kB / 0.4984 GB, free: 13.32 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.0003444/0.5032, allocations: 248.7 kB / 0.4986 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.5033, allocations: 74.92 kB / 0.4987 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001548/0.5049, allocations: 0.6463 MB / 0.4993 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.5049, allocations: 8.516 kB / 0.4993 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.5049, allocations: 0 / 0.4993 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.5049, allocations: 3.859 kB / 0.4993 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002074/0.507, allocations: 1.223 MB / 0.5005 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.507, allocations: 1.938 kB / 0.5005 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.5072, allocations: 38.12 kB / 0.5006 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009314/0.5082, allocations: 215.6 kB / 0.5008 GB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.075e-05/0.5082, allocations: 12.78 kB / 0.5008 GB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008713/0.5091, allocations: 1.299 MB / 0.5021 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.5091, allocations: 4.922 kB / 0.5021 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/0.5103, allocations: 0.8213 MB / 0.5029 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003155/0.5107, allocations: 202.2 kB / 0.5031 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.181e-05/0.5108, allocations: 7.438 kB / 0.5031 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003913/0.5112, allocations: 23.5 kB / 0.5031 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.52e-05/0.5113, allocations: 24.2 kB / 0.5031 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.274e-05/0.5113, allocations: 31.17 kB / 0.5031 GB, free: 10.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005957/0.5119, allocations: 454 kB / 0.5036 GB, free: 10.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5119, allocations: 0 / 0.5036 GB, free: 10.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001257/0.5132, allocations: 288.8 kB / 0.5039 GB, free: 10.05 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.002519/0.5157, allocations: 1.607 MB / 0.5054 GB, free: 9.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001404/0.5171, allocations: 0.5218 MB / 0.5059 GB, free: 8.852 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.5172, allocations: 1.062 kB / 0.5059 GB, free: 8.852 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005315/0.5177, allocations: 231.9 kB / 0.5062 GB, free: 8.781 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00184/0.5195, allocations: 324.3 kB / 0.5065 GB, free: 8.688 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009102/0.5287, allocations: 6.636 MB / 0.5129 GB, free: 4.391 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/0.5291, allocations: 0.9321 MB / 0.5139 GB, free: 3.574 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009093/0.53, allocations: 201.6 kB / 0.514 GB, free: 3.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003092/0.5303, allocations: 233.7 kB / 0.5143 GB, free: 3.297 MB / 382.1 MB Notification: Performance of SimCode: time 8.02e-07/0.5303, allocations: 0 / 0.5143 GB, free: 3.297 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04294/0.5733, allocations: 21.84 MB / 0.5356 GB, free: 276 kB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002372/0.5736, allocations: 322.6 kB / 0.5359 GB, free: 15.87 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.377/2.951, allocations: 0 / 0.5359 GB, free: 15.87 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","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches