Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008317/0.0008317, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008905/0.0008905, allocations: 170.3 kB / 23.95 MB, free: 0.6094 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.9255/0.9255, allocations: 177.1 MB / 204.3 MB, free: 5.738 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.2469/0.2469, allocations: 32.79 MB / 293.5 MB, free: 1.238 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.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_0_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_0_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 1.423e-06/1.423e-06, allocations: 3.938 kB / 439.6 MB, free: 4.223 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.387e-05/1.529e-05, allocations: 4.109 kB / 439.6 MB, free: 4.219 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.002204/0.00222, allocations: 1.97 MB / 441.6 MB, free: 2.234 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.00351, allocations: 0.8527 MB / 442.5 MB, free: 1.375 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.623e-05/0.003586, allocations: 4 kB / 442.5 MB, free: 1.371 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002486/0.003835, allocations: 63.66 kB / 442.5 MB, free: 1.309 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002957/0.00413, allocations: 131.2 kB / 442.6 MB, free: 1.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002298/0.00436, allocations: 87.7 kB / 442.7 MB, free: 1.094 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002998/0.00466, allocations: 409.8 kB / 443.1 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.405e-05/0.004714, allocations: 16.88 kB / 443.1 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002255/0.004939, allocations: 195.3 kB / 443.3 MB, free: 492 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.005102, allocations: 167.4 kB / 443.5 MB, free: 324 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.005125, allocations: 12 kB / 443.5 MB, free: 312 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.005264, allocations: 71.89 kB / 443.6 MB, free: 240 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.373e-05/0.005348, allocations: 103.5 kB / 443.7 MB, free: 136 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.943e-05/0.005417, allocations: 99.59 kB / 443.8 MB, free: 36 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1867/0.1922, allocations: 405.3 kB / 444.2 MB, free: 43.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1922, allocations: 0 / 444.2 MB, free: 43.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1922, allocations: 0 / 444.2 MB, free: 43.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.1922, allocations: 0 / 444.2 MB, free: 43.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.0006782/0.1929, allocations: 0.5848 MB / 444.8 MB, free: 43.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.1929, allocations: 8.906 kB / 444.8 MB, free: 43.22 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.095e-05/0.193, allocations: 87.66 kB / 444.9 MB, free: 43.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.522e-05/0.193, allocations: 45.03 kB / 444.9 MB, free: 43.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.1932, allocations: 228.9 kB / 445.1 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.1932, allocations: 25.91 kB / 445.2 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.173e-05/0.1933, allocations: 35.34 kB / 445.2 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005239/0.1938, allocations: 0.5591 MB / 445.7 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1938, allocations: 192 / 445.7 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.1938, allocations: 13.59 kB / 445.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.904e-05/0.1939, allocations: 43.77 kB / 445.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005893/0.1945, allocations: 0.5705 MB / 446.4 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.1955, allocations: 1.088 MB / 447.5 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003983/0.1959, allocations: 366.8 kB / 447.8 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.196, allocations: 129.4 kB / 447.9 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.196, allocations: 11.08 kB / 448 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.1961, allocations: 42.42 kB / 448 MB, free: 42.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 1.382e-06/0.1961, allocations: 0 / 448 MB, free: 42.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005835/0.1966, allocations: 468.7 kB / 448.5 MB, free: 42.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.1967, allocations: 54.34 kB / 448.5 MB, free: 42.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002669/0.1969, allocations: 454.1 kB / 448.9 MB, free: 42.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.1969, allocations: 32.23 kB / 449 MB, free: 42.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.05e-05/0.197, allocations: 192.1 kB / 449.2 MB, free: 42.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.325e-05/0.197, allocations: 70.48 kB / 449.2 MB, free: 42.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.115e-05/0.1971, allocations: 54.83 kB / 449.3 MB, free: 42.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.162e-05/0.1971, allocations: 351.7 kB / 449.6 MB, free: 41.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.1973, allocations: 110.8 kB / 449.7 MB, free: 41.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.1974, allocations: 121.7 kB / 449.9 MB, free: 41.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/0.1977, allocations: 268.6 kB / 450.1 MB, free: 41.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1977, allocations: 3.406 kB / 450.1 MB, free: 41.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003343/0.198, allocations: 343.4 kB / 450.5 MB, free: 41.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.198, allocations: 8.094 kB / 450.5 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.198, allocations: 3.219 kB / 450.5 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.198, allocations: 2.844 kB / 450.5 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003752/0.1984, allocations: 159.7 kB / 450.6 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000966/0.1994, allocations: 5.518 MB / 456.2 MB, free: 36.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.1995, allocations: 51.17 kB / 456.2 MB, free: 36.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.1995, allocations: 12.88 kB / 456.2 MB, free: 36.15 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.0001125/0.1996, allocations: 187.7 kB / 456.4 MB, free: 36.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.306e-05/0.1996, allocations: 43.61 kB / 456.4 MB, free: 36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004612/0.2001, allocations: 455.1 kB / 456.9 MB, free: 35.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2001, allocations: 3.156 kB / 456.9 MB, free: 35.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2001, allocations: 0 / 456.9 MB, free: 35.87 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2001, allocations: 3.047 kB / 456.9 MB, free: 35.87 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002351/0.2004, allocations: 326 kB / 457.2 MB, free: 35.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2004, allocations: 0 / 457.2 MB, free: 35.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003042/0.2007, allocations: 160 kB / 457.4 MB, free: 35.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.2007, allocations: 7.938 kB / 457.4 MB, free: 35.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.2007, allocations: 20.91 kB / 457.4 MB, free: 35.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009037/0.2016, allocations: 5.513 MB / 462.9 MB, free: 30.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2016, allocations: 0 / 462.9 MB, free: 30.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000353/0.2019, allocations: 444.8 kB / 463.3 MB, free: 30.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.823e-05/0.202, allocations: 43.05 kB / 463.4 MB, free: 30.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.202, allocations: 13.66 kB / 463.4 MB, free: 30.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.01e-05/0.2021, allocations: 7.188 kB / 463.4 MB, free: 30.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/0.2021, allocations: 23.61 kB / 463.4 MB, free: 30.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.2022, allocations: 13.62 kB / 463.4 MB, free: 30.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001764/0.2023, allocations: 336.3 kB / 463.8 MB, free: 29.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2023, allocations: 0 / 463.8 MB, free: 29.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002335/0.2026, allocations: 104.1 kB / 463.9 MB, free: 29.89 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.0005595/0.2031, allocations: 1.026 MB / 464.9 MB, free: 29.15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005827/0.2037, allocations: 399.7 kB / 465.3 MB, free: 29.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2037, allocations: 0 / 465.3 MB, free: 29.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003689/0.2041, allocations: 281.2 kB / 465.6 MB, free: 29.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.2044, allocations: 87.09 kB / 465.6 MB, free: 29.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003083/0.2075, allocations: 4.4 MB / 470 MB, free: 26.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.2076, allocations: 247 kB / 470.3 MB, free: 26.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001254/0.2077, allocations: 81.98 kB / 470.4 MB, free: 26.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.181e-05/0.2078, allocations: 109.8 kB / 470.5 MB, free: 26.82 MB / 410.7 MB Notification: Performance of SimCode: time 7.61e-07/0.2078, allocations: 7 kB / 470.5 MB, free: 26.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02463/0.2324, allocations: 13.01 MB / 483.5 MB, free: 25.03 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.8/8.033, allocations: 8.344 kB / 483.5 MB, free: 25.03 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_0_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_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.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.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.217802936211228]