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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001955/0.001955, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00224/0.00224, allocations: 212 kB / 24.47 MB, free: 3.547 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.468/1.468, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 55.92 kB / 347.2 MB, free: 9.852 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2795, allocations: 49.16 MB / 396.4 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04266/0.3222, allocations: 35.39 MB / 431.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002943/0.3251, allocations: 1.899 MB / 433.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001739/0.3253, allocations: 11.88 kB / 433.7 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005958/0.3259, allocations: 167 kB / 433.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006606/0.3266, allocations: 318.2 kB / 434.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007088/0.3273, allocations: 291.3 kB / 434.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009578/0.3282, allocations: 0.8524 MB / 435.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.3284, allocations: 68.89 kB / 435.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1012/0.4296, allocations: 43.7 MB / 479.1 MB, free: 15.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006915/0.4303, allocations: 278.9 kB / 479.3 MB, free: 15.63 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.072e-05/0.4303, allocations: 28 kB / 479.4 MB, free: 15.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001754/0.4305, allocations: 40 kB / 479.4 MB, free: 15.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.4307, allocations: 99.64 kB / 479.5 MB, free: 15.47 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002029/0.4309, allocations: 151.4 kB / 479.7 MB, free: 15.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006377/0.4315, allocations: 446.4 kB / 480.1 MB, free: 14.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.4315, allocations: 4 kB / 480.1 MB, free: 14.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.4315, allocations: 0 / 480.1 MB, free: 14.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.4315, allocations: 0 / 480.1 MB, free: 14.88 MB / 398.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.001049/0.4326, allocations: 0.5092 MB / 480.6 MB, free: 14.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.4326, allocations: 19.98 kB / 480.6 MB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.201e-05/0.4327, allocations: 58.73 kB / 480.7 MB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002818/0.433, allocations: 44.73 kB / 480.7 MB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00043/0.4334, allocations: 221.9 kB / 480.9 MB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.4335, allocations: 16.88 kB / 481 MB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.816e-05/0.4335, allocations: 28.12 kB / 481 MB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006086/0.4341, allocations: 461.1 kB / 481.4 MB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.4341, allocations: 4 kB / 481.4 MB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.112e-05/0.4342, allocations: 12 kB / 481.4 MB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.4342, allocations: 8 kB / 481.5 MB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003315/0.4345, allocations: 193.6 kB / 481.6 MB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001802/0.4363, allocations: 1.171 MB / 482.8 MB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003295/0.4366, allocations: 162.6 kB / 483 MB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.4368, allocations: 92.8 kB / 483.1 MB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.4368, allocations: 4 kB / 483.1 MB, free: 11.69 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/0.4369, allocations: 30.56 kB / 483.1 MB, free: 11.65 MB / 398.1 MB Notification: Performance of pre-optimization done (n=21): time 1.473e-06/0.4369, allocations: 0 / 483.1 MB, free: 11.65 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.002526/0.4394, allocations: 0.8574 MB / 484 MB, free: 10.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.4394, allocations: 59.39 kB / 484 MB, free: 10.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003104/0.4397, allocations: 261.8 kB / 484.3 MB, free: 10.42 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.78e-05/0.4398, allocations: 33.7 kB / 484.3 MB, free: 10.38 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.4399, allocations: 172.6 kB / 484.5 MB, free: 10.21 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.015e-05/0.44, allocations: 103.1 kB / 484.6 MB, free: 10.11 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.4401, allocations: 65.66 kB / 484.6 MB, free: 10.04 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.4403, allocations: 338.8 kB / 485 MB, free: 9.695 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.4405, allocations: 87.97 kB / 485.1 MB, free: 9.609 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000245/0.4407, allocations: 174.9 kB / 485.2 MB, free: 9.398 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000434/0.4411, allocations: 290.9 kB / 485.5 MB, free: 9.074 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4411, allocations: 0 / 485.5 MB, free: 9.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007239/0.4419, allocations: 387.2 kB / 485.9 MB, free: 8.684 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.4419, allocations: 4 kB / 485.9 MB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.4419, allocations: 4 kB / 485.9 MB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000262/0.4422, allocations: 61.67 kB / 486 MB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003093/0.4425, allocations: 71.78 kB / 486 MB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00277/0.4452, allocations: 2.668 MB / 488.7 MB, free: 5.641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002528/0.4455, allocations: 12.03 kB / 488.7 MB, free: 5.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.4455, allocations: 12 kB / 488.7 MB, free: 5.617 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.0002067/0.4457, allocations: 165.8 kB / 488.9 MB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.354e-05/0.4458, allocations: 31.81 kB / 488.9 MB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.074e-05/0.4459, allocations: 34.27 kB / 488.9 MB, free: 5.375 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4459, allocations: 4 kB / 488.9 MB, free: 5.371 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.4459, allocations: 3.938 kB / 489 MB, free: 5.367 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006939/0.4466, allocations: 0.5592 MB / 489.5 MB, free: 4.719 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.4477, allocations: 0.6279 MB / 490.1 MB, free: 4.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.4477, allocations: 11.97 kB / 490.2 MB, free: 4.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002027/0.4479, allocations: 47.92 kB / 490.2 MB, free: 3.977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002224/0.4481, allocations: 48.78 kB / 490.2 MB, free: 3.926 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.4481, allocations: 4 kB / 490.2 MB, free: 3.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/0.4495, allocations: 1.389 MB / 491.6 MB, free: 2.422 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.4495, allocations: 0 / 491.6 MB, free: 2.422 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007702/0.4503, allocations: 474.1 kB / 492.1 MB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.42e-05/0.4503, allocations: 23.88 kB / 492.1 MB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.07e-05/0.4504, allocations: 4 kB / 492.1 MB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.4506, allocations: 8 kB / 492.1 MB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.4506, allocations: 19.91 kB / 492.2 MB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.4506, allocations: 11.98 kB / 492.2 MB, free: 1.871 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001995/0.4508, allocations: 189.3 kB / 492.4 MB, free: 1.688 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4508, allocations: 0 / 492.4 MB, free: 1.688 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004098/0.4512, allocations: 84 kB / 492.4 MB, free: 1.605 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.001109/0.4524, allocations: 0.9991 MB / 493.4 MB, free: 0.5742 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008447/0.4532, allocations: 477.8 kB / 493.9 MB, free: 84 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4532, allocations: 0 / 493.9 MB, free: 84 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004227/0.4536, allocations: 222.6 kB / 494.1 MB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009082/0.4545, allocations: 157.6 kB / 494.3 MB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004371/0.4589, allocations: 3.145 MB / 497.4 MB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001722/0.4591, allocations: 159.8 kB / 497.6 MB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002609/0.4593, allocations: 62.8 kB / 497.6 MB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.4595, allocations: 83.41 kB / 497.7 MB, free: 12.06 MB / 414.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4595, allocations: 0 / 497.7 MB, free: 12.06 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04853/0.508, allocations: 9.859 MB / 0.4957 GB, free: 2.121 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/13.83, allocations: 19.89 kB / 0.4957 GB, free: 2.102 MB / 414.1 MB " [Timeout remaining time 646] (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.000201919 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.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.403855039272457]