Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.0009891/0.0009891, allocations: 83.69 kB / 20.67 MB, free: 3.891 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.001523/0.001523, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.928/0.928, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2263/0.2263, allocations: 34.25 MB / 294.9 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.LinearColdWater,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 442.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.784e-05/1.921e-05, allocations: 2.281 kB / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.1768/0.1768, allocations: 18.56 MB / 460.8 MB, free: 32.96 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003694/0.1805, allocations: 3.995 MB / 464.8 MB, free: 30.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005724/0.1811, allocations: 25.5 kB / 464.8 MB, free: 30.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006807/0.1818, allocations: 305.6 kB / 465.1 MB, free: 30.11 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00124/0.183, allocations: 0.9143 MB / 466 MB, free: 29.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001552/0.1846, allocations: 0.9454 MB / 466.9 MB, free: 29.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001148/0.1857, allocations: 1.826 MB / 468.8 MB, free: 28.28 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004131/0.1861, allocations: 404.5 kB / 469.2 MB, free: 28.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001123/0.1872, allocations: 1.175 MB / 470.3 MB, free: 27.6 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005219/0.1878, allocations: 0.6157 MB / 470.9 MB, free: 27.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.702e-05/0.1878, allocations: 59.06 kB / 471 MB, free: 27.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004522/0.1883, allocations: 288.8 kB / 471.3 MB, free: 27.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.1884, allocations: 278.4 kB / 471.6 MB, free: 27.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.1886, allocations: 279.8 kB / 471.8 MB, free: 27.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007633/0.1894, allocations: 1.119 MB / 472.9 MB, free: 26.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1894, allocations: 0 / 472.9 MB, free: 26.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1894, allocations: 0 / 472.9 MB, free: 26.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.1894, allocations: 0 / 472.9 MB, free: 26.73 MB / 410.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.001242/0.1906, allocations: 0.9831 MB / 473.9 MB, free: 26.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.1907, allocations: 10.09 kB / 473.9 MB, free: 26.08 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.342e-05/0.1907, allocations: 102.8 kB / 474 MB, free: 26.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001888/0.1909, allocations: 93.69 kB / 474.1 MB, free: 25.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004709/0.1914, allocations: 473.2 kB / 474.6 MB, free: 25.67 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.605e-05/0.1915, allocations: 156.6 kB / 474.7 MB, free: 25.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.842e-05/0.1915, allocations: 52.88 kB / 474.8 MB, free: 25.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007017/0.1922, allocations: 1.077 MB / 475.9 MB, free: 24.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.1922, allocations: 3.219 kB / 475.9 MB, free: 24.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.1923, allocations: 21.23 kB / 475.9 MB, free: 24.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.603e-05/0.1923, allocations: 41.78 kB / 475.9 MB, free: 24.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005955/0.1929, allocations: 0.6492 MB / 476.6 MB, free: 24.48 MB / 410.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.002182/0.1951, allocations: 3.397 MB / 480 MB, free: 21.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005127/0.1956, allocations: 404.7 kB / 480.4 MB, free: 21.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.1958, allocations: 200.6 kB / 480.6 MB, free: 21.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001638/0.1959, allocations: 55.12 kB / 480.6 MB, free: 21.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.196, allocations: 42.11 kB / 480.7 MB, free: 21.65 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.763e-06/0.196, allocations: 0 / 480.7 MB, free: 21.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.001863/0.1978, allocations: 1.457 MB / 482.1 MB, free: 20.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.1979, allocations: 134.5 kB / 482.3 MB, free: 20.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004153/0.1983, allocations: 0.5886 MB / 482.9 MB, free: 20.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.1983, allocations: 38.92 kB / 482.9 MB, free: 20.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.1985, allocations: 359.2 kB / 483.2 MB, free: 20.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.23e-05/0.1985, allocations: 172.5 kB / 483.4 MB, free: 20.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.1987, allocations: 140.4 kB / 483.5 MB, free: 19.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.381e-05/0.1987, allocations: 368.8 kB / 483.9 MB, free: 19.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000221/0.1989, allocations: 228.9 kB / 484.1 MB, free: 19.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002995/0.1992, allocations: 0.5961 MB / 484.7 MB, free: 18.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005504/0.1998, allocations: 0.7768 MB / 485.5 MB, free: 18.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1998, allocations: 7.125 kB / 485.5 MB, free: 18.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001027/0.2008, allocations: 0.9378 MB / 486.4 MB, free: 17.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.2008, allocations: 9.281 kB / 486.5 MB, free: 17.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.2008, allocations: 12.25 kB / 486.5 MB, free: 17.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006557/0.2015, allocations: 258.2 kB / 486.7 MB, free: 17.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.2017, allocations: 125.9 kB / 486.8 MB, free: 17.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005849/0.2023, allocations: 0.8597 MB / 487.7 MB, free: 17.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002877/0.2026, allocations: 35.34 kB / 487.7 MB, free: 17.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.702e-05/0.2026, allocations: 34.27 kB / 487.8 MB, free: 17.23 MB / 410.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.0002167/0.2029, allocations: 248 kB / 488 MB, free: 17.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.869e-05/0.2029, allocations: 69.23 kB / 488.1 MB, free: 17.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008562/0.2038, allocations: 0.7122 MB / 488.8 MB, free: 16.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.2038, allocations: 13.28 kB / 488.8 MB, free: 16.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.2038, allocations: 0 / 488.8 MB, free: 16.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.2038, allocations: 0 / 488.8 MB, free: 16.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/0.2052, allocations: 1.303 MB / 490.1 MB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.2052, allocations: 4.375 kB / 490.1 MB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005105/0.2057, allocations: 196.7 kB / 490.3 MB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000141/0.2058, allocations: 58.36 kB / 490.4 MB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.2059, allocations: 17.38 kB / 490.4 MB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001292/0.2072, allocations: 2.77 MB / 493.1 MB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.2072, allocations: 2.688 kB / 493.2 MB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.2082, allocations: 1.01 MB / 494.2 MB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002161/0.2084, allocations: 127.7 kB / 494.3 MB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.061e-05/0.2084, allocations: 14.12 kB / 494.3 MB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.2086, allocations: 13.38 kB / 494.3 MB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.138e-05/0.2087, allocations: 39.66 kB / 494.4 MB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.2087, allocations: 20.48 kB / 494.4 MB, free: 12.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000403/0.2091, allocations: 420.6 kB / 494.8 MB, free: 12.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2091, allocations: 1.688 kB / 494.8 MB, free: 12.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006442/0.2098, allocations: 208.9 kB / 495 MB, free: 12.37 MB / 410.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.001295/0.2111, allocations: 1.671 MB / 496.7 MB, free: 11.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008602/0.2119, allocations: 0.5807 MB / 497.2 MB, free: 11.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.212, allocations: 1.656 kB / 497.2 MB, free: 11.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006624/0.2126, allocations: 470.7 kB / 497.7 MB, free: 10.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009457/0.2136, allocations: 374.5 kB / 498.1 MB, free: 10.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006086/0.2196, allocations: 6.474 MB / 0.4927 GB, free: 6.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.2199, allocations: 344.3 kB / 0.493 GB, free: 6.809 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005405/0.2204, allocations: 207.4 kB / 0.4932 GB, free: 6.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/0.2207, allocations: 230.9 kB / 0.4935 GB, free: 6.609 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/0.2207, allocations: 0 / 0.4935 GB, free: 6.609 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04522/0.2659, allocations: 23.66 MB / 0.5166 GB, free: 9.195 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.687/8.953, allocations: 4.062 kB / 0.5166 GB, free: 9.191 MB / 426.7 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_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_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.csv. Warning: Get data of variable Time from file ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.074589803814888]