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.0009555/0.0009555, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001518/0.001518, allocations: 169.1 kB / 24.91 MB, free: 9.191 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 1.076/1.076, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2637/0.2637, allocations: 34.26 MB / 296.1 MB, free: 0.7227 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: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|n_nt.[0-9,]+.|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Nu.[0-9,]+.|m_flow_1.[0-9,]+.|m_flow_2.[0-9,]+.|m_flow_3.[0-9,]+.|kc_1.[0-9,]+.|kc_2.[0-9,]+.|kc_3.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|Re_3.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|n_nt.[0-9,]+.|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Nu.[0-9,]+.|m_flow_1.[0-9,]+.|m_flow_2.[0-9,]+.|m_flow_3.[0-9,]+.|kc_1.[0-9,]+.|kc_2.[0-9,]+.|kc_3.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|Re_3.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 325.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.54e-05, allocations: 4.984 kB / 325.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.002969/0.002994, allocations: 2.068 MB / 327.3 MB, free: 5.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.004603, allocations: 0.9162 MB / 328.3 MB, free: 4.648 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001357/0.004739, allocations: 4 kB / 328.3 MB, free: 4.645 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003434/0.005082, allocations: 67.53 kB / 328.3 MB, free: 4.578 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004112/0.005493, allocations: 135.2 kB / 328.5 MB, free: 4.445 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003292/0.005823, allocations: 87.64 kB / 328.6 MB, free: 4.359 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004191/0.006242, allocations: 413.9 kB / 329 MB, free: 3.953 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.799e-05/0.00631, allocations: 18.91 kB / 329 MB, free: 3.938 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003402/0.00665, allocations: 199.2 kB / 329.2 MB, free: 3.742 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000234/0.006884, allocations: 159.4 kB / 329.3 MB, free: 3.586 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.006909, allocations: 11.94 kB / 329.3 MB, free: 3.574 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002179/0.007127, allocations: 83.81 kB / 329.4 MB, free: 3.492 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.007227, allocations: 91.56 kB / 329.5 MB, free: 3.402 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001888/0.007416, allocations: 107.6 kB / 329.6 MB, free: 3.297 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004424/0.007858, allocations: 378.4 kB / 330 MB, free: 2.926 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.007862, allocations: 4 kB / 330 MB, free: 2.922 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.007864, allocations: 0 / 330 MB, free: 2.922 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.00787, allocations: 0 / 330 MB, free: 2.922 MB / 298.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.0006637/0.008534, allocations: 0.5519 MB / 330.5 MB, free: 2.348 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.00857, allocations: 8.031 kB / 330.5 MB, free: 2.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.473e-05/0.008645, allocations: 52.91 kB / 330.6 MB, free: 2.289 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.008839, allocations: 187.6 kB / 330.8 MB, free: 2.082 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.008859, allocations: 29.38 kB / 330.8 MB, free: 2.055 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.802e-05/0.008897, allocations: 40.36 kB / 330.8 MB, free: 2.016 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003441/0.009242, allocations: 310.4 kB / 331.2 MB, free: 1.703 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.009253, allocations: 192 / 331.2 MB, free: 1.703 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.009279, allocations: 16.38 kB / 331.2 MB, free: 1.688 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.424e-05/0.009333, allocations: 44.91 kB / 331.2 MB, free: 1.641 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002213/0.009555, allocations: 170.9 kB / 331.4 MB, free: 1.473 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009371/0.01049, allocations: 0.7068 MB / 332.1 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.01074, allocations: 167 kB / 332.2 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.117e-05/0.0108, allocations: 28.84 kB / 332.3 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.01084, allocations: 8 kB / 332.3 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.01086, allocations: 38.56 kB / 332.3 MB, free: 496 kB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 2.134e-06/0.01086, allocations: 0 / 332.3 MB, free: 496 kB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002615/0.01112, allocations: 125.5 kB / 332.4 MB, free: 364 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.01116, allocations: 55.41 kB / 332.5 MB, free: 296 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.118e-05/0.01124, allocations: 142.6 kB / 332.6 MB, free: 140 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.01126, allocations: 33.7 kB / 332.7 MB, free: 100 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.099e-05/0.01135, allocations: 204.6 kB / 332.9 MB, free: 15.89 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.314e-05/0.0114, allocations: 75.31 kB / 332.9 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.191e-05/0.01147, allocations: 45.67 kB / 333 MB, free: 15.76 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.714e-05/0.01155, allocations: 334.5 kB / 333.3 MB, free: 15.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.234e-05/0.01161, allocations: 22.81 kB / 333.3 MB, free: 15.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.658e-05/0.01165, allocations: 34.97 kB / 333.4 MB, free: 15.38 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.01176, allocations: 78.33 kB / 333.4 MB, free: 15.29 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01177, allocations: 0 / 333.4 MB, free: 15.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001576/0.01192, allocations: 104.8 kB / 333.6 MB, free: 15.19 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.01194, allocations: 8 kB / 333.6 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.01195, allocations: 0 / 333.6 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.01196, allocations: 3.938 kB / 333.6 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000407/0.01237, allocations: 115.9 kB / 333.7 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001903/0.01427, allocations: 5.347 MB / 339 MB, free: 9.484 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.01439, allocations: 19.95 kB / 339 MB, free: 9.465 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.01441, allocations: 11.98 kB / 339.1 MB, free: 9.453 MB / 314.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.0001441/0.01456, allocations: 124.5 kB / 339.2 MB, free: 9.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.468e-05/0.01459, allocations: 19.98 kB / 339.2 MB, free: 9.301 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002669/0.01486, allocations: 186.6 kB / 339.4 MB, free: 9.113 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.01486, allocations: 3.938 kB / 339.4 MB, free: 9.109 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.01486, allocations: 0 / 339.4 MB, free: 9.109 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.01487, allocations: 4 kB / 339.4 MB, free: 9.105 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.01508, allocations: 165.7 kB / 339.5 MB, free: 8.926 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.01508, allocations: 4 kB / 339.6 MB, free: 8.922 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003226/0.0154, allocations: 115.9 kB / 339.7 MB, free: 8.809 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.01541, allocations: 0 / 339.7 MB, free: 8.809 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.01542, allocations: 15.98 kB / 339.7 MB, free: 8.793 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001726/0.01715, allocations: 5.35 MB / 345 MB, free: 3.211 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.01715, allocations: 0 / 345 MB, free: 3.211 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.01739, allocations: 256.2 kB / 345.3 MB, free: 2.945 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.992e-05/0.01742, allocations: 19.84 kB / 345.3 MB, free: 2.926 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.133e-05/0.01745, allocations: 8.312 kB / 345.3 MB, free: 2.918 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.994e-05/0.01753, allocations: 11.98 kB / 345.3 MB, free: 2.906 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.029e-05/0.01759, allocations: 23.91 kB / 345.3 MB, free: 2.883 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.0176, allocations: 0 / 345.3 MB, free: 2.883 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.751e-05/0.01764, allocations: 43.8 kB / 345.4 MB, free: 2.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01764, allocations: 0 / 345.4 MB, free: 2.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003297/0.01797, allocations: 123.6 kB / 345.5 MB, free: 2.719 MB / 314.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.0002994/0.01827, allocations: 120.2 kB / 345.6 MB, free: 2.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004928/0.01876, allocations: 184.6 kB / 345.8 MB, free: 2.406 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.01877, allocations: 0 / 345.8 MB, free: 2.406 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003161/0.01908, allocations: 148.7 kB / 345.9 MB, free: 2.258 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.01932, allocations: 28.97 kB / 346 MB, free: 2.23 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.02056, allocations: 0.6677 MB / 346.6 MB, free: 1.535 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.796e-05/0.02064, allocations: 131.9 kB / 346.8 MB, free: 1.387 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.918e-05/0.02071, allocations: 21.48 kB / 346.8 MB, free: 1.367 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.02083, allocations: 79.23 kB / 346.9 MB, free: 1.289 MB / 314.7 MB Notification: Performance of SimCode: time 2.374e-06/0.02083, allocations: 0 / 346.9 MB, free: 1.289 MB / 314.7 MB Notification: Performance of Templates: time 0.008174/0.029, allocations: 5.406 MB / 352.3 MB, free: 11.98 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.32706236327067]