Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_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.001244/0.001244, allocations: 110.6 kB / 17.73 MB, free: 5.312 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.001254/0.001254, allocations: 190.9 kB / 18.66 MB, free: 4.387 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.416/1.416, allocations: 205.1 MB / 224.5 MB, free: 12.21 MB / 190.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.001294/0.001294, allocations: 55.92 kB / 328.1 MB, free: 3.762 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09181/0.09311, allocations: 46.62 MB / 374.7 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.2495/0.3426, allocations: 39.24 MB / 413.9 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003057/0.3457, allocations: 2.038 MB / 416 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002247/0.3461, allocations: 8.812 kB / 416 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006679/0.3468, allocations: 173.1 kB / 416.2 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006169/0.3474, allocations: 319 kB / 416.5 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000653/0.3481, allocations: 285.4 kB / 416.7 MB, free: 1.477 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009125/0.349, allocations: 0.8365 MB / 417.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002061/0.3492, allocations: 110 kB / 417.7 MB, free: 0.957 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1112/0.4604, allocations: 44.1 MB / 461.8 MB, free: 8.348 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000688/0.4611, allocations: 279.8 kB / 462.1 MB, free: 8.074 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.4613, allocations: 28 kB / 462.1 MB, free: 8.047 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003148/0.4616, allocations: 44 kB / 462.1 MB, free: 8.004 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.4618, allocations: 95.64 kB / 462.2 MB, free: 7.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003367/0.4621, allocations: 171.3 kB / 462.4 MB, free: 7.742 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007356/0.4629, allocations: 446.4 kB / 462.8 MB, free: 7.305 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.4629, allocations: 0 / 462.8 MB, free: 7.305 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4629, allocations: 0 / 462.8 MB, free: 7.305 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.4629, allocations: 0 / 462.8 MB, free: 7.305 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001196/0.4641, allocations: 0.5884 MB / 463.4 MB, free: 6.668 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.4642, allocations: 12.03 kB / 463.4 MB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.521e-05/0.4643, allocations: 62.72 kB / 463.5 MB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003481/0.4647, allocations: 40.75 kB / 463.5 MB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005304/0.4652, allocations: 287.9 kB / 463.8 MB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.4652, allocations: 17.5 kB / 463.8 MB, free: 6.207 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.315e-05/0.4653, allocations: 28.12 kB / 463.9 MB, free: 6.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000532/0.4658, allocations: 307.7 kB / 464.2 MB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.4659, allocations: 0 / 464.2 MB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.618e-05/0.4659, allocations: 12 kB / 464.2 MB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.4659, allocations: 8 kB / 464.2 MB, free: 5.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003314/0.4663, allocations: 193.5 kB / 464.4 MB, free: 5.645 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001829/0.4681, allocations: 1.442 MB / 465.8 MB, free: 4.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003337/0.4685, allocations: 178.6 kB / 466 MB, free: 3.906 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.4686, allocations: 88.83 kB / 466.1 MB, free: 3.816 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.4686, allocations: 4 kB / 466.1 MB, free: 3.812 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.4687, allocations: 34.5 kB / 466.1 MB, free: 3.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.181e-05/0.4687, allocations: 4 kB / 466.1 MB, free: 3.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.00256/0.4713, allocations: 1.013 MB / 467.1 MB, free: 2.676 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.4713, allocations: 59.39 kB / 467.2 MB, free: 2.605 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002689/0.4716, allocations: 262.5 kB / 467.4 MB, free: 2.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.4716, allocations: 29.7 kB / 467.5 MB, free: 2.305 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.4718, allocations: 176.5 kB / 467.6 MB, free: 2.129 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.685e-05/0.4718, allocations: 95.2 kB / 467.7 MB, free: 2.035 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.912e-05/0.4719, allocations: 65.66 kB / 467.8 MB, free: 1.965 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.4721, allocations: 338.8 kB / 468.1 MB, free: 1.625 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.4723, allocations: 87.97 kB / 468.2 MB, free: 1.539 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.4725, allocations: 174.8 kB / 468.4 MB, free: 1.328 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004055/0.4729, allocations: 294.9 kB / 468.7 MB, free: 1 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.4729, allocations: 0 / 468.7 MB, free: 1 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006808/0.4736, allocations: 390.8 kB / 469 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.4736, allocations: 8 kB / 469.1 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.4736, allocations: 0 / 469.1 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000265/0.4739, allocations: 65.61 kB / 469.1 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003054/0.4742, allocations: 68.28 kB / 469.2 MB, free: 472 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002557/0.4768, allocations: 2.896 MB / 472.1 MB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/0.477, allocations: 12 kB / 472.1 MB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.4771, allocations: 12 kB / 472.1 MB, free: 13.26 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000178/0.4773, allocations: 147.1 kB / 472.3 MB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.401e-05/0.4773, allocations: 27.86 kB / 472.3 MB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.323e-05/0.4774, allocations: 38.23 kB / 472.3 MB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.4774, allocations: 4 kB / 472.3 MB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.4774, allocations: 3.938 kB / 472.3 MB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006237/0.4781, allocations: 0.563 MB / 472.9 MB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.4791, allocations: 0.6877 MB / 473.6 MB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.4791, allocations: 4 kB / 473.6 MB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/0.4793, allocations: 51.94 kB / 473.6 MB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002247/0.4796, allocations: 49.88 kB / 473.7 MB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.4796, allocations: 8 kB / 473.7 MB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001248/0.4809, allocations: 1.496 MB / 475.2 MB, free: 9.887 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4809, allocations: 0 / 475.2 MB, free: 9.887 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007113/0.4816, allocations: 481 kB / 475.7 MB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.173e-05/0.4817, allocations: 108.9 kB / 475.8 MB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.421e-05/0.4817, allocations: 4 kB / 475.8 MB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.482, allocations: 4 kB / 475.8 MB, free: 9.262 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.482, allocations: 19.92 kB / 475.8 MB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/0.482, allocations: 20.05 kB / 475.8 MB, free: 9.223 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001948/0.4822, allocations: 182 kB / 476 MB, free: 9.043 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4822, allocations: 0 / 476 MB, free: 9.043 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004241/0.4827, allocations: 92 kB / 476.1 MB, free: 8.953 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (24): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 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.001058/0.4837, allocations: 1.003 MB / 477.1 MB, free: 7.918 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007994/0.4846, allocations: 477.9 kB / 477.5 MB, free: 7.426 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4846, allocations: 3.938 kB / 477.5 MB, free: 7.422 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003908/0.485, allocations: 235 kB / 477.8 MB, free: 7.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009093/0.4859, allocations: 162.1 kB / 477.9 MB, free: 7.023 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004358/0.4903, allocations: 3.17 MB / 481.1 MB, free: 3.684 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004521/0.4907, allocations: 0.7606 MB / 481.9 MB, free: 2.898 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002637/0.491, allocations: 50.94 kB / 481.9 MB, free: 2.848 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.4912, allocations: 87.41 kB / 482 MB, free: 2.762 MB / 398.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4912, allocations: 0 / 482 MB, free: 2.762 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03681/0.528, allocations: 8.756 MB / 490.8 MB, free: 9.941 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.21, allocations: 4 kB / 490.8 MB, free: 9.938 MB / 414.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.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 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches