Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.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.001241/0.001241, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.001321/0.001321, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9468/0.9468, allocations: 158.6 MB / 185 MB, free: 3.023 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1389/0.1389, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 406.9 MB, free: 2.223 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.858e-05/2.022e-05, allocations: 10.02 kB / 406.9 MB, free: 2.215 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.0286/0.02862, allocations: 39.53 MB / 446.4 MB, free: 10.54 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004096/0.03272, allocations: 4.07 MB / 450.5 MB, free: 6.457 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003922/0.03311, allocations: 27.75 kB / 450.5 MB, free: 6.43 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006834/0.0338, allocations: 305.9 kB / 450.8 MB, free: 6.129 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001296/0.03509, allocations: 0.9048 MB / 451.7 MB, free: 5.219 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001706/0.0368, allocations: 0.9658 MB / 452.7 MB, free: 4.25 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001525/0.03832, allocations: 1.832 MB / 454.5 MB, free: 2.41 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005486/0.03887, allocations: 385.5 kB / 454.9 MB, free: 2.031 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2539/0.2928, allocations: 44.51 MB / 499.4 MB, free: 50.23 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0108/0.3036, allocations: 7.895 MB / 0.4954 GB, free: 47.91 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002338/0.3038, allocations: 59.94 kB / 0.4954 GB, free: 47.91 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01295/0.3168, allocations: 10.58 MB / 0.5058 GB, free: 44.54 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006041/0.3174, allocations: 280.6 kB / 0.506 GB, free: 44.46 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004751/0.3178, allocations: 280 kB / 0.5063 GB, free: 44.4 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001445/0.3193, allocations: 1.13 MB / 0.5074 GB, free: 44.16 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3193, allocations: 1.438 kB / 0.5074 GB, free: 44.16 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3193, allocations: 0 / 0.5074 GB, free: 44.16 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.3193, allocations: 0 / 0.5074 GB, free: 44.16 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00153/0.3208, allocations: 0.9844 MB / 0.5084 GB, free: 43.54 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.3209, allocations: 9.625 kB / 0.5084 GB, free: 43.54 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.579e-05/0.321, allocations: 100.4 kB / 0.5085 GB, free: 43.47 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002367/0.3212, allocations: 92.23 kB / 0.5086 GB, free: 43.43 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000572/0.3218, allocations: 478 kB / 0.509 GB, free: 43.16 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/0.3219, allocations: 159.6 kB / 0.5092 GB, free: 43.02 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.706e-05/0.322, allocations: 47.91 kB / 0.5092 GB, free: 43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009739/0.3229, allocations: 1.101 MB / 0.5103 GB, free: 42.23 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.3229, allocations: 5.484 kB / 0.5103 GB, free: 42.23 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.78e-05/0.323, allocations: 28.2 kB / 0.5103 GB, free: 42.21 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.868e-05/0.3231, allocations: 40.44 kB / 0.5104 GB, free: 42.21 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007504/0.3238, allocations: 0.6459 MB / 0.511 GB, free: 42 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002692/0.3265, allocations: 3.407 MB / 0.5143 GB, free: 39.52 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005443/0.327, allocations: 397.4 kB / 0.5147 GB, free: 39.36 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.3272, allocations: 193.3 kB / 0.5149 GB, free: 39.28 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002104/0.3275, allocations: 54.69 kB / 0.5149 GB, free: 39.27 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.3275, allocations: 37.42 kB / 0.515 GB, free: 39.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=40): time 3.977e-06/0.3275, allocations: 2.156 kB / 0.515 GB, free: 39.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=45): time 0.002048/0.3295, allocations: 1.458 MB / 0.5164 GB, free: 38.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.3296, allocations: 138.7 kB / 0.5165 GB, free: 38.34 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004397/0.33, allocations: 0.5882 MB / 0.5171 GB, free: 38.07 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.33, allocations: 33.7 kB / 0.5171 GB, free: 38.04 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.3302, allocations: 363.9 kB / 0.5175 GB, free: 37.74 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.586e-05/0.3302, allocations: 175.2 kB / 0.5177 GB, free: 37.61 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.3304, allocations: 131 kB / 0.5178 GB, free: 37.54 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.254e-05/0.3304, allocations: 375.3 kB / 0.5181 GB, free: 37.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.3306, allocations: 222.8 kB / 0.5184 GB, free: 37.13 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000314/0.331, allocations: 0.5907 MB / 0.5189 GB, free: 36.59 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005705/0.3315, allocations: 0.7773 MB / 0.5197 GB, free: 36.03 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.3315, allocations: 9.422 kB / 0.5197 GB, free: 36.03 MB / 442.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009989/0.3325, allocations: 0.946 MB / 0.5206 GB, free: 35.68 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.3326, allocations: 7.781 kB / 0.5206 GB, free: 35.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.3326, allocations: 10.94 kB / 0.5206 GB, free: 35.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005933/0.3332, allocations: 261.3 kB / 0.5209 GB, free: 35.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.3334, allocations: 125.9 kB / 0.521 GB, free: 35.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005144/0.3339, allocations: 0.8575 MB / 0.5218 GB, free: 34.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000309/0.3342, allocations: 35.23 kB / 0.5219 GB, free: 34.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.169e-05/0.3342, allocations: 40.56 kB / 0.5219 GB, free: 34.95 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002227/0.3345, allocations: 247.1 kB / 0.5222 GB, free: 34.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.431e-05/0.3345, allocations: 70.08 kB / 0.5222 GB, free: 34.74 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008026/0.3353, allocations: 0.7103 MB / 0.5229 GB, free: 34.42 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.3354, allocations: 2.938 kB / 0.5229 GB, free: 34.42 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.3354, allocations: 6.781 kB / 0.5229 GB, free: 34.42 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.3354, allocations: 4.359 kB / 0.5229 GB, free: 34.42 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001309/0.3367, allocations: 1.295 MB / 0.5242 GB, free: 33.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.3367, allocations: 2.75 kB / 0.5242 GB, free: 33.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004932/0.3372, allocations: 193.1 kB / 0.5244 GB, free: 33.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001458/0.3373, allocations: 55.47 kB / 0.5244 GB, free: 33.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.3373, allocations: 15.94 kB / 0.5244 GB, free: 33.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/0.3385, allocations: 2.782 MB / 0.5272 GB, free: 31.02 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3385, allocations: 2.484 kB / 0.5272 GB, free: 31.02 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009009/0.3394, allocations: 1.011 MB / 0.5282 GB, free: 30.48 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001953/0.3396, allocations: 122 kB / 0.5283 GB, free: 30.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.964e-05/0.3396, allocations: 14.92 kB / 0.5283 GB, free: 30.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.3398, allocations: 12.31 kB / 0.5283 GB, free: 30.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.018e-05/0.3399, allocations: 48.64 kB / 0.5283 GB, free: 30.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/0.34, allocations: 21.52 kB / 0.5284 GB, free: 30.39 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003681/0.3403, allocations: 419.5 kB / 0.5288 GB, free: 30.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3403, allocations: 0 / 0.5288 GB, free: 30.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000664/0.341, allocations: 207.4 kB / 0.529 GB, free: 30.17 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.001436/0.3424, allocations: 1.679 MB / 0.5306 GB, free: 29.07 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.3435, allocations: 0.5841 MB / 0.5312 GB, free: 28.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.3435, allocations: 1.5 kB / 0.5312 GB, free: 28.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009041/0.3444, allocations: 485.2 kB / 0.5316 GB, free: 28.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.3457, allocations: 370.8 kB / 0.532 GB, free: 28.61 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006224/0.352, allocations: 6.47 MB / 0.5383 GB, free: 24.56 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000198/0.3522, allocations: 344.2 kB / 0.5386 GB, free: 24.29 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005206/0.3527, allocations: 205.9 kB / 0.5388 GB, free: 24.17 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002173/0.3529, allocations: 237.2 kB / 0.5391 GB, free: 23.96 MB / 442.7 MB Notification: Performance of SimCode: time 1.563e-06/0.3529, allocations: 0 / 0.5391 GB, free: 23.96 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03526/0.3882, allocations: 23.71 MB / 0.5622 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.539/8.928, allocations: 8 kB / 0.5622 GB, free: 0.6914 MB / 442.7 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.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 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.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: 11.153832425363362]