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.000992/0.000992, allocations: 113.3 kB / 17.28 MB, free: 6.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.000988/0.0009881, allocations: 189.3 kB / 18.19 MB, free: 5.395 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.4/1.4, allocations: 205.1 MB / 224 MB, free: 12.43 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.001429/0.001429, allocations: 48.14 kB / 280.3 MB, free: 3.375 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09427/0.09571, allocations: 46.63 MB / 326.9 MB, free: 4.672 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.03893/0.1347, allocations: 39.33 MB / 366.2 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002437/0.1372, allocations: 2.031 MB / 368.3 MB, free: 11.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002969/0.1375, allocations: 4 kB / 368.3 MB, free: 11.15 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005824/0.1381, allocations: 143.2 kB / 368.4 MB, free: 11.01 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007922/0.1389, allocations: 302.5 kB / 368.7 MB, free: 10.71 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007422/0.1397, allocations: 259.6 kB / 369 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001059/0.1408, allocations: 0.8523 MB / 369.8 MB, free: 9.605 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002316/0.141, allocations: 96.69 kB / 369.9 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.239/0.3801, allocations: 43.54 MB / 413.4 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005562/0.3807, allocations: 282.5 kB / 413.7 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.865e-05/0.3808, allocations: 29.09 kB / 413.7 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.3809, allocations: 39.5 kB / 413.8 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.964e-05/0.381, allocations: 91.83 kB / 413.9 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001824/0.3812, allocations: 188.7 kB / 414.1 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003949/0.3816, allocations: 432.1 kB / 414.5 MB, free: 4.68 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.309e-06/0.3816, allocations: 0 / 414.5 MB, free: 4.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3816, allocations: 0 / 414.5 MB, free: 4.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.3816, allocations: 7.078 kB / 414.5 MB, free: 4.676 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.0007873/0.3824, allocations: 0.5824 MB / 415.1 MB, free: 4.129 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.3825, allocations: 8.031 kB / 415.1 MB, free: 4.121 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.655e-05/0.3825, allocations: 61.22 kB / 415.1 MB, free: 4.066 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002589/0.3828, allocations: 36.66 kB / 415.2 MB, free: 4.031 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.3831, allocations: 273.5 kB / 415.4 MB, free: 3.758 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.3831, allocations: 20.5 kB / 415.5 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.739e-05/0.3831, allocations: 26.69 kB / 415.5 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000377/0.3835, allocations: 311.2 kB / 415.8 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.3835, allocations: 0 / 415.8 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/0.3836, allocations: 11.75 kB / 415.8 MB, free: 3.477 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.3836, allocations: 4 kB / 415.8 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002731/0.3839, allocations: 199.6 kB / 416 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.3851, allocations: 1.428 MB / 417.4 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.3854, allocations: 181.3 kB / 417.6 MB, free: 1.867 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.3855, allocations: 93.73 kB / 417.7 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.3855, allocations: 4 kB / 417.7 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.3856, allocations: 32.69 kB / 417.7 MB, free: 1.762 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.303e-06/0.3856, allocations: 0 / 417.7 MB, free: 1.762 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.002104/0.3877, allocations: 1.004 MB / 418.7 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.3877, allocations: 55.41 kB / 418.8 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.3879, allocations: 263.5 kB / 419 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.3879, allocations: 29.27 kB / 419.1 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.919e-05/0.388, allocations: 180.2 kB / 419.2 MB, free: 424 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.299e-05/0.388, allocations: 90.14 kB / 419.3 MB, free: 348 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.67e-05/0.3881, allocations: 70.27 kB / 419.4 MB, free: 280 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.035e-05/0.3882, allocations: 338.8 kB / 419.7 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.3884, allocations: 84.84 kB / 419.8 MB, free: 15.85 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.3886, allocations: 177.5 kB / 420 MB, free: 15.64 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003491/0.3889, allocations: 297.3 kB / 420.3 MB, free: 15.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.3889, allocations: 3.938 kB / 420.3 MB, free: 15.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006214/0.3896, allocations: 378.8 kB / 420.7 MB, free: 14.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.3896, allocations: 11.84 kB / 420.7 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.3896, allocations: 4 kB / 420.7 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002446/0.3898, allocations: 59.88 kB / 420.7 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/0.3901, allocations: 71.09 kB / 420.8 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002112/0.3923, allocations: 2.887 MB / 423.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002464/0.3925, allocations: 23.88 kB / 423.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.3925, allocations: 16.06 kB / 423.7 MB, free: 11.64 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.000139/0.3927, allocations: 158.2 kB / 423.9 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.609e-05/0.3928, allocations: 31.62 kB / 423.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.755e-05/0.3928, allocations: 34.17 kB / 423.9 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3928, allocations: 4 kB / 423.9 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3928, allocations: 0 / 423.9 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005616/0.3934, allocations: 0.5667 MB / 424.5 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009137/0.3943, allocations: 0.7011 MB / 425.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.3943, allocations: 0 / 425.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.3945, allocations: 44.83 kB / 425.3 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002197/0.3948, allocations: 50.64 kB / 425.3 MB, free: 9.93 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.3948, allocations: 7.984 kB / 425.3 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001012/0.3958, allocations: 1.496 MB / 426.8 MB, free: 8.301 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3958, allocations: 3.984 kB / 426.8 MB, free: 8.297 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006658/0.3965, allocations: 478.2 kB / 427.3 MB, free: 7.812 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.835e-05/0.3966, allocations: 102 kB / 427.4 MB, free: 7.695 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.006e-05/0.3966, allocations: 8 kB / 427.4 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.3969, allocations: 15.98 kB / 427.4 MB, free: 7.672 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.3969, allocations: 16.05 kB / 427.4 MB, free: 7.656 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.3969, allocations: 15.92 kB / 427.4 MB, free: 7.641 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000154/0.3971, allocations: 182 kB / 427.6 MB, free: 7.465 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3971, allocations: 0 / 427.6 MB, free: 7.465 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003724/0.3975, allocations: 92 kB / 427.7 MB, free: 7.375 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.0009178/0.3984, allocations: 1.005 MB / 428.7 MB, free: 6.344 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007702/0.3992, allocations: 494.6 kB / 429.2 MB, free: 5.848 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3992, allocations: 1.094 kB / 429.2 MB, free: 5.848 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003373/0.3995, allocations: 233.4 kB / 429.4 MB, free: 5.613 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008513/0.4004, allocations: 159.5 kB / 429.6 MB, free: 5.477 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003952/0.4044, allocations: 3.256 MB / 432.8 MB, free: 2.125 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.4047, allocations: 0.7645 MB / 433.6 MB, free: 1.336 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002907/0.405, allocations: 54.92 kB / 433.7 MB, free: 1.285 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.4051, allocations: 79.42 kB / 433.7 MB, free: 1.211 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4052, allocations: 4 kB / 433.7 MB, free: 1.207 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3848/0.79, allocations: 8.531 MB / 442.3 MB, free: 8.672 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003388/0.7904, allocations: 269 kB / 442.5 MB, free: 8.309 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.25/3.041, allocations: 3.938 kB / 442.5 MB, free: 8.305 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.mat","/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","../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