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.001205/0.001205, allocations: 110.6 kB / 17.73 MB, free: 5.316 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.001268/0.001269, allocations: 190.9 kB / 18.67 MB, free: 4.383 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.343/1.343, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001206/0.001206, allocations: 56.14 kB / 328.1 MB, free: 3.766 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07701/0.07823, allocations: 46.63 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.1992/0.2775, allocations: 39.25 MB / 413.9 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002708/0.2802, allocations: 2.047 MB / 416 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003097/0.2806, allocations: 3.656 kB / 416 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006037/0.2812, allocations: 173.6 kB / 416.2 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000683/0.2819, allocations: 309.8 kB / 416.5 MB, free: 1.691 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006831/0.2826, allocations: 283.7 kB / 416.7 MB, free: 1.473 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001167/0.2838, allocations: 0.836 MB / 417.6 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002207/0.284, allocations: 99.14 kB / 417.7 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1074/0.3915, allocations: 44.11 MB / 461.8 MB, free: 8.359 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005781/0.3921, allocations: 275.8 kB / 462 MB, free: 8.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.156e-05/0.3922, allocations: 28 kB / 462.1 MB, free: 8.062 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002161/0.3924, allocations: 43.92 kB / 462.1 MB, free: 8.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.3925, allocations: 91.73 kB / 462.2 MB, free: 7.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002389/0.3928, allocations: 183.2 kB / 462.4 MB, free: 7.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005452/0.3933, allocations: 438.6 kB / 462.8 MB, free: 7.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.3934, allocations: 0 / 462.8 MB, free: 7.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3934, allocations: 0 / 462.8 MB, free: 7.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.654e-05/0.3934, allocations: 0 / 462.8 MB, free: 7.32 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.0009849/0.3944, allocations: 0.5854 MB / 463.4 MB, free: 6.688 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.3944, allocations: 12.03 kB / 463.4 MB, free: 6.676 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.17e-05/0.3945, allocations: 58.73 kB / 463.5 MB, free: 6.609 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002797/0.3948, allocations: 40.64 kB / 463.5 MB, free: 6.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003733/0.3952, allocations: 275.8 kB / 463.8 MB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.3952, allocations: 24.88 kB / 463.8 MB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.007e-05/0.3953, allocations: 28.12 kB / 463.8 MB, free: 6.207 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004655/0.3957, allocations: 303.7 kB / 464.1 MB, free: 5.883 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.3958, allocations: 3.938 kB / 464.1 MB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.459e-05/0.3958, allocations: 14.5 kB / 464.1 MB, free: 5.867 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.3958, allocations: 12 kB / 464.2 MB, free: 5.855 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003234/0.3962, allocations: 193.6 kB / 464.3 MB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001662/0.3978, allocations: 1.436 MB / 465.8 MB, free: 4.117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.3981, allocations: 178.7 kB / 466 MB, free: 3.934 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.3983, allocations: 88.77 kB / 466 MB, free: 3.844 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.3983, allocations: 8 kB / 466 MB, free: 3.836 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.3984, allocations: 34.5 kB / 466.1 MB, free: 3.793 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.333e-06/0.3984, allocations: 0 / 466.1 MB, free: 3.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.002439/0.4008, allocations: 0.9974 MB / 467.1 MB, free: 2.719 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.4009, allocations: 59.34 kB / 467.1 MB, free: 2.648 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.4011, allocations: 262.6 kB / 467.4 MB, free: 2.383 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.4012, allocations: 33.7 kB / 467.4 MB, free: 2.344 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.4013, allocations: 180.1 kB / 467.6 MB, free: 2.164 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.189e-05/0.4013, allocations: 90.66 kB / 467.7 MB, free: 2.074 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.993e-05/0.4015, allocations: 65.61 kB / 467.8 MB, free: 2.004 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.4016, allocations: 338.8 kB / 468.1 MB, free: 1.664 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.4017, allocations: 83.97 kB / 468.2 MB, free: 1.582 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.4019, allocations: 178.9 kB / 468.3 MB, free: 1.367 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003702/0.4023, allocations: 294.9 kB / 468.6 MB, free: 1.039 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4023, allocations: 0 / 468.6 MB, free: 1.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006584/0.403, allocations: 383.1 kB / 469 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.403, allocations: 12.03 kB / 469 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.403, allocations: 0 / 469 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002412/0.4033, allocations: 69.59 kB / 469.1 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002865/0.4036, allocations: 63.91 kB / 469.1 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002264/0.4058, allocations: 2.884 MB / 472 MB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.4061, allocations: 12.12 kB / 472 MB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.4061, allocations: 20.06 kB / 472.1 MB, free: 13.31 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.000154/0.4063, allocations: 155 kB / 472.2 MB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.573e-05/0.4064, allocations: 23.72 kB / 472.2 MB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.134e-05/0.4064, allocations: 42.17 kB / 472.3 MB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.4064, allocations: 0 / 472.3 MB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.4065, allocations: 5.688 kB / 472.3 MB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005916/0.4071, allocations: 0.5552 MB / 472.8 MB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.4081, allocations: 0.7032 MB / 473.5 MB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.4081, allocations: 4 kB / 473.5 MB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/0.4083, allocations: 39.92 kB / 473.6 MB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000225/0.4085, allocations: 64.66 kB / 473.6 MB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.4086, allocations: 8 kB / 473.7 MB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001149/0.4097, allocations: 1.481 MB / 475.1 MB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4097, allocations: 3.938 kB / 475.1 MB, free: 9.926 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006811/0.4104, allocations: 477 kB / 475.6 MB, free: 9.438 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.202e-05/0.4105, allocations: 100.8 kB / 475.7 MB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.705e-05/0.4106, allocations: 4 kB / 475.7 MB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.4108, allocations: 8 kB / 475.7 MB, free: 9.309 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.4108, allocations: 27.84 kB / 475.7 MB, free: 9.281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.4109, allocations: 12.86 kB / 475.8 MB, free: 9.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001792/0.411, allocations: 182 kB / 475.9 MB, free: 9.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.411, allocations: 0 / 475.9 MB, free: 9.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003986/0.4115, allocations: 92.06 kB / 476 MB, free: 9 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.0009718/0.4124, allocations: 1.003 MB / 477 MB, free: 7.965 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008727/0.4133, allocations: 473.1 kB / 477.5 MB, free: 7.477 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.4133, allocations: 0.75 kB / 477.5 MB, free: 7.477 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004874/0.4138, allocations: 239 kB / 477.7 MB, free: 7.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.4149, allocations: 160.2 kB / 477.9 MB, free: 7.074 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003905/0.4188, allocations: 3.15 MB / 481 MB, free: 3.754 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.4191, allocations: 0.7645 MB / 481.8 MB, free: 2.965 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002405/0.4194, allocations: 54.92 kB / 481.8 MB, free: 2.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.4195, allocations: 87.41 kB / 481.9 MB, free: 2.824 MB / 398.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4195, allocations: 0 / 481.9 MB, free: 2.824 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03177/0.4513, allocations: 8.758 MB / 490.7 MB, free: 10 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.31, allocations: 11.91 kB / 490.7 MB, free: 9.992 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