Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",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.001306/0.001307, allocations: 109.3 kB / 16.27 MB, free: 6.41 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.001278/0.001278, allocations: 191.1 kB / 17.2 MB, free: 5.953 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.404/1.404, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2083/0.2083, allocations: 43.52 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.001697/0.001697, allocations: 68.86 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09754/0.09926, allocations: 57.78 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.0535/0.1528, allocations: 43.95 MB / 484.6 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006184/0.159, allocations: 4.362 MB / 488.9 MB, free: 6.332 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006169/0.1597, allocations: 19.88 kB / 489 MB, free: 6.312 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009113/0.1606, allocations: 318 kB / 489.3 MB, free: 6 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001973/0.1626, allocations: 0.855 MB / 490.1 MB, free: 5.141 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002321/0.165, allocations: 0.8986 MB / 491 MB, free: 4.246 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002061/0.167, allocations: 1.79 MB / 492.8 MB, free: 2.453 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007359/0.1678, allocations: 457.3 kB / 493.3 MB, free: 2.004 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1058/0.2735, allocations: 44.5 MB / 0.5252 GB, free: 5.023 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2321/0.5057, allocations: 7.959 MB / 0.5329 GB, free: 48.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002643/0.506, allocations: 61.3 kB / 0.533 GB, free: 48.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02486/0.5308, allocations: 10.66 MB / 0.5434 GB, free: 44.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007231/0.5316, allocations: 263.1 kB / 0.5436 GB, free: 44.97 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000874/0.5325, allocations: 397.7 kB / 0.544 GB, free: 44.97 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001971/0.5345, allocations: 1.073 MB / 0.5451 GB, free: 44.95 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.5345, allocations: 2 kB / 0.5451 GB, free: 44.95 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.5345, allocations: 1.062 kB / 0.5451 GB, free: 44.95 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.318e-05/0.5345, allocations: 0.9844 kB / 0.5451 GB, free: 44.95 MB / 414.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.002309/0.5369, allocations: 1.042 MB / 0.5461 GB, free: 44.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.5369, allocations: 17.33 kB / 0.5461 GB, free: 44.45 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001438/0.5371, allocations: 102.4 kB / 0.5462 GB, free: 44.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004071/0.5375, allocations: 90.66 kB / 0.5463 GB, free: 44.37 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008355/0.5383, allocations: 0.5033 MB / 0.5468 GB, free: 44.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.5385, allocations: 102.7 kB / 0.5469 GB, free: 44.04 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.5386, allocations: 51.88 kB / 0.5469 GB, free: 44.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.5401, allocations: 0.8232 MB / 0.5477 GB, free: 43.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/0.5401, allocations: 1.562 kB / 0.5477 GB, free: 43.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.244e-05/0.5402, allocations: 26.12 kB / 0.5478 GB, free: 43.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-05/0.5403, allocations: 36.73 kB / 0.5478 GB, free: 43.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.5416, allocations: 0.6471 MB / 0.5484 GB, free: 43.82 MB / 414.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.00458/0.5462, allocations: 4.234 MB / 0.5526 GB, free: 41.03 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008522/0.5471, allocations: 420.5 kB / 0.553 GB, free: 40.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003042/0.5474, allocations: 209.5 kB / 0.5532 GB, free: 40.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000411/0.5478, allocations: 0.4958 MB / 0.5536 GB, free: 40.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.5478, allocations: 39.42 kB / 0.5537 GB, free: 40.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 5.61e-06/0.5479, allocations: 0.7031 kB / 0.5537 GB, free: 40.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.003054/0.5509, allocations: 1.523 MB / 0.5552 GB, free: 39.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.551, allocations: 137.8 kB / 0.5553 GB, free: 39.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005891/0.5516, allocations: 0.5746 MB / 0.5559 GB, free: 39.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.694e-05/0.5516, allocations: 35.89 kB / 0.5559 GB, free: 39.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002238/0.5519, allocations: 352.1 kB / 0.5562 GB, free: 39.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.552, allocations: 161.6 kB / 0.5564 GB, free: 39.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001964/0.5522, allocations: 141.9 kB / 0.5565 GB, free: 39.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.903e-05/0.5523, allocations: 375.9 kB / 0.5569 GB, free: 39.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000368/0.5526, allocations: 226.2 kB / 0.5571 GB, free: 39.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004898/0.5531, allocations: 0.527 MB / 0.5576 GB, free: 38.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009615/0.5541, allocations: 0.7737 MB / 0.5584 GB, free: 38.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.792e-06/0.5541, allocations: 5.219 kB / 0.5584 GB, free: 38.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001808/0.556, allocations: 0.9302 MB / 0.5593 GB, free: 38.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.556, allocations: 9.969 kB / 0.5593 GB, free: 38.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.556, allocations: 14.98 kB / 0.5593 GB, free: 38.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.5571, allocations: 268.6 kB / 0.5596 GB, free: 38.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003871/0.5575, allocations: 124.8 kB / 0.5597 GB, free: 38.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007583/0.5582, allocations: 0.8661 MB / 0.5605 GB, free: 37.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000513/0.5587, allocations: 30.3 kB / 0.5606 GB, free: 37.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-05/0.5588, allocations: 38.73 kB / 0.5606 GB, free: 37.66 MB / 414.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.0003196/0.5591, allocations: 240.5 kB / 0.5608 GB, free: 37.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.5593, allocations: 69.42 kB / 0.5609 GB, free: 37.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/0.5605, allocations: 0.718 MB / 0.5616 GB, free: 37.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.5605, allocations: 8.312 kB / 0.5616 GB, free: 37.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.5605, allocations: 0 / 0.5616 GB, free: 37.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.5605, allocations: 7.078 kB / 0.5616 GB, free: 37.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/0.5623, allocations: 1.405 MB / 0.563 GB, free: 37.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.5623, allocations: 3.312 kB / 0.563 GB, free: 37.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009021/0.5632, allocations: 189 kB / 0.5632 GB, free: 37.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002194/0.5635, allocations: 58.12 kB / 0.5632 GB, free: 37.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.603e-05/0.5635, allocations: 17.16 kB / 0.5632 GB, free: 37.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001665/0.5652, allocations: 2.982 MB / 0.5661 GB, free: 34.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5652, allocations: 2.5 kB / 0.5661 GB, free: 34.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/0.5667, allocations: 1.005 MB / 0.5671 GB, free: 33.99 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003289/0.567, allocations: 198.1 kB / 0.5673 GB, free: 33.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.882e-05/0.5671, allocations: 14.92 kB / 0.5673 GB, free: 33.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/0.5675, allocations: 14.08 kB / 0.5673 GB, free: 33.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.503e-05/0.5676, allocations: 43.98 kB / 0.5674 GB, free: 33.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.21e-05/0.5677, allocations: 17.83 kB / 0.5674 GB, free: 33.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005245/0.5682, allocations: 422.1 kB / 0.5678 GB, free: 33.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5682, allocations: 4.062 kB / 0.5678 GB, free: 33.76 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008608/0.5691, allocations: 209.3 kB / 0.568 GB, free: 33.75 MB / 414.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.001734/0.5708, allocations: 1.67 MB / 0.5696 GB, free: 32.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.572, allocations: 0.6694 MB / 0.5703 GB, free: 32.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.572, allocations: 3.469 kB / 0.5703 GB, free: 32.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.5732, allocations: 490.2 kB / 0.5708 GB, free: 32.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/0.5748, allocations: 369.6 kB / 0.5711 GB, free: 32.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007836/0.5826, allocations: 6.756 MB / 0.5777 GB, free: 28.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.5829, allocations: 0.9424 MB / 0.5786 GB, free: 27.67 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00083/0.5838, allocations: 211.9 kB / 0.5788 GB, free: 27.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002745/0.5841, allocations: 231.4 kB / 0.5791 GB, free: 27.26 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.5841, allocations: 0 / 0.5791 GB, free: 27.26 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04472/0.6288, allocations: 21.86 MB / 0.6004 GB, free: 5.449 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.47, allocations: 8.25 kB / 0.6004 GB, free: 5.438 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_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_LinearWater_pT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches