Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.00121/0.00121, allocations: 121.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001311/0.001312, allocations: 203.9 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2049/0.2049, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 75.88 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3782, allocations: 62.42 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.02773/0.4059, allocations: 25.08 MB / 0.555 GB, free: 8.617 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005918/0.4119, allocations: 4.376 MB / 0.5593 GB, free: 4.227 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004978/0.4124, allocations: 23.81 kB / 0.5593 GB, free: 4.203 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007829/0.4132, allocations: 294.1 kB / 0.5596 GB, free: 3.914 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003507/0.4168, allocations: 1.609 MB / 0.5612 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002821/0.4196, allocations: 1.337 MB / 0.5625 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001905/0.4215, allocations: 1.864 MB / 0.5643 GB, free: 15.1 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006027/0.4221, allocations: 485.2 kB / 0.5648 GB, free: 14.62 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004565/0.4267, allocations: 3.04 MB / 0.5677 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001708/0.4284, allocations: 1.297 MB / 0.569 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.4285, allocations: 60 kB / 0.569 GB, free: 10.22 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002168/0.4307, allocations: 1.25 MB / 0.5703 GB, free: 8.973 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002568/0.431, allocations: 263.3 kB / 0.5705 GB, free: 8.715 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004174/0.4314, allocations: 402.2 kB / 0.5709 GB, free: 8.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001741/0.4332, allocations: 1.382 MB / 0.5723 GB, free: 6.934 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.4332, allocations: 0 / 0.5723 GB, free: 6.934 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.4332, allocations: 0 / 0.5723 GB, free: 6.934 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.4332, allocations: 0 / 0.5723 GB, free: 6.934 MB / 430.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.001996/0.4352, allocations: 1.14 MB / 0.5734 GB, free: 5.742 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.4353, allocations: 12.03 kB / 0.5734 GB, free: 5.73 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001142/0.4354, allocations: 102.7 kB / 0.5735 GB, free: 5.621 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009713/0.4363, allocations: 148.4 kB / 0.5736 GB, free: 5.477 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009213/0.4373, allocations: 0.5408 MB / 0.5741 GB, free: 4.895 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.4374, allocations: 112.4 kB / 0.5743 GB, free: 4.773 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.72e-05/0.4375, allocations: 51.94 kB / 0.5743 GB, free: 4.723 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.4389, allocations: 0.8317 MB / 0.5751 GB, free: 3.812 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/0.4389, allocations: 7.891 kB / 0.5751 GB, free: 3.805 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.499e-05/0.439, allocations: 23.98 kB / 0.5751 GB, free: 3.781 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.529e-05/0.4391, allocations: 40.97 kB / 0.5752 GB, free: 3.738 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.4402, allocations: 0.6087 MB / 0.5758 GB, free: 3.129 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.004667/0.4449, allocations: 4.687 MB / 0.5804 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006182/0.4455, allocations: 330.7 kB / 0.5807 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/0.4457, allocations: 140.8 kB / 0.5808 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002942/0.4461, allocations: 417.5 kB / 0.5812 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.4461, allocations: 38.56 kB / 0.5812 GB, free: 13.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 1.924e-06/0.4461, allocations: 0 / 0.5812 GB, free: 13.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.003851/0.45, allocations: 1.544 MB / 0.5827 GB, free: 11.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.129e-05/0.45, allocations: 132.5 kB / 0.5829 GB, free: 11.26 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006984/0.4507, allocations: 0.6525 MB / 0.5835 GB, free: 10.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/0.4508, allocations: 33.7 kB / 0.5835 GB, free: 10.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002584/0.4511, allocations: 403.6 kB / 0.5839 GB, free: 10.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.48e-05/0.4512, allocations: 134.8 kB / 0.5841 GB, free: 10.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001894/0.4514, allocations: 158.5 kB / 0.5842 GB, free: 9.867 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.4515, allocations: 378.8 kB / 0.5846 GB, free: 9.488 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000328/0.4519, allocations: 201.9 kB / 0.5848 GB, free: 9.293 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005237/0.4524, allocations: 0.4902 MB / 0.5852 GB, free: 8.668 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008405/0.4532, allocations: 0.7132 MB / 0.5859 GB, free: 7.828 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.4532, allocations: 0 / 0.5859 GB, free: 7.828 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001541/0.4548, allocations: 0.8958 MB / 0.5868 GB, free: 6.922 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.4548, allocations: 12.12 kB / 0.5868 GB, free: 6.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.4548, allocations: 12 kB / 0.5868 GB, free: 6.898 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001218/0.4561, allocations: 282.9 kB / 0.5871 GB, free: 6.617 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003635/0.4564, allocations: 123.8 kB / 0.5872 GB, free: 6.496 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/0.4576, allocations: 1.401 MB / 0.5886 GB, free: 5.047 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004557/0.4581, allocations: 32.11 kB / 0.5886 GB, free: 5.016 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.028e-05/0.4581, allocations: 40 kB / 0.5887 GB, free: 4.977 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.0003473/0.4585, allocations: 241.5 kB / 0.5889 GB, free: 4.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.4586, allocations: 75.52 kB / 0.589 GB, free: 4.656 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/0.4601, allocations: 0.7203 MB / 0.5897 GB, free: 3.914 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.874e-06/0.4602, allocations: 8 kB / 0.5897 GB, free: 3.906 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4602, allocations: 3.938 kB / 0.5897 GB, free: 3.902 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.4602, allocations: 3.984 kB / 0.5897 GB, free: 3.898 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001833/0.462, allocations: 1.209 MB / 0.5909 GB, free: 2.617 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.462, allocations: 8 kB / 0.5909 GB, free: 2.609 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.4622, allocations: 39.92 kB / 0.5909 GB, free: 2.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008165/0.463, allocations: 209.4 kB / 0.5911 GB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/0.4631, allocations: 8 kB / 0.5911 GB, free: 2.352 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009859/0.4641, allocations: 1.292 MB / 0.5924 GB, free: 1.008 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.4641, allocations: 7.969 kB / 0.5924 GB, free: 1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.4653, allocations: 0.8121 MB / 0.5932 GB, free: 160 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002692/0.4656, allocations: 188.8 kB / 0.5934 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.51e-05/0.4657, allocations: 8 kB / 0.5934 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003823/0.4661, allocations: 20.05 kB / 0.5934 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.4662, allocations: 27.91 kB / 0.5934 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.039e-05/0.4662, allocations: 19.98 kB / 0.5934 GB, free: 15.88 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004974/0.4667, allocations: 455 kB / 0.5939 GB, free: 15.43 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4667, allocations: 0 / 0.5939 GB, free: 15.43 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008547/0.4676, allocations: 255.7 kB / 0.5941 GB, free: 15.18 MB / 462.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.002189/0.4698, allocations: 1.519 MB / 0.5956 GB, free: 13.63 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.4709, allocations: 0.526 MB / 0.5961 GB, free: 13.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.4709, allocations: 0 / 0.5961 GB, free: 13.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004932/0.4714, allocations: 229 kB / 0.5963 GB, free: 12.88 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.4728, allocations: 342.4 kB / 0.5966 GB, free: 12.55 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007962/0.4808, allocations: 6.142 MB / 0.6026 GB, free: 6.055 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006037/0.4814, allocations: 0.9342 MB / 0.6036 GB, free: 5.09 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006546/0.4821, allocations: 257.5 kB / 0.6038 GB, free: 4.84 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002993/0.4824, allocations: 227.3 kB / 0.604 GB, free: 4.621 MB / 462.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4824, allocations: 0 / 0.604 GB, free: 4.621 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05346/0.5359, allocations: 22.07 MB / 0.6256 GB, free: 14.84 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.51/14.05, allocations: 6.531 kB / 0.6256 GB, free: 14.84 MB / 494.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.csv","/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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches