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.001523/0.001523, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.00193/0.00193, allocations: 170.5 kB / 24.91 MB, free: 9.211 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.027/1.027, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2761/0.2761, allocations: 32.8 MB / 294.6 MB, free: 1.254 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: 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.0.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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 323.3 MB, free: 9.609 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.173e-05, allocations: 4.844 kB / 323.3 MB, free: 9.605 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.002822/0.002844, allocations: 2.104 MB / 325.4 MB, free: 7.488 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.004485, allocations: 0.9234 MB / 326.3 MB, free: 6.559 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.004602, allocations: 0 / 326.3 MB, free: 6.559 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002927/0.004894, allocations: 59.61 kB / 326.4 MB, free: 6.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003948/0.005289, allocations: 135.2 kB / 326.5 MB, free: 6.367 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.005587, allocations: 91.59 kB / 326.6 MB, free: 6.277 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003908/0.005977, allocations: 417.8 kB / 327 MB, free: 5.867 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.79e-05/0.006035, allocations: 18.89 kB / 327 MB, free: 5.852 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003136/0.006349, allocations: 191.3 kB / 327.2 MB, free: 5.664 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002577/0.006607, allocations: 167.4 kB / 327.4 MB, free: 5.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.897e-05/0.006636, allocations: 8 kB / 327.4 MB, free: 5.492 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002491/0.006885, allocations: 79.83 kB / 327.5 MB, free: 5.414 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.007023, allocations: 95.5 kB / 327.6 MB, free: 5.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.007157, allocations: 103.6 kB / 327.7 MB, free: 5.219 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005991/0.007756, allocations: 378.5 kB / 328 MB, free: 4.848 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.007759, allocations: 0 / 328 MB, free: 4.848 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.00776, allocations: 0 / 328 MB, free: 4.848 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.007773, allocations: 3.938 kB / 328 MB, free: 4.844 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.0007274/0.0085, allocations: 0.5517 MB / 328.6 MB, free: 4.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.008533, allocations: 8.031 kB / 328.6 MB, free: 4.262 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.014e-05/0.008613, allocations: 60.89 kB / 328.7 MB, free: 4.203 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.008823, allocations: 179.7 kB / 328.8 MB, free: 4.004 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.008846, allocations: 37.36 kB / 328.9 MB, free: 3.969 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/0.008878, allocations: 36.31 kB / 328.9 MB, free: 3.934 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003699/0.009248, allocations: 310.5 kB / 329.2 MB, free: 3.621 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.00926, allocations: 4.188 kB / 329.2 MB, free: 3.617 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.009283, allocations: 16.36 kB / 329.2 MB, free: 3.602 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.978e-05/0.009333, allocations: 44.91 kB / 329.3 MB, free: 3.555 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000198/0.009531, allocations: 170.9 kB / 329.4 MB, free: 3.387 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008985/0.01043, allocations: 0.7029 MB / 330.1 MB, free: 2.664 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.01063, allocations: 170.9 kB / 330.3 MB, free: 2.488 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.866e-05/0.01069, allocations: 32.84 kB / 330.3 MB, free: 2.453 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.01072, allocations: 8 kB / 330.4 MB, free: 2.445 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.01074, allocations: 34.56 kB / 330.4 MB, free: 2.402 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 2.705e-06/0.01074, allocations: 0 / 330.4 MB, free: 2.402 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002507/0.01099, allocations: 121.5 kB / 330.5 MB, free: 2.277 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.01102, allocations: 55.41 kB / 330.6 MB, free: 2.211 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.139e-05/0.01111, allocations: 146.6 kB / 330.7 MB, free: 2.055 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.01112, allocations: 29.7 kB / 330.7 MB, free: 2.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.855e-05/0.0112, allocations: 208.4 kB / 330.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.175e-05/0.01125, allocations: 79.3 kB / 331 MB, free: 1.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-05/0.01131, allocations: 41.69 kB / 331.1 MB, free: 1.684 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.938e-05/0.01139, allocations: 334.7 kB / 331.4 MB, free: 1.348 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.525e-05/0.01144, allocations: 22.81 kB / 331.4 MB, free: 1.324 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.456e-05/0.01148, allocations: 26.98 kB / 331.4 MB, free: 1.301 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.01159, allocations: 74.44 kB / 331.5 MB, free: 1.223 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.01159, allocations: 3.938 kB / 331.5 MB, free: 1.219 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001513/0.01174, allocations: 104.8 kB / 331.6 MB, free: 1.109 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.01176, allocations: 8 kB / 331.6 MB, free: 1.102 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.01176, allocations: 3.938 kB / 331.6 MB, free: 1.098 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.01178, allocations: 3.938 kB / 331.6 MB, free: 1.094 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003823/0.01216, allocations: 107.9 kB / 331.7 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001804/0.01396, allocations: 5.359 MB / 337.1 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.443e-05/0.01404, allocations: 11.89 kB / 337.1 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.01406, allocations: 11.98 kB / 337.1 MB, free: 11.38 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.000101/0.01416, allocations: 120.6 kB / 337.2 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.01419, allocations: 15.98 kB / 337.2 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002509/0.01444, allocations: 198.5 kB / 337.4 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.01444, allocations: 3.938 kB / 337.4 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.01444, allocations: 0 / 337.4 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.01445, allocations: 4.125 kB / 337.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.01464, allocations: 169.6 kB / 337.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.01465, allocations: 0 / 337.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003124/0.01496, allocations: 115.9 kB / 337.7 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.01496, allocations: 4 kB / 337.7 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.01498, allocations: 7.984 kB / 337.7 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001582/0.01656, allocations: 5.35 MB / 343.1 MB, free: 5.133 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.01656, allocations: 3.984 kB / 343.1 MB, free: 5.129 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.01676, allocations: 261.3 kB / 343.3 MB, free: 4.855 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.795e-05/0.01677, allocations: 23.84 kB / 343.4 MB, free: 4.832 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.01679, allocations: 4 kB / 343.4 MB, free: 4.828 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.729e-05/0.01686, allocations: 4 kB / 343.4 MB, free: 4.824 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.125e-05/0.01691, allocations: 23.89 kB / 343.4 MB, free: 4.801 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.01693, allocations: 8 kB / 343.4 MB, free: 4.793 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.56e-05/0.01695, allocations: 35.86 kB / 343.4 MB, free: 4.758 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01695, allocations: 0 / 343.4 MB, free: 4.758 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002411/0.01719, allocations: 127.6 kB / 343.6 MB, free: 4.633 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.0001759/0.01737, allocations: 120.2 kB / 343.7 MB, free: 4.504 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004109/0.01778, allocations: 171.9 kB / 343.9 MB, free: 4.336 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.01778, allocations: 4 kB / 343.9 MB, free: 4.332 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002997/0.01808, allocations: 152.6 kB / 344 MB, free: 4.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.01827, allocations: 28.62 kB / 344 MB, free: 4.152 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000959/0.01923, allocations: 0.6676 MB / 344.7 MB, free: 3.457 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.652e-05/0.0193, allocations: 127.9 kB / 344.8 MB, free: 3.312 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.311e-05/0.01937, allocations: 17.48 kB / 344.8 MB, free: 3.297 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.612e-05/0.01946, allocations: 79.28 kB / 344.9 MB, free: 3.219 MB / 314.7 MB Notification: Performance of SimCode: time 9.31e-07/0.01946, allocations: 0 / 344.9 MB, free: 3.219 MB / 314.7 MB Notification: Performance of Templates: time 0.006888/0.02635, allocations: 5.407 MB / 350.3 MB, free: 13.9 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.makefile [Timeout 660] (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 & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 240] 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","",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.1966995941475034]