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.00999/0.00999, allocations: 102.9 kB / 17.58 MB, free: 5.418 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.002714/0.002714, allocations: 187.9 kB / 18.51 MB, free: 4.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.549/2.549, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.002224/0.002224, allocations: 56.14 kB / 280.8 MB, free: 3.078 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1741, allocations: 46.63 MB / 327.4 MB, free: 4.379 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.07497/0.2491, allocations: 39.25 MB / 366.6 MB, free: 12.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004443/0.2537, allocations: 2.031 MB / 368.7 MB, free: 10.94 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003619/0.2541, allocations: 4 kB / 368.7 MB, free: 10.94 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008766/0.255, allocations: 170.9 kB / 368.8 MB, free: 10.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001064/0.2561, allocations: 322.2 kB / 369.2 MB, free: 10.45 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.2572, allocations: 279.4 kB / 369.4 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001473/0.2587, allocations: 0.8484 MB / 370.3 MB, free: 9.328 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003068/0.2591, allocations: 96.67 kB / 370.4 MB, free: 9.23 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.5161/0.7752, allocations: 44.09 MB / 414.5 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001042/0.7763, allocations: 277.8 kB / 414.7 MB, free: 4.055 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.7764, allocations: 28 kB / 414.8 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002654/0.7767, allocations: 34.5 kB / 414.8 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001905/0.7769, allocations: 96.81 kB / 414.9 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003108/0.7772, allocations: 176.8 kB / 415.1 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006529/0.7779, allocations: 430.2 kB / 415.5 MB, free: 3.574 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.958e-06/0.7779, allocations: 0 / 415.5 MB, free: 3.574 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.7779, allocations: 4 kB / 415.5 MB, free: 3.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.778, allocations: 0 / 415.5 MB, free: 3.57 MB / 318.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.001258/0.7792, allocations: 0.5815 MB / 416.1 MB, free: 3.023 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.387e-05/0.7793, allocations: 12.03 kB / 416.1 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.807e-05/0.7794, allocations: 66.16 kB / 416.1 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004457/0.7798, allocations: 36.66 kB / 416.2 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00045/0.7803, allocations: 281.1 kB / 416.5 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/0.7804, allocations: 21.88 kB / 416.5 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.643e-05/0.7804, allocations: 22.69 kB / 416.5 MB, free: 2.613 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006915/0.7811, allocations: 307 kB / 416.8 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.7812, allocations: 0 / 416.8 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.882e-05/0.7812, allocations: 14.69 kB / 416.8 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.7813, allocations: 8 kB / 416.8 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000503/0.7818, allocations: 201.5 kB / 417 MB, free: 2.23 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002169/0.784, allocations: 1.434 MB / 418.5 MB, free: 0.875 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004372/0.7844, allocations: 179.4 kB / 418.6 MB, free: 0.75 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/0.7846, allocations: 90.92 kB / 418.7 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.797e-05/0.7847, allocations: 2.656 kB / 418.7 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.7847, allocations: 39.66 kB / 418.8 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.895e-06/0.7847, allocations: 0 / 418.8 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.003744/0.7885, allocations: 0.9979 MB / 419.8 MB, free: 15.56 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.7886, allocations: 51.41 kB / 419.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004434/0.789, allocations: 262.6 kB / 420.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.737e-05/0.7891, allocations: 33.7 kB / 420.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/0.7893, allocations: 182.6 kB / 420.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.7894, allocations: 94.55 kB / 420.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/0.7896, allocations: 65.39 kB / 420.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002077/0.7898, allocations: 336.2 kB / 420.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/0.7901, allocations: 83.97 kB / 420.8 MB, free: 14.44 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003631/0.7905, allocations: 186 kB / 421 MB, free: 14.22 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006566/0.7912, allocations: 286.6 kB / 421.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-05/0.7912, allocations: 3.938 kB / 421.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00112/0.7923, allocations: 386.5 kB / 421.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.7924, allocations: 4 kB / 421.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.7924, allocations: 6.5 kB / 421.7 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004062/0.7928, allocations: 64.89 kB / 421.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005192/0.7933, allocations: 67.62 kB / 421.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003712/0.7971, allocations: 2.879 MB / 424.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004926/0.7976, allocations: 15.97 kB / 424.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.145e-05/0.7977, allocations: 13.12 kB / 424.7 MB, free: 10.24 MB / 334.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.0004127/0.7981, allocations: 150.6 kB / 424.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.7983, allocations: 33.22 kB / 424.9 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001277/0.7984, allocations: 30.19 kB / 424.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.7984, allocations: 11.83 kB / 425 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.511e-05/0.7985, allocations: 0 / 425 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001153/0.7996, allocations: 0.5662 MB / 425.5 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002034/0.8017, allocations: 0.7013 MB / 426.2 MB, free: 8.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.8017, allocations: 0 / 426.2 MB, free: 8.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003684/0.8021, allocations: 47.16 kB / 426.3 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004279/0.8025, allocations: 54.02 kB / 426.3 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.274e-05/0.8026, allocations: 14.72 kB / 426.3 MB, free: 8.516 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002572/0.8052, allocations: 1.488 MB / 427.8 MB, free: 6.898 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.8052, allocations: 0 / 427.8 MB, free: 6.898 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.8064, allocations: 474.5 kB / 428.3 MB, free: 6.418 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002611/0.8067, allocations: 105 kB / 428.4 MB, free: 6.297 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.445e-05/0.8068, allocations: 4 kB / 428.4 MB, free: 6.293 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003731/0.8071, allocations: 12 kB / 428.4 MB, free: 6.281 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.099e-05/0.8072, allocations: 23.62 kB / 428.4 MB, free: 6.262 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.132e-05/0.8073, allocations: 10.89 kB / 428.4 MB, free: 6.254 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004514/0.8078, allocations: 190 kB / 428.6 MB, free: 6.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.8078, allocations: 0 / 428.6 MB, free: 6.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008137/0.8086, allocations: 88 kB / 428.7 MB, free: 5.984 MB / 334.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.001825/0.8104, allocations: 0.9994 MB / 429.7 MB, free: 4.957 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001529/0.812, allocations: 491.7 kB / 430.2 MB, free: 4.469 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/0.812, allocations: 4 kB / 430.2 MB, free: 4.465 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006417/0.8127, allocations: 238.1 kB / 430.4 MB, free: 4.227 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/0.8144, allocations: 161.7 kB / 430.6 MB, free: 4.086 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007296/0.8217, allocations: 3.163 MB / 433.7 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007419/0.8225, allocations: 0.7645 MB / 434.5 MB, free: 36 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0007545/0.8233, allocations: 51 kB / 434.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002861/0.8236, allocations: 83.41 kB / 434.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of SimCode: time 2.184e-06/0.8236, allocations: 0 / 434.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05929/0.8829, allocations: 8.62 MB / 443.3 MB, free: 7.238 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.35/19.24, allocations: 15.86 kB / 443.3 MB, free: 7.223 MB / 350.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