Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_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.001187/0.001187, allocations: 104 kB / 16.27 MB, free: 6.043 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.00115/0.00115, allocations: 190.8 kB / 17.19 MB, free: 5.688 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.491/1.491, 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.2034/0.2034, allocations: 43.52 MB / 313.9 MB, free: 0.5352 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.002022/0.002022, allocations: 72.31 kB / 382.8 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09533/0.09736, allocations: 57.79 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.01998/0.1174, allocations: 20.24 MB / 460.9 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006579/0.124, allocations: 4.305 MB / 465.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006475/0.1247, allocations: 19.88 kB / 465.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000993/0.1258, allocations: 314 kB / 465.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002713/0.1285, allocations: 0.8549 MB / 466.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002802/0.1313, allocations: 0.8914 MB / 467.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002214/0.1336, allocations: 1.79 MB / 469 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007207/0.1343, allocations: 469.4 kB / 469.5 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001902/0.1362, allocations: 0.9106 MB / 470.4 MB, free: 8.922 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008865/0.1371, allocations: 0.6383 MB / 471 MB, free: 8.281 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.1372, allocations: 60 kB / 471.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007772/0.138, allocations: 299.6 kB / 471.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002527/0.1383, allocations: 255.3 kB / 471.7 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003992/0.1387, allocations: 398.2 kB / 472 MB, free: 7.289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.1399, allocations: 1.079 MB / 473.1 MB, free: 6.207 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1399, allocations: 4 kB / 473.1 MB, free: 6.203 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1399, allocations: 0 / 473.1 MB, free: 6.203 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.1399, allocations: 0 / 473.1 MB, free: 6.203 MB / 350.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.00204/0.142, allocations: 1.052 MB / 474.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.142, allocations: 11.89 kB / 474.2 MB, free: 5.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001196/0.1421, allocations: 94.7 kB / 474.3 MB, free: 4.988 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003362/0.1425, allocations: 88.08 kB / 474.4 MB, free: 4.902 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007093/0.1432, allocations: 0.5131 MB / 474.9 MB, free: 4.348 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.1433, allocations: 96.97 kB / 475 MB, free: 4.242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.799e-05/0.1434, allocations: 56.11 kB / 475 MB, free: 4.188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.1446, allocations: 0.8175 MB / 475.8 MB, free: 3.301 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.1446, allocations: 11.94 kB / 475.9 MB, free: 3.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.902e-05/0.1447, allocations: 20 kB / 475.9 MB, free: 3.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-05/0.1448, allocations: 40.97 kB / 475.9 MB, free: 3.227 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009782/0.1457, allocations: 0.64 MB / 476.6 MB, free: 2.59 MB / 350.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.004373/0.1501, allocations: 4.236 MB / 480.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008293/0.151, allocations: 417.9 kB / 481.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003122/0.1513, allocations: 205.4 kB / 481.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004715/0.1518, allocations: 0.4951 MB / 481.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.1518, allocations: 47.16 kB / 481.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 2.185e-06/0.1518, allocations: 0 / 481.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.003034/0.1549, allocations: 1.524 MB / 483.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/0.1549, allocations: 132.5 kB / 483.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005847/0.1555, allocations: 0.5693 MB / 484.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.144e-05/0.1556, allocations: 37.7 kB / 484.2 MB, free: 10.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/0.1558, allocations: 358.9 kB / 484.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.1559, allocations: 161.7 kB / 484.7 MB, free: 9.906 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/0.1561, allocations: 134.6 kB / 484.8 MB, free: 9.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1563, allocations: 378.7 kB / 485.2 MB, free: 9.391 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003635/0.1566, allocations: 221.9 kB / 485.4 MB, free: 9.176 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005456/0.1572, allocations: 0.524 MB / 486 MB, free: 8.512 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009417/0.1581, allocations: 0.7796 MB / 486.7 MB, free: 7.602 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.1581, allocations: 4 kB / 486.7 MB, free: 7.598 MB / 366.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00168/0.1598, allocations: 0.9449 MB / 487.7 MB, free: 6.645 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.1599, allocations: 12 kB / 487.7 MB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.1599, allocations: 8 kB / 487.7 MB, free: 6.625 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/0.1609, allocations: 273 kB / 488 MB, free: 6.355 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000401/0.1613, allocations: 119.8 kB / 488.1 MB, free: 6.238 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008635/0.1622, allocations: 0.8606 MB / 488.9 MB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004517/0.1627, allocations: 28 kB / 489 MB, free: 5.324 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.568e-05/0.1628, allocations: 36.05 kB / 489 MB, free: 5.289 MB / 366.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.0002983/0.1631, allocations: 253.5 kB / 489.3 MB, free: 5.031 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.1632, allocations: 71.16 kB / 489.3 MB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.1645, allocations: 0.7108 MB / 490 MB, free: 4.242 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.1645, allocations: 4 kB / 490 MB, free: 4.238 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.1645, allocations: 4 kB / 490 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.1645, allocations: 3.984 kB / 490 MB, free: 4.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/0.1665, allocations: 1.402 MB / 491.4 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.1665, allocations: 4 kB / 491.5 MB, free: 2.742 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009599/0.1675, allocations: 192 kB / 491.6 MB, free: 2.555 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002702/0.1678, allocations: 60.78 kB / 491.7 MB, free: 2.492 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-05/0.1678, allocations: 8 kB / 491.7 MB, free: 2.484 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002333/0.1701, allocations: 2.986 MB / 494.7 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.1702, allocations: 0 / 494.7 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.1717, allocations: 0.9957 MB / 495.7 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002814/0.172, allocations: 200.2 kB / 495.9 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.362e-05/0.1721, allocations: 12 kB / 495.9 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003735/0.1725, allocations: 16.06 kB / 495.9 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.125e-05/0.1726, allocations: 47.81 kB / 496 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.204e-05/0.1726, allocations: 23.94 kB / 496 MB, free: 13.87 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000589/0.1732, allocations: 423 kB / 496.4 MB, free: 13.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1733, allocations: 0 / 496.4 MB, free: 13.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008856/0.1741, allocations: 203.9 kB / 496.6 MB, free: 13.26 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.002114/0.1763, allocations: 1.682 MB / 498.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001304/0.1776, allocations: 0.6661 MB / 498.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.1776, allocations: 4 kB / 498.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001171/0.1788, allocations: 491.8 kB / 499.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/0.1807, allocations: 371.8 kB / 499.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009333/0.19, allocations: 6.756 MB / 0.4947 GB, free: 2.879 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004946/0.1905, allocations: 0.9384 MB / 0.4956 GB, free: 1.914 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007738/0.1913, allocations: 208.9 kB / 0.4958 GB, free: 1.715 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003157/0.1917, allocations: 231.4 kB / 0.496 GB, free: 1.488 MB / 382.1 MB Notification: Performance of SimCode: time 7.12e-07/0.1917, allocations: 0 / 0.496 GB, free: 1.488 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04628/0.2379, allocations: 21.87 MB / 0.5174 GB, free: 11.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.28, allocations: 4.188 kB / 0.5174 GB, free: 11.59 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches