Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001458/0.001458, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.002727/0.002727, allocations: 169 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9616/0.9616, allocations: 158.6 MB / 186 MB, free: 2.758 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1285/0.1285, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 299.1 MB, free: 2.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.457e-05, allocations: 6.312 kB / 299.1 MB, free: 2.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002434/0.002458, allocations: 1.928 MB / 301 MB, free: 228 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1364/0.1389, allocations: 0.8196 MB / 301.9 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.139, allocations: 1.25 kB / 301.9 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003071/0.1393, allocations: 57.31 kB / 301.9 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003425/0.1397, allocations: 91.69 kB / 302 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.14, allocations: 83.8 kB / 302.1 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003352/0.1403, allocations: 275.2 kB / 302.3 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.725e-05/0.1404, allocations: 12.5 kB / 302.4 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003085/0.1407, allocations: 125.5 kB / 302.5 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.141, allocations: 106.9 kB / 302.6 MB, free: 19.08 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.547e-05/0.141, allocations: 6.719 kB / 302.6 MB, free: 19.08 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002536/0.1412, allocations: 79.53 kB / 302.7 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.1414, allocations: 66.08 kB / 302.7 MB, free: 19.05 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.1415, allocations: 60.95 kB / 302.8 MB, free: 19.04 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005202/0.142, allocations: 263.2 kB / 303.1 MB, free: 18.99 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.142, allocations: 4.531 kB / 303.1 MB, free: 18.98 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.142, allocations: 0.7812 kB / 303.1 MB, free: 18.98 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.142, allocations: 0.7031 kB / 303.1 MB, free: 18.98 MB / 282.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.0007677/0.1428, allocations: 456.5 kB / 303.5 MB, free: 18.67 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.1428, allocations: 10.09 kB / 303.5 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.283e-05/0.1429, allocations: 39.77 kB / 303.6 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.1431, allocations: 163.3 kB / 303.7 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.1432, allocations: 18.41 kB / 303.7 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.772e-05/0.1432, allocations: 24.33 kB / 303.8 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003796/0.1436, allocations: 219 kB / 304 MB, free: 18.46 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.1436, allocations: 1.297 kB / 304 MB, free: 18.46 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.1436, allocations: 14.56 kB / 304 MB, free: 18.45 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.145e-05/0.1437, allocations: 25.12 kB / 304 MB, free: 18.45 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.1438, allocations: 101.5 kB / 304.1 MB, free: 18.45 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009638/0.1448, allocations: 0.5216 MB / 304.6 MB, free: 18.21 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.145, allocations: 133.9 kB / 304.8 MB, free: 18.14 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.23e-05/0.1451, allocations: 23.66 kB / 304.8 MB, free: 18.13 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.1451, allocations: 4.719 kB / 304.8 MB, free: 18.13 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.1451, allocations: 44.45 kB / 304.8 MB, free: 18.09 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 2.134e-06/0.1451, allocations: 0 / 304.8 MB, free: 18.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002802/0.1454, allocations: 95.11 kB / 304.9 MB, free: 18.05 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.1454, allocations: 54.41 kB / 305 MB, free: 17.99 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.1456, allocations: 185.8 kB / 305.2 MB, free: 17.87 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.1456, allocations: 29.83 kB / 305.2 MB, free: 17.84 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.285e-05/0.1457, allocations: 185.7 kB / 305.4 MB, free: 17.7 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.101e-05/0.1457, allocations: 57.97 kB / 305.4 MB, free: 17.66 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.359e-05/0.1458, allocations: 55.39 kB / 305.5 MB, free: 17.64 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.315e-05/0.1459, allocations: 330.2 kB / 305.8 MB, free: 17.32 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.939e-05/0.1459, allocations: 26.25 kB / 305.8 MB, free: 17.32 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.146, allocations: 112.7 kB / 305.9 MB, free: 17.21 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.1462, allocations: 170 kB / 306.1 MB, free: 17.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1462, allocations: 1.031 kB / 306.1 MB, free: 17.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002713/0.1465, allocations: 151.7 kB / 306.3 MB, free: 17.04 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1465, allocations: 6.406 kB / 306.3 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.1465, allocations: 3.453 kB / 306.3 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.1466, allocations: 6.438 kB / 306.3 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004244/0.147, allocations: 96.94 kB / 306.4 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008302/0.1478, allocations: 3.56 MB / 309.9 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.148, allocations: 24.53 kB / 309.9 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.148, allocations: 13.53 kB / 310 MB, free: 13.45 MB / 282.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.0001379/0.1481, allocations: 135.8 kB / 310.1 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.436e-05/0.1482, allocations: 13.75 kB / 310.1 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002914/0.1485, allocations: 164.4 kB / 310.3 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.1485, allocations: 3.047 kB / 310.3 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.1485, allocations: 0 / 310.3 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.1485, allocations: 6.094 kB / 310.3 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.1487, allocations: 126.4 kB / 310.4 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1487, allocations: 3.938 kB / 310.4 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003265/0.149, allocations: 79.48 kB / 310.5 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.149, allocations: 1.469 kB / 310.5 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.1491, allocations: 3.312 kB / 310.5 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007592/0.1498, allocations: 3.572 MB / 314.1 MB, free: 9.523 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.1498, allocations: 0 / 314.1 MB, free: 9.523 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.15, allocations: 233.7 kB / 314.3 MB, free: 9.336 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.831e-05/0.1501, allocations: 18.05 kB / 314.3 MB, free: 9.324 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.1501, allocations: 6 kB / 314.3 MB, free: 9.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.89e-05/0.1502, allocations: 3.594 kB / 314.3 MB, free: 9.32 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.435e-05/0.1502, allocations: 17.33 kB / 314.3 MB, free: 9.316 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.1503, allocations: 7.234 kB / 314.3 MB, free: 9.312 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.84e-05/0.1503, allocations: 40.75 kB / 314.4 MB, free: 9.301 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1503, allocations: 1.5 kB / 314.4 MB, free: 9.301 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004186/0.1507, allocations: 88.02 kB / 314.5 MB, free: 9.277 MB / 282.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.0002327/0.151, allocations: 114.7 kB / 314.6 MB, free: 9.195 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004814/0.1514, allocations: 152.8 kB / 314.7 MB, free: 9.164 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/0.1515, allocations: 2.594 kB / 314.7 MB, free: 9.164 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000299/0.1518, allocations: 111.7 kB / 314.8 MB, free: 9.129 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.152, allocations: 33.27 kB / 314.9 MB, free: 9.117 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.153, allocations: 493 kB / 315.4 MB, free: 8.828 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.643e-05/0.1531, allocations: 103.9 kB / 315.5 MB, free: 8.758 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001021/0.1532, allocations: 21.55 kB / 315.5 MB, free: 8.75 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.1533, allocations: 82.95 kB / 315.6 MB, free: 8.695 MB / 282.7 MB Notification: Performance of SimCode: time 1.463e-06/0.1533, allocations: 0 / 315.6 MB, free: 8.695 MB / 282.7 MB Notification: Performance of Templates: time 0.008445/0.1618, allocations: 4.349 MB / 319.9 MB, free: 7.457 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.2851823111996055]