Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001022/0.001022, allocations: 79.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.001345/0.001345, 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.9503/0.9503, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2376/0.2376, allocations: 32.79 MB / 293.5 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.995e-06/2.995e-06, allocations: 3.984 kB / 439.6 MB, free: 4.238 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.913e-05/2.212e-05, allocations: 10.28 kB / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.1786/0.1786, allocations: 18.57 MB / 458.2 MB, free: 35.86 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003912/0.1825, allocations: 3.989 MB / 462.2 MB, free: 33.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005673/0.1831, allocations: 28.78 kB / 462.2 MB, free: 33.19 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007187/0.1838, allocations: 305.7 kB / 462.5 MB, free: 33.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001299/0.1851, allocations: 0.9083 MB / 463.4 MB, free: 32.49 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.1867, allocations: 0.9437 MB / 464.3 MB, free: 32.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001417/0.1882, allocations: 1.834 MB / 466.2 MB, free: 31.19 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003916/0.1885, allocations: 391 kB / 466.6 MB, free: 31.03 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001358/0.1899, allocations: 1.173 MB / 467.7 MB, free: 30.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005686/0.1905, allocations: 0.6326 MB / 468.4 MB, free: 30.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.736e-05/0.1905, allocations: 56.75 kB / 468.4 MB, free: 30.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005154/0.1911, allocations: 283.8 kB / 468.7 MB, free: 30.26 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.1912, allocations: 282.4 kB / 469 MB, free: 30.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001803/0.1914, allocations: 276.5 kB / 469.2 MB, free: 30.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007934/0.1922, allocations: 1.12 MB / 470.4 MB, free: 29.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.1922, allocations: 3.25 kB / 470.4 MB, free: 29.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1922, allocations: 4 kB / 470.4 MB, free: 29.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.1922, allocations: 0 / 470.4 MB, free: 29.64 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.001302/0.1935, allocations: 0.9871 MB / 471.4 MB, free: 28.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1935, allocations: 9.75 kB / 471.4 MB, free: 28.99 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.676e-05/0.1936, allocations: 95.7 kB / 471.5 MB, free: 28.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002096/0.1938, allocations: 88.69 kB / 471.5 MB, free: 28.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005216/0.1944, allocations: 483.6 kB / 472 MB, free: 28.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.373e-05/0.1944, allocations: 153.8 kB / 472.2 MB, free: 28.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.928e-05/0.1945, allocations: 52.55 kB / 472.2 MB, free: 28.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007534/0.1952, allocations: 1.073 MB / 473.3 MB, free: 27.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.1953, allocations: 0 / 473.3 MB, free: 27.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.372e-05/0.1953, allocations: 29.52 kB / 473.3 MB, free: 27.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-05/0.1953, allocations: 39.98 kB / 473.4 MB, free: 27.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006395/0.196, allocations: 0.643 MB / 474 MB, free: 27.4 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.002524/0.1985, allocations: 3.406 MB / 477.4 MB, free: 24.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005387/0.1991, allocations: 405.8 kB / 477.8 MB, free: 24.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.1992, allocations: 193.2 kB / 478 MB, free: 24.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001788/0.1994, allocations: 49.45 kB / 478 MB, free: 24.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.1994, allocations: 42.11 kB / 478.1 MB, free: 24.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.934e-06/0.1994, allocations: 0 / 478.1 MB, free: 24.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.001988/0.2014, allocations: 1.454 MB / 479.5 MB, free: 23.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.2015, allocations: 134.5 kB / 479.7 MB, free: 23.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004017/0.2019, allocations: 0.5841 MB / 480.3 MB, free: 23.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.2019, allocations: 36.55 kB / 480.3 MB, free: 23.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.202, allocations: 363.7 kB / 480.6 MB, free: 23.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.158e-05/0.2021, allocations: 167.7 kB / 480.8 MB, free: 22.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.2022, allocations: 141.4 kB / 480.9 MB, free: 22.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.344e-05/0.2023, allocations: 378.5 kB / 481.3 MB, free: 22.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/0.2025, allocations: 223.3 kB / 481.5 MB, free: 22.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003353/0.2028, allocations: 0.5958 MB / 482.1 MB, free: 21.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005664/0.2034, allocations: 0.7755 MB / 482.9 MB, free: 21.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2034, allocations: 2.969 kB / 482.9 MB, free: 21.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001035/0.2044, allocations: 0.9459 MB / 483.9 MB, free: 20.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.2045, allocations: 9.312 kB / 483.9 MB, free: 20.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.2045, allocations: 9.094 kB / 483.9 MB, free: 20.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006042/0.2051, allocations: 268.1 kB / 484.1 MB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.2053, allocations: 129.4 kB / 484.3 MB, free: 20.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005335/0.2058, allocations: 0.8579 MB / 485.1 MB, free: 20.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003311/0.2062, allocations: 36.34 kB / 485.2 MB, free: 20.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/0.2062, allocations: 30.69 kB / 485.2 MB, free: 20.14 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.0002468/0.2064, allocations: 252.3 kB / 485.4 MB, free: 19.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.326e-05/0.2065, allocations: 71.23 kB / 485.5 MB, free: 19.92 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008214/0.2073, allocations: 0.7121 MB / 486.2 MB, free: 19.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.2073, allocations: 6.188 kB / 486.2 MB, free: 19.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.2074, allocations: 0 / 486.2 MB, free: 19.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.2074, allocations: 3.562 kB / 486.2 MB, free: 19.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.2086, allocations: 1.303 MB / 487.5 MB, free: 18.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.2086, allocations: 0 / 487.5 MB, free: 18.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004833/0.2091, allocations: 192.3 kB / 487.7 MB, free: 18.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001421/0.2092, allocations: 62.66 kB / 487.8 MB, free: 18.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/0.2092, allocations: 21.33 kB / 487.8 MB, free: 18.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001129/0.2104, allocations: 2.768 MB / 490.6 MB, free: 16.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.2104, allocations: 2.75 kB / 490.6 MB, free: 16.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009637/0.2113, allocations: 1.005 MB / 491.6 MB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002023/0.2115, allocations: 127.1 kB / 491.7 MB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.047e-05/0.2116, allocations: 12.53 kB / 491.7 MB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.2118, allocations: 18.78 kB / 491.7 MB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.733e-05/0.2118, allocations: 37.36 kB / 491.8 MB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.027e-05/0.2119, allocations: 24.27 kB / 491.8 MB, free: 15.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003284/0.2122, allocations: 423.6 kB / 492.2 MB, free: 15.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2122, allocations: 1.875 kB / 492.2 MB, free: 15.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006284/0.2128, allocations: 204.2 kB / 492.4 MB, free: 15.28 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.001358/0.2142, allocations: 1.674 MB / 494.1 MB, free: 14.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000818/0.215, allocations: 0.5781 MB / 494.7 MB, free: 13.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.215, allocations: 0.9062 kB / 494.7 MB, free: 13.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006618/0.2157, allocations: 475.8 kB / 495.1 MB, free: 13.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009765/0.2167, allocations: 382.6 kB / 495.5 MB, free: 13.65 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006092/0.2227, allocations: 6.475 MB / 0.4902 GB, free: 9.836 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.223, allocations: 336.7 kB / 0.4905 GB, free: 9.723 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005434/0.2236, allocations: 210.6 kB / 0.4907 GB, free: 9.684 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/0.2238, allocations: 230.8 kB / 0.4909 GB, free: 9.523 MB / 410.7 MB Notification: Performance of SimCode: time 1.173e-06/0.2238, allocations: 0 / 0.4909 GB, free: 9.523 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03788/0.2617, allocations: 23.67 MB / 0.5141 GB, free: 13.22 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.586/8.848, allocations: 0 / 0.5141 GB, free: 13.22 MB / 426.7 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.01519032381475]