Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001069/0.001069, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008821/0.0008821, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8734/0.8734, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2409/0.2409, allocations: 34.24 MB / 294.8 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 442.2 MB, free: 1.555 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.201e-05/1.324e-05, allocations: 4.672 kB / 442.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.1763/0.1763, allocations: 18.58 MB / 460.7 MB, free: 32.81 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002714/0.179, allocations: 3.982 MB / 464.7 MB, free: 30.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002465/0.1793, allocations: 28.78 kB / 464.8 MB, free: 30.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000497/0.1798, allocations: 310.8 kB / 465.1 MB, free: 29.97 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008725/0.1806, allocations: 0.9096 MB / 466 MB, free: 29.44 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009778/0.1816, allocations: 0.9482 MB / 466.9 MB, free: 28.97 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008451/0.1825, allocations: 1.828 MB / 468.7 MB, free: 28.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003191/0.1828, allocations: 402.5 kB / 469.1 MB, free: 27.97 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008631/0.1836, allocations: 1.171 MB / 470.3 MB, free: 27.47 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004331/0.1841, allocations: 0.6253 MB / 470.9 MB, free: 27.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.078e-05/0.1841, allocations: 61.12 kB / 471 MB, free: 27.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003112/0.1844, allocations: 282.2 kB / 471.3 MB, free: 27.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.1846, allocations: 281.1 kB / 471.5 MB, free: 27.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001572/0.1847, allocations: 277.9 kB / 471.8 MB, free: 26.97 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006295/0.1854, allocations: 1.123 MB / 472.9 MB, free: 26.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1854, allocations: 0 / 472.9 MB, free: 26.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1854, allocations: 3.219 kB / 472.9 MB, free: 26.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1854, allocations: 0 / 472.9 MB, free: 26.59 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.001108/0.1865, allocations: 0.9841 MB / 473.9 MB, free: 25.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.1865, allocations: 9.125 kB / 473.9 MB, free: 25.94 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.829e-05/0.1866, allocations: 95.25 kB / 474 MB, free: 25.87 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001723/0.1868, allocations: 89.91 kB / 474.1 MB, free: 25.83 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004618/0.1872, allocations: 476.4 kB / 474.6 MB, free: 25.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.795e-05/0.1873, allocations: 153.5 kB / 474.7 MB, free: 25.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.631e-05/0.1873, allocations: 55.8 kB / 474.8 MB, free: 25.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006728/0.188, allocations: 1.074 MB / 475.9 MB, free: 24.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.188, allocations: 0 / 475.9 MB, free: 24.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.066e-05/0.1881, allocations: 29.89 kB / 475.9 MB, free: 24.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.201e-05/0.1881, allocations: 38.61 kB / 475.9 MB, free: 24.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005702/0.1887, allocations: 0.6431 MB / 476.6 MB, free: 24.36 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.00205/0.1907, allocations: 3.408 MB / 480 MB, free: 21.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004763/0.1912, allocations: 396.5 kB / 480.4 MB, free: 21.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.1914, allocations: 200.2 kB / 480.6 MB, free: 21.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000136/0.1915, allocations: 54.09 kB / 480.6 MB, free: 21.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.413e-05/0.1915, allocations: 41.48 kB / 480.7 MB, free: 21.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.673e-06/0.1915, allocations: 0 / 480.7 MB, free: 21.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.001701/0.1932, allocations: 1.459 MB / 482.1 MB, free: 20.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.1933, allocations: 139.2 kB / 482.2 MB, free: 20.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003474/0.1936, allocations: 0.5803 MB / 482.8 MB, free: 20.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.1936, allocations: 36.58 kB / 482.9 MB, free: 20.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.1937, allocations: 361.5 kB / 483.2 MB, free: 20.03 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.835e-05/0.1938, allocations: 171.8 kB / 483.4 MB, free: 19.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.1939, allocations: 137.2 kB / 483.5 MB, free: 19.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.23e-05/0.194, allocations: 376.7 kB / 483.9 MB, free: 19.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.1942, allocations: 225 kB / 484.1 MB, free: 19.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002961/0.1945, allocations: 0.5998 MB / 484.7 MB, free: 18.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005328/0.195, allocations: 0.7779 MB / 485.5 MB, free: 18.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.195, allocations: 6.969 kB / 485.5 MB, free: 18.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009808/0.196, allocations: 0.9373 MB / 486.4 MB, free: 17.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.196, allocations: 9.188 kB / 486.4 MB, free: 17.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.196, allocations: 9.125 kB / 486.4 MB, free: 17.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006084/0.1966, allocations: 268.2 kB / 486.7 MB, free: 17.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.1968, allocations: 126.7 kB / 486.8 MB, free: 17.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000521/0.1974, allocations: 0.8568 MB / 487.7 MB, free: 17.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.1976, allocations: 34.19 kB / 487.7 MB, free: 17.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.781e-05/0.1976, allocations: 39.52 kB / 487.8 MB, free: 17.09 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.0001807/0.1978, allocations: 244.2 kB / 488 MB, free: 16.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.529e-05/0.1979, allocations: 72.36 kB / 488.1 MB, free: 16.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007365/0.1986, allocations: 0.71 MB / 488.8 MB, free: 16.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.1986, allocations: 10 kB / 488.8 MB, free: 16.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.1986, allocations: 4.172 kB / 488.8 MB, free: 16.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1986, allocations: 0 / 488.8 MB, free: 16.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.2, allocations: 1.3 MB / 490.1 MB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.2, allocations: 2.156 kB / 490.1 MB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005465/0.2005, allocations: 190 kB / 490.3 MB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001353/0.2006, allocations: 70.36 kB / 490.4 MB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.2007, allocations: 17.41 kB / 490.4 MB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/0.2018, allocations: 2.764 MB / 493.1 MB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.2018, allocations: 6.156 kB / 493.1 MB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009813/0.2028, allocations: 1.001 MB / 494.1 MB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.2029, allocations: 123.9 kB / 494.3 MB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.725e-05/0.203, allocations: 16.75 kB / 494.3 MB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.2032, allocations: 17.41 kB / 494.3 MB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.585e-05/0.2032, allocations: 42.8 kB / 494.3 MB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.712e-05/0.2033, allocations: 24.42 kB / 494.4 MB, free: 12.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003117/0.2036, allocations: 424 kB / 494.8 MB, free: 12.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2036, allocations: 0 / 494.8 MB, free: 12.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004893/0.2041, allocations: 205 kB / 495 MB, free: 12.24 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.001353/0.2054, allocations: 1.672 MB / 496.6 MB, free: 11.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007466/0.2062, allocations: 0.5787 MB / 497.2 MB, free: 10.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2062, allocations: 2 kB / 497.2 MB, free: 10.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006884/0.2069, allocations: 473.4 kB / 497.7 MB, free: 10.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009696/0.2078, allocations: 374 kB / 498.1 MB, free: 10.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006184/0.214, allocations: 6.461 MB / 0.4927 GB, free: 6.812 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.2143, allocations: 347.6 kB / 0.493 GB, free: 6.688 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004648/0.2148, allocations: 213.9 kB / 0.4932 GB, free: 6.641 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/0.215, allocations: 232 kB / 0.4934 GB, free: 6.48 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.215, allocations: 3.938 kB / 0.4935 GB, free: 6.477 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03728/0.2523, allocations: 23.64 MB / 0.5165 GB, free: 8.996 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.798/9.051, allocations: 15.8 kB / 0.5166 GB, free: 8.98 MB / 426.7 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.115044437348843]