Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.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.00126/0.00126, allocations: 79.7 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.001117/0.001117, 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.9367/0.9367, allocations: 177.1 MB / 204.3 MB, free: 5.711 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.2401/0.2401, allocations: 34.25 MB / 294.9 MB, free: 0.7188 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.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 442.2 MB, free: 1.637 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.127e-05/2.356e-05, allocations: 2.281 kB / 442.2 MB, free: 1.633 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.1818/0.1818, allocations: 1.963 MB / 444.2 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.1829, allocations: 0.8666 MB / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.183, allocations: 2.938 kB / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002489/0.1832, allocations: 62.75 kB / 445.1 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003043/0.1836, allocations: 124.6 kB / 445.2 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.1838, allocations: 92.17 kB / 445.3 MB, free: 43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002921/0.1841, allocations: 416 kB / 445.7 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.13e-05/0.1841, allocations: 15.16 kB / 445.7 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002734/0.1844, allocations: 195.4 kB / 445.9 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.1846, allocations: 163 kB / 446.1 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.082e-05/0.1846, allocations: 15.62 kB / 446.1 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.1848, allocations: 74.89 kB / 446.2 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.555e-05/0.1849, allocations: 101 kB / 446.3 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.7e-05/0.1849, allocations: 98.08 kB / 446.4 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003524/0.1853, allocations: 408.3 kB / 446.8 MB, free: 42.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1853, allocations: 3.281 kB / 446.8 MB, free: 42.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1853, allocations: 0 / 446.8 MB, free: 42.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.1853, allocations: 2.656 kB / 446.8 MB, free: 42.61 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0007352/0.186, allocations: 0.5856 MB / 447.4 MB, free: 42.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.1861, allocations: 11.5 kB / 447.4 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.447e-05/0.1861, allocations: 81.44 kB / 447.4 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.491e-05/0.1862, allocations: 43.5 kB / 447.5 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.1864, allocations: 228.8 kB / 447.7 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.1864, allocations: 26.69 kB / 447.7 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.1865, allocations: 33.53 kB / 447.8 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005227/0.187, allocations: 0.5556 MB / 448.3 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.187, allocations: 11 kB / 448.3 MB, free: 41.81 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.187, allocations: 18.88 kB / 448.4 MB, free: 41.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.813e-05/0.1871, allocations: 38.58 kB / 448.4 MB, free: 41.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006082/0.1877, allocations: 0.5714 MB / 449 MB, free: 41.65 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.1888, allocations: 1.078 MB / 450 MB, free: 41.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004092/0.1892, allocations: 372 kB / 450.4 MB, free: 41.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.1893, allocations: 131.8 kB / 450.5 MB, free: 41.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.1893, allocations: 5.688 kB / 450.5 MB, free: 41.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.486e-05/0.1894, allocations: 34.69 kB / 450.6 MB, free: 40.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 1.914e-06/0.1894, allocations: 0 / 450.6 MB, free: 40.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006053/0.19, allocations: 467.8 kB / 451 MB, free: 40.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.19, allocations: 57.88 kB / 451.1 MB, free: 40.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002747/0.1903, allocations: 448.7 kB / 451.5 MB, free: 40.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.1903, allocations: 29.7 kB / 451.6 MB, free: 40.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.291e-05/0.1904, allocations: 202 kB / 451.8 MB, free: 40.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.292e-05/0.1904, allocations: 76.08 kB / 451.8 MB, free: 40.37 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.023e-05/0.1905, allocations: 57.86 kB / 451.9 MB, free: 40.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.323e-05/0.1905, allocations: 344.2 kB / 452.2 MB, free: 40.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.1907, allocations: 116 kB / 452.3 MB, free: 40 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.1908, allocations: 126.1 kB / 452.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/0.1911, allocations: 259.7 kB / 452.7 MB, free: 39.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1911, allocations: 9.719 kB / 452.7 MB, free: 39.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00036/0.1914, allocations: 350.8 kB / 453.1 MB, free: 39.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.1915, allocations: 6.094 kB / 453.1 MB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1915, allocations: 0 / 453.1 MB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1915, allocations: 2.781 kB / 453.1 MB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004456/0.1919, allocations: 163.2 kB / 453.2 MB, free: 39.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/0.193, allocations: 5.511 MB / 458.7 MB, free: 34.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.1931, allocations: 48.61 kB / 458.8 MB, free: 34.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.1932, allocations: 22.42 kB / 458.8 MB, free: 34.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 0 * 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): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001566/0.1933, allocations: 185 kB / 459 MB, free: 34.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.689e-05/0.1934, allocations: 40.7 kB / 459 MB, free: 34.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005123/0.1939, allocations: 461.3 kB / 459.5 MB, free: 34.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.1939, allocations: 2.938 kB / 459.5 MB, free: 34.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1939, allocations: 0 / 459.5 MB, free: 34.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1939, allocations: 0 / 459.5 MB, free: 34.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002801/0.1942, allocations: 321.9 kB / 459.8 MB, free: 33.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1942, allocations: 4 kB / 459.8 MB, free: 33.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003245/0.1945, allocations: 164 kB / 460 MB, free: 33.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.1945, allocations: 3.281 kB / 460 MB, free: 33.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.1945, allocations: 10.5 kB / 460 MB, free: 33.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/0.1956, allocations: 5.521 MB / 465.5 MB, free: 28.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.1956, allocations: 0 / 465.5 MB, free: 28.51 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004512/0.1961, allocations: 447.2 kB / 465.9 MB, free: 28.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.626e-05/0.1961, allocations: 43.86 kB / 466 MB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.1962, allocations: 11.06 kB / 466 MB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.867e-05/0.1963, allocations: 11.28 kB / 466 MB, free: 28.28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.524e-05/0.1963, allocations: 19.19 kB / 466 MB, free: 28.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.1964, allocations: 13.61 kB / 466 MB, free: 28.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002273/0.1966, allocations: 334.4 kB / 466.4 MB, free: 28.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.1966, allocations: 0 / 466.4 MB, free: 28.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003226/0.1969, allocations: 110.1 kB / 466.5 MB, free: 28.12 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 0 * 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): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007482/0.1977, allocations: 1.024 MB / 467.5 MB, free: 27.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007408/0.1984, allocations: 402.3 kB / 467.9 MB, free: 27.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.1984, allocations: 0 / 467.9 MB, free: 27.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004088/0.1988, allocations: 273 kB / 468.1 MB, free: 27.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.1992, allocations: 95.77 kB / 468.2 MB, free: 27.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003908/0.2031, allocations: 4.384 MB / 472.6 MB, free: 25.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001525/0.2033, allocations: 255.5 kB / 472.9 MB, free: 25.08 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001861/0.2035, allocations: 84.59 kB / 473 MB, free: 25.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.2036, allocations: 113.2 kB / 473.1 MB, free: 25 MB / 410.7 MB Notification: Performance of SimCode: time 1.824e-06/0.2036, allocations: 0 / 473.1 MB, free: 25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02844/0.232, allocations: 13.01 MB / 486.1 MB, free: 23.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.03/8.262, allocations: 6.047 kB / 486.1 MB, free: 23.21 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-07 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.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: 10.469739322550595]