Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",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.001146/0.001146, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001165/0.001166, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.396/1.396, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.218/0.218, allocations: 44.17 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.31 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1091, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.01978/0.1289, allocations: 20.24 MB / 489.6 MB, free: 9.957 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007074/0.136, allocations: 4.289 MB / 493.9 MB, free: 5.652 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000795/0.1369, allocations: 19.88 kB / 493.9 MB, free: 5.633 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.1382, allocations: 314 kB / 494.2 MB, free: 5.324 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002373/0.1407, allocations: 0.8472 MB / 495.1 MB, free: 4.473 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002764/0.1435, allocations: 0.9074 MB / 496 MB, free: 3.57 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00218/0.1457, allocations: 1.794 MB / 497.8 MB, free: 1.773 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.1467, allocations: 465.3 kB / 498.2 MB, free: 1.312 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001843/0.1486, allocations: 0.9184 MB / 499.1 MB, free: 400 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/0.1497, allocations: 0.6267 MB / 499.8 MB, free: 15.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00022/0.1499, allocations: 60 kB / 499.8 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.151, allocations: 303.6 kB / 0.4884 GB, free: 15.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003811/0.1514, allocations: 271.2 kB / 0.4887 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007292/0.1521, allocations: 394.2 kB / 0.489 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001641/0.1537, allocations: 1.067 MB / 0.4901 GB, free: 13.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1538, allocations: 0 / 0.4901 GB, free: 13.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1538, allocations: 0 / 0.4901 GB, free: 13.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.253e-05/0.1538, allocations: 0 / 0.4901 GB, free: 13.68 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002503/0.1563, allocations: 1.06 MB / 0.4911 GB, free: 12.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.1564, allocations: 12.03 kB / 0.4911 GB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001847/0.1566, allocations: 98.69 kB / 0.4912 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004057/0.157, allocations: 84.09 kB / 0.4913 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009366/0.1579, allocations: 0.5015 MB / 0.4918 GB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.158, allocations: 108.9 kB / 0.4919 GB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.1582, allocations: 52.12 kB / 0.4919 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.1594, allocations: 0.8252 MB / 0.4927 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.1594, allocations: 0 / 0.4927 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-05/0.1595, allocations: 24 kB / 0.4928 GB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-05/0.1596, allocations: 40.91 kB / 0.4928 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.1606, allocations: 0.6478 MB / 0.4934 GB, free: 10.05 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.004674/0.1653, allocations: 4.217 MB / 0.4976 GB, free: 5.539 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009203/0.1663, allocations: 419.8 kB / 0.498 GB, free: 5.121 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003522/0.1666, allocations: 213.4 kB / 0.4982 GB, free: 4.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005358/0.1672, allocations: 0.5029 MB / 0.4987 GB, free: 4.297 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.1672, allocations: 39.22 kB / 0.4987 GB, free: 4.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.073e-06/0.1672, allocations: 0 / 0.4987 GB, free: 4.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.003322/0.1706, allocations: 1.52 MB / 0.5002 GB, free: 2.676 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.823e-05/0.1707, allocations: 140.5 kB / 0.5003 GB, free: 2.508 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006904/0.1714, allocations: 0.5654 MB / 0.5009 GB, free: 1.934 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.73e-05/0.1714, allocations: 37.7 kB / 0.5009 GB, free: 1.891 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003133/0.1717, allocations: 358.9 kB / 0.5012 GB, free: 1.535 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000186/0.1719, allocations: 161.7 kB / 0.5014 GB, free: 1.375 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002905/0.1722, allocations: 134.5 kB / 0.5015 GB, free: 1.238 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.1724, allocations: 382.7 kB / 0.5019 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00041/0.1729, allocations: 221.9 kB / 0.5021 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2053/0.3782, allocations: 0.5169 MB / 0.5026 GB, free: 51.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.3796, allocations: 0.779 MB / 0.5034 GB, free: 50.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.3796, allocations: 3.969 kB / 0.5034 GB, free: 50.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002111/0.3817, allocations: 0.9357 MB / 0.5043 GB, free: 50.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.3818, allocations: 9.281 kB / 0.5043 GB, free: 50.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.412e-05/0.3818, allocations: 9.875 kB / 0.5043 GB, free: 50.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/0.383, allocations: 270.9 kB / 0.5046 GB, free: 50.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000494/0.3835, allocations: 126.5 kB / 0.5047 GB, free: 50.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000872/0.3844, allocations: 0.87 MB / 0.5055 GB, free: 50.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005406/0.3849, allocations: 26.77 kB / 0.5056 GB, free: 50.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-05/0.385, allocations: 38.48 kB / 0.5056 GB, free: 50.23 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 (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000407/0.3854, allocations: 242.4 kB / 0.5058 GB, free: 50.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/0.3856, allocations: 70.2 kB / 0.5059 GB, free: 50.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0015/0.3871, allocations: 0.7121 MB / 0.5066 GB, free: 49.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/0.3872, allocations: 5.594 kB / 0.5066 GB, free: 49.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-05/0.3872, allocations: 0.7969 kB / 0.5066 GB, free: 49.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.3872, allocations: 3.172 kB / 0.5066 GB, free: 49.74 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002445/0.3897, allocations: 1.411 MB / 0.508 GB, free: 48.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/0.3897, allocations: 5 kB / 0.508 GB, free: 48.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009604/0.3906, allocations: 194 kB / 0.5082 GB, free: 48.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002457/0.3909, allocations: 56.19 kB / 0.5082 GB, free: 48.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.595e-05/0.391, allocations: 14.61 kB / 0.5082 GB, free: 48.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001926/0.3929, allocations: 2.988 MB / 0.5111 GB, free: 46.01 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3929, allocations: 2.953 kB / 0.5112 GB, free: 46.01 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/0.3946, allocations: 1.001 MB / 0.5121 GB, free: 45.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000458/0.395, allocations: 198.8 kB / 0.5123 GB, free: 45.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/0.3952, allocations: 14.86 kB / 0.5123 GB, free: 45.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004823/0.3957, allocations: 12.62 kB / 0.5123 GB, free: 45.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.3959, allocations: 48.55 kB / 0.5124 GB, free: 45.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.288e-05/0.3959, allocations: 24.45 kB / 0.5124 GB, free: 45.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007667/0.3967, allocations: 419.2 kB / 0.5128 GB, free: 45.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3967, allocations: 1.031 kB / 0.5128 GB, free: 45.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001277/0.398, allocations: 204.9 kB / 0.513 GB, free: 45.09 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002151/0.4002, allocations: 1.669 MB / 0.5146 GB, free: 44.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001611/0.4018, allocations: 0.6758 MB / 0.5153 GB, free: 43.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.4018, allocations: 0 / 0.5153 GB, free: 43.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00115/0.403, allocations: 489.5 kB / 0.5158 GB, free: 43.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/0.4049, allocations: 371.1 kB / 0.5161 GB, free: 43.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/0.4154, allocations: 6.753 MB / 0.5227 GB, free: 39.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004907/0.416, allocations: 0.9426 MB / 0.5236 GB, free: 38.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009046/0.4169, allocations: 208.7 kB / 0.5238 GB, free: 38.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003328/0.4172, allocations: 234.5 kB / 0.5241 GB, free: 38.47 MB / 382.1 MB Notification: Performance of SimCode: time 7.42e-07/0.4172, allocations: 0 / 0.5241 GB, free: 38.47 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04375/0.461, allocations: 21.87 MB / 0.5454 GB, free: 20.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.27, allocations: 8.297 kB / 0.5454 GB, free: 20.18 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_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_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches