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.001271/0.001271, allocations: 114.5 kB / 18.45 MB, free: 4.625 MB / 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.00141/0.00141, allocations: 212.3 kB / 21.41 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.548/1.548, allocations: 207.6 MB / 231.8 MB, free: 4.184 MB / 174.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.001829/0.001829, allocations: 51.94 kB / 342.3 MB, free: 9.992 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.113, allocations: 49.13 MB / 391.5 MB, free: 8.699 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.0506/0.1636, allocations: 39.44 MB / 430.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003347/0.1669, allocations: 2.043 MB / 432.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001912/0.1671, allocations: 7.938 kB / 432.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007429/0.1679, allocations: 170.9 kB / 433.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006577/0.1685, allocations: 318.2 kB / 433.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007579/0.1693, allocations: 291.3 kB / 433.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001008/0.1703, allocations: 0.8368 MB / 434.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002004/0.1705, allocations: 72.7 kB / 434.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3301/0.5006, allocations: 44.2 MB / 478.8 MB, free: 24.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007435/0.5013, allocations: 284 kB / 479.1 MB, free: 24.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.5014, allocations: 29.31 kB / 479.1 MB, free: 24.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00018/0.5016, allocations: 36.44 kB / 479.2 MB, free: 24.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.5017, allocations: 98 kB / 479.2 MB, free: 24.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002504/0.502, allocations: 179 kB / 479.4 MB, free: 24.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005745/0.5026, allocations: 436.4 kB / 479.8 MB, free: 24.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.5026, allocations: 4 kB / 479.9 MB, free: 24.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.5026, allocations: 3.75 kB / 479.9 MB, free: 24.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.5026, allocations: 2.078 kB / 479.9 MB, free: 24.93 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.0009463/0.5035, allocations: 0.5879 MB / 480.4 MB, free: 24.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.5036, allocations: 14.84 kB / 480.5 MB, free: 24.48 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.853e-05/0.5036, allocations: 62.56 kB / 480.5 MB, free: 24.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002881/0.5039, allocations: 44.19 kB / 480.6 MB, free: 24.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004196/0.5043, allocations: 277.6 kB / 480.8 MB, free: 24.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.5044, allocations: 19.69 kB / 480.9 MB, free: 24.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.512e-05/0.5044, allocations: 22.34 kB / 480.9 MB, free: 24.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004492/0.5049, allocations: 312.3 kB / 481.2 MB, free: 24.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.5049, allocations: 6.844 kB / 481.2 MB, free: 24.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.287e-05/0.5049, allocations: 10.03 kB / 481.2 MB, free: 24.1 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.5049, allocations: 8.094 kB / 481.2 MB, free: 24.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000301/0.5052, allocations: 194.7 kB / 481.4 MB, free: 24.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001452/0.5067, allocations: 1.436 MB / 482.8 MB, free: 23.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002972/0.507, allocations: 172.5 kB / 483 MB, free: 23.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.5071, allocations: 89.75 kB / 483.1 MB, free: 23.03 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.5071, allocations: 3.625 kB / 483.1 MB, free: 23.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.5071, allocations: 34.38 kB / 483.1 MB, free: 22.99 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.543e-06/0.5071, allocations: 0 / 483.1 MB, free: 22.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.002505/0.5096, allocations: 1.007 MB / 484.1 MB, free: 22.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.5097, allocations: 58.16 kB / 484.2 MB, free: 22.49 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.5099, allocations: 255.5 kB / 484.4 MB, free: 22.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.51, allocations: 32.27 kB / 484.5 MB, free: 22.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.694e-05/0.5101, allocations: 180.5 kB / 484.6 MB, free: 22.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.4e-05/0.5101, allocations: 106.1 kB / 484.8 MB, free: 22.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.53e-05/0.5102, allocations: 62.05 kB / 484.8 MB, free: 22.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.798e-05/0.5103, allocations: 336.6 kB / 485.1 MB, free: 21.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.5104, allocations: 85.52 kB / 485.2 MB, free: 21.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.5106, allocations: 180.1 kB / 485.4 MB, free: 21.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003221/0.5109, allocations: 280.3 kB / 485.7 MB, free: 21.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.5109, allocations: 5.25 kB / 485.7 MB, free: 21.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006024/0.5115, allocations: 387.1 kB / 486.1 MB, free: 21.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.5115, allocations: 5.938 kB / 486.1 MB, free: 21.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.5115, allocations: 2.031 kB / 486.1 MB, free: 21.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002434/0.5118, allocations: 70.39 kB / 486.1 MB, free: 21.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002777/0.5121, allocations: 63.86 kB / 486.2 MB, free: 21.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001628/0.5137, allocations: 2.887 MB / 489.1 MB, free: 18.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002265/0.5139, allocations: 14.03 kB / 489.1 MB, free: 18.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.5139, allocations: 15.62 kB / 489.1 MB, free: 18.82 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.0001445/0.5141, allocations: 155.4 kB / 489.3 MB, free: 18.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.66e-05/0.5141, allocations: 32.3 kB / 489.3 MB, free: 18.69 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.411e-05/0.5142, allocations: 38.02 kB / 489.3 MB, free: 18.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.5142, allocations: 3.156 kB / 489.3 MB, free: 18.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.5142, allocations: 0 / 489.3 MB, free: 18.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004932/0.5147, allocations: 0.562 MB / 489.9 MB, free: 18.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009128/0.5156, allocations: 0.7092 MB / 490.6 MB, free: 17.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.5156, allocations: 0 / 490.6 MB, free: 17.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.5158, allocations: 44.56 kB / 490.6 MB, free: 17.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002136/0.516, allocations: 47.78 kB / 490.7 MB, free: 17.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.5161, allocations: 10.38 kB / 490.7 MB, free: 17.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008436/0.5169, allocations: 1.492 MB / 492.2 MB, free: 16.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.5169, allocations: 0 / 492.2 MB, free: 16.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005944/0.5175, allocations: 470.8 kB / 492.7 MB, free: 16.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.95e-05/0.5176, allocations: 106.9 kB / 492.8 MB, free: 16.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.5176, allocations: 7.438 kB / 492.8 MB, free: 16.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.5178, allocations: 6.469 kB / 492.8 MB, free: 16.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.5178, allocations: 19.61 kB / 492.8 MB, free: 16.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.5178, allocations: 16.98 kB / 492.8 MB, free: 16.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001452/0.518, allocations: 185.7 kB / 493 MB, free: 16.17 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.518, allocations: 0 / 493 MB, free: 16.17 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004066/0.5184, allocations: 86.59 kB / 493.1 MB, free: 16.17 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.0007813/0.5192, allocations: 0.9998 MB / 494.1 MB, free: 15.47 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007041/0.5199, allocations: 469.5 kB / 494.5 MB, free: 15.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5199, allocations: 3.5 kB / 494.5 MB, free: 15.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003412/0.5202, allocations: 232.6 kB / 494.8 MB, free: 15.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000859/0.5211, allocations: 161.1 kB / 494.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003246/0.5243, allocations: 3.15 MB / 498.1 MB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000183/0.5245, allocations: 0.7649 MB / 498.8 MB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002347/0.5248, allocations: 52.77 kB / 498.9 MB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.5249, allocations: 86.55 kB / 499 MB, free: 12.69 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.5249, allocations: 4 kB / 499 MB, free: 12.69 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03945/0.5643, allocations: 8.824 MB / 0.4959 GB, free: 7.875 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/12.8, allocations: 8.062 kB / 0.4959 GB, free: 7.867 MB / 382.1 MB " [Timeout remaining time 647] (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: 15.480725166009506]