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.001393/0.001393, allocations: 104.9 kB / 16.4 MB, free: 6.469 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.001413/0.001413, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.392/1.392, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2126/0.2126, allocations: 43.52 MB / 314.1 MB, free: 456 kB / 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.002009/0.002009, allocations: 71.89 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1067, allocations: 57.78 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02281/0.1296, allocations: 20.26 MB / 0.5072 GB, free: 7.941 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007001/0.1366, allocations: 4.282 MB / 0.5114 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009763/0.1376, allocations: 19.88 kB / 0.5114 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.1389, allocations: 321.9 kB / 0.5117 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002382/0.1413, allocations: 0.8394 MB / 0.5125 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00248/0.1438, allocations: 0.8961 MB / 0.5134 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002468/0.1463, allocations: 1.801 MB / 0.5152 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008971/0.1472, allocations: 465.3 kB / 0.5156 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001897/0.1491, allocations: 0.9184 MB / 0.5165 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001167/0.1503, allocations: 0.6383 MB / 0.5171 GB, free: 13.74 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001871/0.1505, allocations: 60 kB / 0.5172 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009249/0.1514, allocations: 307.6 kB / 0.5175 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003414/0.1518, allocations: 263.2 kB / 0.5177 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000561/0.1523, allocations: 386.2 kB / 0.5181 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00158/0.1539, allocations: 1.09 MB / 0.5192 GB, free: 11.65 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1539, allocations: 0 / 0.5192 GB, free: 11.65 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.154, allocations: 0 / 0.5192 GB, free: 11.65 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.66e-05/0.154, allocations: 0 / 0.5192 GB, free: 11.65 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.002404/0.1564, allocations: 1.078 MB / 0.5202 GB, free: 10.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.1564, allocations: 15.83 kB / 0.5202 GB, free: 10.51 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001398/0.1566, allocations: 98.69 kB / 0.5203 GB, free: 10.4 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003732/0.157, allocations: 92.45 kB / 0.5204 GB, free: 10.31 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008802/0.1579, allocations: 0.5292 MB / 0.5209 GB, free: 9.742 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.158, allocations: 108.9 kB / 0.521 GB, free: 9.625 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.889e-05/0.1581, allocations: 48.12 kB / 0.5211 GB, free: 9.578 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.1594, allocations: 0.8136 MB / 0.5219 GB, free: 8.688 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.1595, allocations: 3.938 kB / 0.5219 GB, free: 8.684 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.227e-05/0.1595, allocations: 31.98 kB / 0.5219 GB, free: 8.652 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.825e-05/0.1596, allocations: 40.92 kB / 0.5219 GB, free: 8.613 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.1608, allocations: 0.6477 MB / 0.5226 GB, free: 7.965 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.005112/0.1659, allocations: 4.214 MB / 0.5267 GB, free: 3.461 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009211/0.1668, allocations: 423.4 kB / 0.5271 GB, free: 3.043 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003706/0.1672, allocations: 209.4 kB / 0.5273 GB, free: 2.836 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005242/0.1678, allocations: 0.5067 MB / 0.5278 GB, free: 2.219 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.1678, allocations: 42.83 kB / 0.5278 GB, free: 2.168 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.054e-06/0.1678, allocations: 0 / 0.5278 GB, free: 2.168 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.00331/0.1711, allocations: 1.526 MB / 0.5293 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.132e-05/0.1712, allocations: 136.5 kB / 0.5295 GB, free: 436 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1801/0.3514, allocations: 0.5678 MB / 0.53 GB, free: 42.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001237/0.3515, allocations: 31.89 kB / 0.53 GB, free: 42.58 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002332/0.3518, allocations: 360.2 kB / 0.5304 GB, free: 42.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.3519, allocations: 178.8 kB / 0.5305 GB, free: 42.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002215/0.3522, allocations: 140.9 kB / 0.5307 GB, free: 42.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.3523, allocations: 377.3 kB / 0.531 GB, free: 42.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003725/0.3526, allocations: 227.8 kB / 0.5313 GB, free: 42.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004421/0.3531, allocations: 0.5215 MB / 0.5318 GB, free: 41.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007985/0.3539, allocations: 0.772 MB / 0.5325 GB, free: 41.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.3539, allocations: 3 kB / 0.5325 GB, free: 41.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001671/0.3556, allocations: 0.9386 MB / 0.5334 GB, free: 41.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.3556, allocations: 9.969 kB / 0.5335 GB, free: 41.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.3556, allocations: 11.19 kB / 0.5335 GB, free: 41.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/0.3567, allocations: 268.5 kB / 0.5337 GB, free: 41.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003964/0.3571, allocations: 128.4 kB / 0.5338 GB, free: 41.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007742/0.3579, allocations: 0.8645 MB / 0.5347 GB, free: 40.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004498/0.3584, allocations: 32.77 kB / 0.5347 GB, free: 40.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-05/0.3585, allocations: 35.53 kB / 0.5348 GB, free: 40.68 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.0002786/0.3587, allocations: 248.6 kB / 0.535 GB, free: 40.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.3589, allocations: 68.34 kB / 0.5351 GB, free: 40.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/0.3602, allocations: 0.7153 MB / 0.5358 GB, free: 40.42 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.3603, allocations: 6.109 kB / 0.5358 GB, free: 40.42 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.3603, allocations: 1.156 kB / 0.5358 GB, free: 40.42 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.3603, allocations: 6.609 kB / 0.5358 GB, free: 40.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002048/0.3623, allocations: 1.4 MB / 0.5371 GB, free: 39.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.3624, allocations: 2.234 kB / 0.5371 GB, free: 39.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009451/0.3633, allocations: 195.2 kB / 0.5373 GB, free: 39.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002379/0.3636, allocations: 60.61 kB / 0.5374 GB, free: 39.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-05/0.3636, allocations: 18.05 kB / 0.5374 GB, free: 39.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/0.3653, allocations: 2.982 MB / 0.5403 GB, free: 36.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.3653, allocations: 2.156 kB / 0.5403 GB, free: 36.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/0.3668, allocations: 1.005 MB / 0.5413 GB, free: 36.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002937/0.3671, allocations: 206.9 kB / 0.5415 GB, free: 36.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.204e-05/0.3672, allocations: 18.09 kB / 0.5415 GB, free: 36.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003685/0.3676, allocations: 15.95 kB / 0.5415 GB, free: 36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.3677, allocations: 32.69 kB / 0.5416 GB, free: 36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.822e-05/0.3678, allocations: 25.44 kB / 0.5416 GB, free: 35.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005433/0.3683, allocations: 423.8 kB / 0.542 GB, free: 35.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3683, allocations: 0 / 0.542 GB, free: 35.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000918/0.3692, allocations: 206 kB / 0.5422 GB, free: 35.77 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.002076/0.3713, allocations: 1.672 MB / 0.5438 GB, free: 34.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001158/0.3725, allocations: 0.6145 MB / 0.5444 GB, free: 34.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3725, allocations: 0 / 0.5444 GB, free: 34.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001115/0.3736, allocations: 482.7 kB / 0.5449 GB, free: 34.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001812/0.3755, allocations: 376 kB / 0.5452 GB, free: 34.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009049/0.3845, allocations: 6.548 MB / 0.5516 GB, free: 30.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.385, allocations: 0.9352 MB / 0.5525 GB, free: 29.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007756/0.3858, allocations: 210.3 kB / 0.5527 GB, free: 29.53 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003037/0.3861, allocations: 239.3 kB / 0.553 GB, free: 29.36 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3861, allocations: 0 / 0.553 GB, free: 29.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05212/0.4382, allocations: 22.13 MB / 0.5746 GB, free: 13.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.34, allocations: 8.359 kB / 0.5746 GB, free: 13.95 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