Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.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.001515/0.001515, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.004955/0.004955, allocations: 168.8 kB / 24.82 MB, free: 9.258 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.087/1.087, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.3132/0.3132, allocations: 34.26 MB / 296.1 MB, free: 0.6797 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.StraightPipe.kc_turbulent_KC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|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,]+.|kc.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|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,]+.|kc.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 378.5 MB, free: 2.355 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.531e-05/1.663e-05, allocations: 6.25 kB / 378.5 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002558/0.002574, allocations: 1.923 MB / 380.5 MB, free: 416 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.003799, allocations: 0.8217 MB / 381.3 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.907e-05/0.003888, allocations: 0 / 381.3 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002852/0.004173, allocations: 43.7 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003001/0.004473, allocations: 91.48 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.004732, allocations: 87.59 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002615/0.004994, allocations: 270.6 kB / 381.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.324e-05/0.005047, allocations: 16.53 kB / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002263/0.005273, allocations: 135.5 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.005417, allocations: 107.6 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.005438, allocations: 8 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.005596, allocations: 75.94 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.606e-05/0.005672, allocations: 67.7 kB / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.26e-05/0.005735, allocations: 59.73 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000312/0.006047, allocations: 274.9 kB / 382.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.006049, allocations: 0 / 382.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.006049, allocations: 0 / 382.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.006054, allocations: 0 / 382.5 MB, free: 14.37 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0006278/0.006682, allocations: 0.5933 MB / 383.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.00673, allocations: 12.03 kB / 383.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.935e-05/0.006799, allocations: 48.75 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.006974, allocations: 176.2 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.853e-05/0.006993, allocations: 16.88 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.007017, allocations: 20.38 kB / 383.4 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.00728, allocations: 194.2 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.007293, allocations: 3.938 kB / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.007309, allocations: 12 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.995e-05/0.007349, allocations: 24.64 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.007471, allocations: 108.5 kB / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007426/0.008214, allocations: 0.6251 MB / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.008361, allocations: 106.5 kB / 384.4 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.185e-05/0.008403, allocations: 27.73 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.008434, allocations: 7.938 kB / 384.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.008457, allocations: 37.39 kB / 384.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 3.126e-06/0.00846, allocations: 3.984 kB / 384.5 MB, free: 12.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002479/0.008708, allocations: 133.6 kB / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.008747, allocations: 59.34 kB / 384.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.008899, allocations: 257.6 kB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.008918, allocations: 25.7 kB / 385 MB, free: 11.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.009035, allocations: 239 kB / 385.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/0.00907, allocations: 59.52 kB / 385.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.318e-05/0.009144, allocations: 75.52 kB / 385.3 MB, free: 11.35 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.009295, allocations: 0.5078 MB / 385.8 MB, free: 10.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.092e-05/0.009336, allocations: 24.44 kB / 385.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.009441, allocations: 148.8 kB / 386 MB, free: 10.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.009606, allocations: 207.6 kB / 386.2 MB, free: 10.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.009608, allocations: 0 / 386.2 MB, free: 10.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002229/0.009831, allocations: 196.5 kB / 386.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.009845, allocations: 8 kB / 386.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.009853, allocations: 4 kB / 386.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.00987, allocations: 8 kB / 386.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.01016, allocations: 119.9 kB / 386.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002082/0.01224, allocations: 5.41 MB / 391.9 MB, free: 4.438 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.01234, allocations: 31.78 kB / 392 MB, free: 4.406 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.01236, allocations: 12 kB / 392 MB, free: 4.395 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[3].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001189/0.01248, allocations: 175.5 kB / 392.2 MB, free: 4.215 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.01251, allocations: 27.78 kB / 392.2 MB, free: 4.188 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002506/0.01276, allocations: 183.4 kB / 392.4 MB, free: 4.004 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.01276, allocations: 0 / 392.4 MB, free: 4.004 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.01276, allocations: 0 / 392.4 MB, free: 4.004 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.01277, allocations: 4 kB / 392.4 MB, free: 4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.01295, allocations: 181 kB / 392.5 MB, free: 3.797 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.01295, allocations: 4 kB / 392.6 MB, free: 3.793 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000219/0.01317, allocations: 104 kB / 392.7 MB, free: 3.691 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.423e-06/0.01318, allocations: 7.938 kB / 392.7 MB, free: 3.684 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.01319, allocations: 3.984 kB / 392.7 MB, free: 3.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002194/0.01538, allocations: 5.414 MB / 398.1 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01538, allocations: 0 / 398.1 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.01561, allocations: 284 kB / 398.4 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.712e-05/0.01563, allocations: 19.84 kB / 398.4 MB, free: 13.78 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.01566, allocations: 4 kB / 398.4 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.131e-05/0.01573, allocations: 4 kB / 398.4 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.01578, allocations: 15.97 kB / 398.4 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.01579, allocations: 4 kB / 398.4 MB, free: 13.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.976e-05/0.01586, allocations: 168.2 kB / 398.6 MB, free: 13.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01586, allocations: 0 / 398.6 MB, free: 13.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002661/0.01613, allocations: 95.7 kB / 398.7 MB, free: 13.49 MB / 378.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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002137/0.01634, allocations: 135 kB / 398.8 MB, free: 13.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003648/0.01671, allocations: 198.5 kB / 399 MB, free: 13.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01671, allocations: 4 kB / 399 MB, free: 13.15 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002575/0.01696, allocations: 131.5 kB / 399.1 MB, free: 13.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.01732, allocations: 42.95 kB / 399.2 MB, free: 12.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.01838, allocations: 486.8 kB / 399.6 MB, free: 12.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.848e-05/0.01848, allocations: 103.9 kB / 399.7 MB, free: 12.35 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001043/0.01858, allocations: 17.48 kB / 399.8 MB, free: 12.33 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.01871, allocations: 102.2 kB / 399.9 MB, free: 12.23 MB / 378.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01872, allocations: 0 / 399.9 MB, free: 12.23 MB / 378.7 MB Notification: Performance of Templates: time 0.008734/0.02745, allocations: 4.443 MB / 404.3 MB, free: 7.855 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.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/StraightPipe/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.7640992351807654]