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.001135/0.001135, allocations: 100.4 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.001202/0.001202, allocations: 188.4 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.487/1.487, 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.1957/0.1957, allocations: 43.51 MB / 313.9 MB, free: 0.5273 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.001515/0.001515, allocations: 70.52 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1137, allocations: 57.79 MB / 440.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.04511/0.1589, allocations: 30.08 MB / 470.7 MB, free: 8.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007956/0.1669, allocations: 4.589 MB / 475.3 MB, free: 3.992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007186/0.1676, allocations: 19.88 kB / 475.3 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.1688, allocations: 298.1 kB / 475.6 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005704/0.1745, allocations: 1.77 MB / 477.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004001/0.1785, allocations: 1.502 MB / 478.9 MB, free: 428 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002818/0.1813, allocations: 1.848 MB / 480.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.1825, allocations: 489.3 kB / 481.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006501/0.189, allocations: 3.152 MB / 484.4 MB, free: 10.92 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00228/0.1913, allocations: 1.266 MB / 485.6 MB, free: 9.652 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003862/0.1917, allocations: 64 kB / 485.7 MB, free: 9.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003753/0.1955, allocations: 1.342 MB / 487 MB, free: 8.246 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005399/0.196, allocations: 271.2 kB / 487.3 MB, free: 7.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008865/0.1969, allocations: 410.1 kB / 487.7 MB, free: 7.578 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004173/0.2011, allocations: 1.473 MB / 489.2 MB, free: 6.102 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2012, allocations: 4 kB / 489.2 MB, free: 6.098 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2012, allocations: 0 / 489.2 MB, free: 6.098 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.3e-05/0.2012, allocations: 0 / 489.2 MB, free: 6.098 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.003846/0.2051, allocations: 1.145 MB / 490.3 MB, free: 4.902 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.512e-05/0.2052, allocations: 19.83 kB / 490.3 MB, free: 4.883 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002791/0.2055, allocations: 102.6 kB / 490.4 MB, free: 4.773 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00117/0.2066, allocations: 147.9 kB / 490.6 MB, free: 4.629 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.2078, allocations: 0.5054 MB / 491.1 MB, free: 4.082 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000165/0.208, allocations: 104.9 kB / 491.2 MB, free: 3.969 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.2081, allocations: 56.11 kB / 491.2 MB, free: 3.914 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/0.2099, allocations: 0.8394 MB / 492.1 MB, free: 2.992 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/0.2099, allocations: 0 / 492.1 MB, free: 2.992 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.2101, allocations: 27.98 kB / 492.1 MB, free: 2.965 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.198e-05/0.2101, allocations: 44.92 kB / 492.2 MB, free: 2.922 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.2115, allocations: 0.6087 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.006272/0.2178, allocations: 4.9 MB / 497.7 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007092/0.2185, allocations: 326.7 kB / 498 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.2187, allocations: 140.8 kB / 498.1 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005329/0.2193, allocations: 0.6135 MB / 498.7 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.595e-05/0.2193, allocations: 42.56 kB / 498.8 MB, free: 11.74 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.534e-06/0.2194, allocations: 0 / 498.8 MB, free: 11.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.004285/0.2237, allocations: 1.52 MB / 0.4886 GB, free: 10.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.954e-05/0.2237, allocations: 136.5 kB / 0.4887 GB, free: 9.977 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008105/0.2246, allocations: 0.6563 MB / 0.4893 GB, free: 9.312 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.784e-05/0.2246, allocations: 33.7 kB / 0.4894 GB, free: 9.273 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002738/0.2249, allocations: 390.6 kB / 0.4897 GB, free: 8.887 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.225, allocations: 130.2 kB / 0.4899 GB, free: 8.758 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002082/0.2252, allocations: 150.4 kB / 0.49 GB, free: 8.605 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.2254, allocations: 378.8 kB / 0.4904 GB, free: 8.227 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003449/0.2258, allocations: 205.9 kB / 0.4906 GB, free: 8.023 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005538/0.2263, allocations: 0.498 MB / 0.4911 GB, free: 7.387 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008821/0.2272, allocations: 0.7171 MB / 0.4918 GB, free: 6.539 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.2273, allocations: 4 kB / 0.4918 GB, free: 6.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001618/0.2289, allocations: 0.8988 MB / 0.4926 GB, free: 5.625 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.2289, allocations: 10.19 kB / 0.4926 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.2289, allocations: 8 kB / 0.4927 GB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001302/0.2302, allocations: 294 kB / 0.4929 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003964/0.2307, allocations: 123.8 kB / 0.4931 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.2318, allocations: 1.408 MB / 0.4944 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004875/0.2323, allocations: 32.05 kB / 0.4945 GB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-05/0.2324, allocations: 48 kB / 0.4945 GB, free: 3.66 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.0003311/0.2328, allocations: 241.5 kB / 0.4947 GB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.2329, allocations: 75.09 kB / 0.4948 GB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0016/0.2345, allocations: 0.6574 MB / 0.4955 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.2345, allocations: 4 kB / 0.4955 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2345, allocations: 0 / 0.4955 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.2346, allocations: 3.984 kB / 0.4955 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001904/0.2365, allocations: 1.228 MB / 0.4967 GB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.2365, allocations: 4 kB / 0.4967 GB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.2367, allocations: 39.92 kB / 0.4967 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000873/0.2375, allocations: 209.5 kB / 0.4969 GB, free: 1.109 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/0.2376, allocations: 11.98 kB / 0.4969 GB, free: 1.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/0.2387, allocations: 1.308 MB / 0.4982 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2387, allocations: 0 / 0.4982 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/0.24, allocations: 0.8066 MB / 0.499 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002657/0.2402, allocations: 188.3 kB / 0.4992 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.2403, allocations: 8 kB / 0.4992 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003676/0.2407, allocations: 15.98 kB / 0.4992 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.379e-05/0.2408, allocations: 23.97 kB / 0.4992 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.772e-05/0.2409, allocations: 27.98 kB / 0.4992 GB, free: 14.62 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005354/0.2414, allocations: 455 kB / 0.4997 GB, free: 14.18 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.393e-06/0.2414, allocations: 4.062 kB / 0.4997 GB, free: 14.18 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009904/0.2424, allocations: 295.9 kB / 0.4999 GB, free: 13.89 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.002397/0.2448, allocations: 1.608 MB / 0.5015 GB, free: 12.24 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001329/0.2462, allocations: 0.5497 MB / 0.5021 GB, free: 11.69 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.2462, allocations: 1.625 kB / 0.5021 GB, free: 11.69 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005345/0.2467, allocations: 235.8 kB / 0.5023 GB, free: 11.46 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/0.2483, allocations: 333.6 kB / 0.5026 GB, free: 11.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008493/0.2568, allocations: 6.38 MB / 0.5088 GB, free: 4.398 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004716/0.2573, allocations: 0.9342 MB / 0.5097 GB, free: 3.438 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007553/0.2581, allocations: 202 kB / 0.5099 GB, free: 3.238 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003408/0.2584, allocations: 223.4 kB / 0.5101 GB, free: 3.02 MB / 398.1 MB Notification: Performance of SimCode: time 6.82e-07/0.2584, allocations: 4 kB / 0.5102 GB, free: 3.016 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2289/0.4874, allocations: 22.77 MB / 0.5324 GB, free: 93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.21, allocations: 8.516 kB / 0.5324 GB, free: 93 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_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.csv","/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