Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.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.0009359/0.0009359, 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.001109/0.001109, allocations: 156.9 kB / 23.95 MB, free: 0.6094 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.9344/0.9344, allocations: 177 MB / 204.1 MB, free: 5.762 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.2491/0.2491, allocations: 34.23 MB / 294.8 MB, free: 0.6758 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.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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.605e-06/2.605e-06, allocations: 3.984 kB / 442.2 MB, free: 1.516 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.094e-05/2.355e-05, allocations: 6.281 kB / 442.2 MB, free: 1.508 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.1883/0.1883, allocations: 1.959 MB / 444.2 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.1893, allocations: 0.8584 MB / 445 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.872e-05/0.1894, allocations: 2.594 kB / 445 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002433/0.1896, allocations: 60.42 kB / 445.1 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000339/0.19, allocations: 133.6 kB / 445.2 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.1902, allocations: 96.48 kB / 445.3 MB, free: 43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002505/0.1905, allocations: 404.2 kB / 445.7 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.309e-05/0.1905, allocations: 17.33 kB / 445.7 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002463/0.1908, allocations: 200.2 kB / 445.9 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.1909, allocations: 161.4 kB / 446.1 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.1909, allocations: 12.53 kB / 446.1 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.1911, allocations: 77.52 kB / 446.2 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.186e-05/0.1911, allocations: 97.22 kB / 446.3 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.281e-05/0.1912, allocations: 98.94 kB / 446.4 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003271/0.1915, allocations: 409.7 kB / 446.8 MB, free: 42.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1916, allocations: 0 / 446.8 MB, free: 42.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1916, allocations: 0 / 446.8 MB, free: 42.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1916, allocations: 0 / 446.8 MB, free: 42.62 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.0006317/0.1922, allocations: 0.5898 MB / 447.3 MB, free: 42.24 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.1922, allocations: 8.812 kB / 447.3 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.701e-05/0.1923, allocations: 90.89 kB / 447.4 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.84e-05/0.1923, allocations: 42.19 kB / 447.5 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.1925, allocations: 220.1 kB / 447.7 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.1926, allocations: 33.64 kB / 447.7 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.1926, allocations: 35.34 kB / 447.8 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005123/0.1931, allocations: 0.5503 MB / 448.3 MB, free: 41.81 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1931, allocations: 2.969 kB / 448.3 MB, free: 41.81 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.284e-05/0.1931, allocations: 23.67 kB / 448.3 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.873e-05/0.1932, allocations: 39.75 kB / 448.4 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005858/0.1938, allocations: 0.5704 MB / 448.9 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.1948, allocations: 1.085 MB / 450 MB, free: 41.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004082/0.1952, allocations: 361.9 kB / 450.4 MB, free: 41.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.1954, allocations: 133.1 kB / 450.5 MB, free: 41.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-05/0.1954, allocations: 10.09 kB / 450.5 MB, free: 41.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.1954, allocations: 41.56 kB / 450.6 MB, free: 40.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 2.014e-06/0.1954, allocations: 0 / 450.6 MB, free: 40.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006029/0.196, allocations: 467.5 kB / 451 MB, free: 40.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.1961, allocations: 54.16 kB / 451.1 MB, free: 40.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/0.1963, allocations: 455.1 kB / 451.5 MB, free: 40.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.1963, allocations: 29.7 kB / 451.5 MB, free: 40.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.801e-05/0.1964, allocations: 194.2 kB / 451.7 MB, free: 40.42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.879e-05/0.1964, allocations: 74.08 kB / 451.8 MB, free: 40.37 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.978e-05/0.1965, allocations: 52.8 kB / 451.9 MB, free: 40.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.861e-05/0.1966, allocations: 348.5 kB / 452.2 MB, free: 40.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.1967, allocations: 117.2 kB / 452.3 MB, free: 40 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.1968, allocations: 120.4 kB / 452.4 MB, free: 39.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003025/0.1971, allocations: 273.5 kB / 452.7 MB, free: 39.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1971, allocations: 0 / 452.7 MB, free: 39.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003627/0.1975, allocations: 342.5 kB / 453 MB, free: 39.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.1975, allocations: 10.53 kB / 453 MB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1975, allocations: 0 / 453 MB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.1976, allocations: 3.062 kB / 453 MB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004651/0.198, allocations: 166.5 kB / 453.2 MB, free: 39.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001801/0.1998, allocations: 5.514 MB / 458.7 MB, free: 34.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003224/0.2001, allocations: 45.42 kB / 458.8 MB, free: 34.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/0.2002, allocations: 15.61 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.0003081/0.2005, allocations: 193.1 kB / 459 MB, free: 34.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.799e-05/0.2005, allocations: 40.98 kB / 459 MB, free: 34.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000742/0.2013, allocations: 453.7 kB / 459.5 MB, free: 34.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.2013, allocations: 2.844 kB / 459.5 MB, free: 34.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.2013, allocations: 0 / 459.5 MB, free: 34.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.2013, allocations: 0 / 459.5 MB, free: 34.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003997/0.2017, allocations: 327.4 kB / 459.8 MB, free: 33.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.2017, allocations: 0 / 459.8 MB, free: 33.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003774/0.2021, allocations: 166 kB / 459.9 MB, free: 33.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.2021, allocations: 4 kB / 459.9 MB, free: 33.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.2021, allocations: 10.66 kB / 460 MB, free: 33.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00134/0.2035, allocations: 5.518 MB / 465.5 MB, free: 28.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.2035, allocations: 3.938 kB / 465.5 MB, free: 28.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004988/0.204, allocations: 457.7 kB / 465.9 MB, free: 28.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.987e-05/0.2041, allocations: 41.7 kB / 466 MB, free: 28.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.2041, allocations: 7.219 kB / 466 MB, free: 28.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.2042, allocations: 6.719 kB / 466 MB, free: 28.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.186e-05/0.2043, allocations: 26.83 kB / 466 MB, free: 28.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.2043, allocations: 12.69 kB / 466 MB, free: 28.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000315/0.2046, allocations: 336.3 kB / 466.3 MB, free: 28.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2046, allocations: 0 / 466.3 MB, free: 28.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003565/0.205, allocations: 105.3 kB / 466.4 MB, free: 28.1 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.0006505/0.2056, allocations: 1.018 MB / 467.5 MB, free: 27.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006404/0.2063, allocations: 403.8 kB / 467.9 MB, free: 27.31 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2063, allocations: 0 / 467.9 MB, free: 27.31 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003751/0.2067, allocations: 275.9 kB / 468.1 MB, free: 27.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.207, allocations: 88.53 kB / 468.2 MB, free: 27.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00324/0.2103, allocations: 4.392 MB / 472.6 MB, free: 25.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.2104, allocations: 246 kB / 472.9 MB, free: 25.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001829/0.2106, allocations: 87.5 kB / 472.9 MB, free: 25.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.2107, allocations: 114 kB / 473 MB, free: 24.99 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/0.2107, allocations: 0 / 473 MB, free: 24.99 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02559/0.2363, allocations: 13.01 MB / 486.1 MB, free: 23.17 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.782/8.018, allocations: 13.42 kB / 486.1 MB, free: 23.16 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.210776797495782]