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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 122.3 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 190.9 kB / 21.39 MB, free: 1.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.356/1.356, allocations: 207.6 MB / 231.8 MB, free: 4.234 MB / 174.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "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.00162/0.00162, allocations: 55.92 kB / 342.3 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08288/0.0845, allocations: 49.11 MB / 391.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.0442/0.1287, allocations: 39.44 MB / 430.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002704/0.1314, allocations: 2.043 MB / 432.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001642/0.1316, allocations: 7.938 kB / 432.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005164/0.1321, allocations: 167 kB / 433.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005714/0.1327, allocations: 322.2 kB / 433.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006264/0.1333, allocations: 283.4 kB / 433.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008775/0.1342, allocations: 0.8446 MB / 434.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002038/0.1344, allocations: 72.7 kB / 434.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2566/0.391, allocations: 44.19 MB / 478.8 MB, free: 25.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000489/0.3915, allocations: 289.9 kB / 479 MB, free: 25.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.451e-05/0.3915, allocations: 30.62 kB / 479.1 MB, free: 25.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.3917, allocations: 38.75 kB / 479.1 MB, free: 25.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.504e-05/0.3917, allocations: 92.77 kB / 479.2 MB, free: 25.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.3919, allocations: 183.6 kB / 479.4 MB, free: 25.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003916/0.3923, allocations: 437.3 kB / 479.8 MB, free: 24.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3923, allocations: 0 / 479.8 MB, free: 24.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3923, allocations: 0 / 479.8 MB, free: 24.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.3923, allocations: 0 / 479.8 MB, free: 24.99 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.0007375/0.393, allocations: 0.5926 MB / 480.4 MB, free: 24.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.3931, allocations: 9.062 kB / 480.4 MB, free: 24.55 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.304e-05/0.3931, allocations: 62.7 kB / 480.5 MB, free: 24.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002353/0.3934, allocations: 37.75 kB / 480.5 MB, free: 24.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.3936, allocations: 292.5 kB / 480.8 MB, free: 24.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.3937, allocations: 18.84 kB / 480.8 MB, free: 24.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.057e-05/0.3937, allocations: 24.75 kB / 480.8 MB, free: 24.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000355/0.3941, allocations: 309.7 kB / 481.1 MB, free: 24.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.3941, allocations: 0 / 481.1 MB, free: 24.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.084e-05/0.3941, allocations: 15.08 kB / 481.1 MB, free: 24.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.3941, allocations: 6.25 kB / 481.2 MB, free: 24.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002539/0.3944, allocations: 199.4 kB / 481.3 MB, free: 24.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.3956, allocations: 1.438 MB / 482.8 MB, free: 23.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/0.3958, allocations: 170.9 kB / 483 MB, free: 23.1 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.3959, allocations: 81.75 kB / 483 MB, free: 23.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.396, allocations: 4.25 kB / 483 MB, free: 23.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.396, allocations: 36.16 kB / 483.1 MB, free: 23.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.413e-06/0.396, allocations: 4 kB / 483.1 MB, free: 23.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.002062/0.398, allocations: 1.003 MB / 484.1 MB, free: 22.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.075e-05/0.3981, allocations: 61.5 kB / 484.1 MB, free: 22.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.3983, allocations: 255.7 kB / 484.4 MB, free: 22.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.3983, allocations: 30.36 kB / 484.4 MB, free: 22.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.905e-05/0.3984, allocations: 183.2 kB / 484.6 MB, free: 22.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.356e-05/0.3984, allocations: 98.73 kB / 484.7 MB, free: 22.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.927e-05/0.3985, allocations: 59.77 kB / 484.8 MB, free: 22.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.177e-05/0.3985, allocations: 337.9 kB / 485.1 MB, free: 21.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.3987, allocations: 86.16 kB / 485.2 MB, free: 21.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.3988, allocations: 176.3 kB / 485.3 MB, free: 21.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002762/0.3991, allocations: 295.1 kB / 485.6 MB, free: 21.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3991, allocations: 3.938 kB / 485.6 MB, free: 21.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005453/0.3996, allocations: 382.3 kB / 486 MB, free: 21.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.3997, allocations: 6.875 kB / 486 MB, free: 21.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.3997, allocations: 4.391 kB / 486 MB, free: 21.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002138/0.3999, allocations: 64.39 kB / 486.1 MB, free: 21.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/0.4001, allocations: 65.58 kB / 486.1 MB, free: 21.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.4016, allocations: 2.891 MB / 489 MB, free: 18.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/0.4018, allocations: 11 kB / 489 MB, free: 18.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.4018, allocations: 15.25 kB / 489.1 MB, free: 18.88 MB / 382.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.000131/0.4019, allocations: 158.1 kB / 489.2 MB, free: 18.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.191e-05/0.402, allocations: 29.03 kB / 489.2 MB, free: 18.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.45e-05/0.402, allocations: 39.95 kB / 489.3 MB, free: 18.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.402, allocations: 2.812 kB / 489.3 MB, free: 18.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.402, allocations: 2.344 kB / 489.3 MB, free: 18.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004305/0.4025, allocations: 0.5644 MB / 489.8 MB, free: 18.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007901/0.4032, allocations: 0.6951 MB / 490.5 MB, free: 17.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4033, allocations: 4.031 kB / 490.5 MB, free: 17.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001799/0.4034, allocations: 44.89 kB / 490.6 MB, free: 17.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001928/0.4036, allocations: 49.77 kB / 490.6 MB, free: 17.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.4036, allocations: 13.41 kB / 490.7 MB, free: 17.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007387/0.4044, allocations: 1.482 MB / 492.1 MB, free: 16.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.4044, allocations: 6.062 kB / 492.1 MB, free: 16.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005243/0.4049, allocations: 481.2 kB / 492.6 MB, free: 16.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.101e-05/0.405, allocations: 96.95 kB / 492.7 MB, free: 16.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/0.405, allocations: 7.188 kB / 492.7 MB, free: 16.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.4052, allocations: 5.906 kB / 492.7 MB, free: 16.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.025e-05/0.4052, allocations: 19.78 kB / 492.7 MB, free: 16.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.4052, allocations: 19.7 kB / 492.8 MB, free: 16.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001278/0.4054, allocations: 184.8 kB / 492.9 MB, free: 16.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4054, allocations: 0 / 492.9 MB, free: 16.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003906/0.4057, allocations: 88.28 kB / 493 MB, free: 16.23 MB / 382.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.0006936/0.4064, allocations: 0.998 MB / 494 MB, free: 15.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006099/0.4071, allocations: 471.2 kB / 494.5 MB, free: 15.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.4071, allocations: 0 / 494.5 MB, free: 15.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002894/0.4073, allocations: 230 kB / 494.7 MB, free: 15.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007766/0.4081, allocations: 168.4 kB / 494.9 MB, free: 15.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002977/0.4111, allocations: 3.156 MB / 498 MB, free: 13.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001633/0.4113, allocations: 0.7586 MB / 498.8 MB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002247/0.4115, allocations: 53.03 kB / 498.8 MB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.4116, allocations: 88.67 kB / 498.9 MB, free: 12.75 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4116, allocations: 0 / 498.9 MB, free: 12.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03766/0.4493, allocations: 8.826 MB / 0.4958 GB, free: 7.949 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.39, allocations: 7.938 kB / 0.4959 GB, free: 7.941 MB / 382.1 MB " [Timeout remaining time 648] (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 --stepSize=0.000201919 --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) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.669855199754238]