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.001936/0.001936, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.0023/0.0023, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.349/1.349, allocations: 207.6 MB / 235.3 MB, free: 10.01 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.001837/0.001837, allocations: 52.2 kB / 347.2 MB, free: 10 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.272, allocations: 49.16 MB / 396.4 MB, free: 9.191 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04941/0.3215, allocations: 39.69 MB / 436.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003009/0.3245, allocations: 2.07 MB / 438.1 MB, free: 9.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000227/0.3247, allocations: 8.25 kB / 438.1 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006246/0.3253, allocations: 169.8 kB / 438.3 MB, free: 9.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007151/0.326, allocations: 320.2 kB / 438.6 MB, free: 9.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007183/0.3267, allocations: 292.8 kB / 438.9 MB, free: 8.801 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001015/0.3278, allocations: 0.8524 MB / 439.8 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/0.328, allocations: 72.88 kB / 439.8 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1025/0.4305, allocations: 43.78 MB / 483.6 MB, free: 11.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007282/0.4312, allocations: 282.9 kB / 483.9 MB, free: 11.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.205e-05/0.4313, allocations: 32 kB / 483.9 MB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001725/0.4314, allocations: 43.98 kB / 484 MB, free: 11.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.4316, allocations: 91.66 kB / 484.1 MB, free: 11.22 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002467/0.4318, allocations: 183.3 kB / 484.2 MB, free: 11.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006252/0.4324, allocations: 438.4 kB / 484.7 MB, free: 10.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4325, allocations: 0 / 484.7 MB, free: 10.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.4325, allocations: 0 / 484.7 MB, free: 10.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.4325, allocations: 0 / 484.7 MB, free: 10.61 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.0009743/0.4334, allocations: 0.5131 MB / 485.2 MB, free: 10.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.4335, allocations: 11.98 kB / 485.2 MB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.461e-05/0.4336, allocations: 62.72 kB / 485.2 MB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002661/0.4338, allocations: 48.73 kB / 485.3 MB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003925/0.4342, allocations: 229.9 kB / 485.5 MB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.4342, allocations: 20.88 kB / 485.5 MB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.243e-05/0.4343, allocations: 28.12 kB / 485.6 MB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004854/0.4348, allocations: 298.9 kB / 485.9 MB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.4348, allocations: 11.98 kB / 485.9 MB, free: 9.309 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.93e-05/0.4348, allocations: 8 kB / 485.9 MB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.4348, allocations: 8 kB / 485.9 MB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003481/0.4352, allocations: 197.6 kB / 486.1 MB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/0.437, allocations: 1.405 MB / 487.5 MB, free: 7.582 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003475/0.4373, allocations: 166.6 kB / 487.6 MB, free: 7.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.4375, allocations: 80.78 kB / 487.7 MB, free: 7.328 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.4375, allocations: 7.984 kB / 487.7 MB, free: 7.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.4375, allocations: 38.56 kB / 487.8 MB, free: 7.273 MB / 398.1 MB Notification: Performance of pre-optimization done (n=21): time 1.403e-06/0.4375, allocations: 0 / 487.8 MB, free: 7.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.002526/0.4401, allocations: 0.8496 MB / 488.6 MB, free: 6.383 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.4401, allocations: 59.41 kB / 488.7 MB, free: 6.312 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.4404, allocations: 257.9 kB / 488.9 MB, free: 6.051 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.829e-05/0.4404, allocations: 29.7 kB / 489 MB, free: 6.016 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.4406, allocations: 184.5 kB / 489.1 MB, free: 5.832 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.695e-05/0.4407, allocations: 95.2 kB / 489.2 MB, free: 5.738 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.4408, allocations: 65.66 kB / 489.3 MB, free: 5.668 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.4409, allocations: 334.8 kB / 489.6 MB, free: 5.332 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.4411, allocations: 83.97 kB / 489.7 MB, free: 5.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/0.4414, allocations: 182.9 kB / 489.9 MB, free: 5.031 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004091/0.4418, allocations: 286.9 kB / 490.2 MB, free: 4.711 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.4418, allocations: 4 kB / 490.2 MB, free: 4.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007511/0.4425, allocations: 386.9 kB / 490.5 MB, free: 4.316 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.4425, allocations: 8 kB / 490.6 MB, free: 4.309 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.4426, allocations: 4 kB / 490.6 MB, free: 4.305 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002948/0.4428, allocations: 57.67 kB / 490.6 MB, free: 4.242 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003489/0.4432, allocations: 71.84 kB / 490.7 MB, free: 4.172 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002774/0.446, allocations: 2.683 MB / 493.4 MB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002483/0.4462, allocations: 8.031 kB / 493.4 MB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/0.4462, allocations: 16 kB / 493.4 MB, free: 1.234 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.0002165/0.4465, allocations: 149.8 kB / 493.5 MB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.578e-05/0.4465, allocations: 27.86 kB / 493.6 MB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.457e-05/0.4466, allocations: 30.28 kB / 493.6 MB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.4466, allocations: 4.062 kB / 493.6 MB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.4466, allocations: 11.92 kB / 493.6 MB, free: 1 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007373/0.4474, allocations: 0.5592 MB / 494.2 MB, free: 360 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.4485, allocations: 0.6629 MB / 494.8 MB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4485, allocations: 7.875 kB / 494.8 MB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002158/0.4487, allocations: 55.94 kB / 494.9 MB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002493/0.449, allocations: 52.92 kB / 494.9 MB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.449, allocations: 4 kB / 495 MB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001304/0.4503, allocations: 1.384 MB / 496.3 MB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4503, allocations: 0 / 496.3 MB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007718/0.4511, allocations: 481.8 kB / 496.8 MB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.676e-05/0.4511, allocations: 19.81 kB / 496.8 MB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.295e-05/0.4512, allocations: 11.98 kB / 496.8 MB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.4514, allocations: 8 kB / 496.8 MB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/0.4514, allocations: 15.91 kB / 496.9 MB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/0.4515, allocations: 15.98 kB / 496.9 MB, free: 13.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002107/0.4517, allocations: 181.3 kB / 497.1 MB, free: 13.28 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4517, allocations: 0 / 497.1 MB, free: 13.28 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004344/0.4521, allocations: 92 kB / 497.1 MB, free: 13.19 MB / 414.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.001134/0.4532, allocations: 1.015 MB / 498.2 MB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008536/0.4541, allocations: 453.9 kB / 498.6 MB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4541, allocations: 4 kB / 498.6 MB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004037/0.4545, allocations: 230.5 kB / 498.8 MB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009072/0.4554, allocations: 165.7 kB / 499 MB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004382/0.4598, allocations: 3.146 MB / 0.4904 GB, free: 7.957 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004407/0.4602, allocations: 0.7645 MB / 0.4911 GB, free: 7.168 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002538/0.4605, allocations: 58.91 kB / 0.4912 GB, free: 7.105 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.4606, allocations: 87.41 kB / 0.4913 GB, free: 7.02 MB / 414.1 MB Notification: Performance of SimCode: time 7.22e-07/0.4606, allocations: 0 / 0.4913 GB, free: 7.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04487/0.5055, allocations: 9.067 MB / 0.5001 GB, free: 13.89 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/13.58, allocations: 3.938 kB / 0.5001 GB, free: 13.89 MB / 430.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.054158414000995]