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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|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=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 111.1 kB / 17.14 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 197.4 kB / 18.07 MB, free: 4.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 207.6 MB / 226.4 MB, free: 11.53 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2231/0.2231, allocations: 44.25 MB / 320.5 MB, free: 12.86 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 71.89 kB / 454.7 MB, free: 8.676 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1231, allocations: 61 MB / 0.5036 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.00372/0.1268, allocations: 1.871 MB / 0.5055 GB, free: 9.648 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.1286, allocations: 0.8499 MB / 0.5063 GB, free: 8.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.1287, allocations: 0 / 0.5063 GB, free: 8.793 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003306/0.1291, allocations: 59.61 kB / 0.5063 GB, free: 8.734 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003885/0.1294, allocations: 91.56 kB / 0.5064 GB, free: 8.645 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003207/0.1298, allocations: 79.7 kB / 0.5065 GB, free: 8.566 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000354/0.1301, allocations: 258.7 kB / 0.5068 GB, free: 8.312 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.252e-05/0.1302, allocations: 32.38 kB / 0.5068 GB, free: 8.277 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002284/0.1304, allocations: 95.52 kB / 0.5069 GB, free: 8.184 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002338/0.1307, allocations: 123.4 kB / 0.507 GB, free: 8.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.949e-05/0.1307, allocations: 8 kB / 0.507 GB, free: 8.055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002605/0.131, allocations: 127.8 kB / 0.5071 GB, free: 7.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.1311, allocations: 59.69 kB / 0.5072 GB, free: 7.871 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.1312, allocations: 103.3 kB / 0.5073 GB, free: 7.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004316/0.1316, allocations: 302.6 kB / 0.5076 GB, free: 7.473 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1316, allocations: 0 / 0.5076 GB, free: 7.473 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1316, allocations: 0 / 0.5076 GB, free: 7.473 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.1316, allocations: 0 / 0.5076 GB, free: 7.473 MB / 398.1 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.0009699/0.1326, allocations: 0.5572 MB / 0.5081 GB, free: 6.867 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.1327, allocations: 15.89 kB / 0.5081 GB, free: 6.852 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.427e-05/0.1327, allocations: 28.75 kB / 0.5082 GB, free: 6.824 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.133, allocations: 239.5 kB / 0.5084 GB, free: 6.555 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.677e-05/0.1331, allocations: 24.94 kB / 0.5084 GB, free: 6.531 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.952e-05/0.1331, allocations: 28.11 kB / 0.5084 GB, free: 6.504 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006256/0.1337, allocations: 373.3 kB / 0.5088 GB, free: 6.137 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1337, allocations: 0 / 0.5088 GB, free: 6.137 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.013e-05/0.1338, allocations: 15.92 kB / 0.5088 GB, free: 6.121 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.483e-05/0.1338, allocations: 28.64 kB / 0.5088 GB, free: 6.094 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006503/0.1345, allocations: 370.3 kB / 0.5092 GB, free: 5.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.1359, allocations: 0.8389 MB / 0.51 GB, free: 4.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004787/0.1364, allocations: 254.2 kB / 0.5102 GB, free: 4.582 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.1366, allocations: 88.83 kB / 0.5103 GB, free: 4.492 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.402e-05/0.1366, allocations: 11.94 kB / 0.5103 GB, free: 4.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.1366, allocations: 34.56 kB / 0.5104 GB, free: 4.438 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.1366, allocations: 0 / 0.5104 GB, free: 4.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007663/0.1374, allocations: 337.2 kB / 0.5107 GB, free: 4.102 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.1374, allocations: 55.41 kB / 0.5107 GB, free: 4.035 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004178/0.1378, allocations: 338.9 kB / 0.5111 GB, free: 3.691 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.1379, allocations: 25.7 kB / 0.5111 GB, free: 3.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.138, allocations: 180.1 kB / 0.5113 GB, free: 3.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.83e-05/0.1381, allocations: 67.45 kB / 0.5113 GB, free: 3.414 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.672e-05/0.1382, allocations: 61.83 kB / 0.5114 GB, free: 3.348 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.1383, allocations: 338.8 kB / 0.5117 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.1386, allocations: 100.4 kB / 0.5118 GB, free: 2.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002862/0.1388, allocations: 184 kB / 0.512 GB, free: 2.691 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005458/0.1394, allocations: 314.6 kB / 0.5123 GB, free: 2.348 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1394, allocations: 0 / 0.5123 GB, free: 2.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006909/0.1401, allocations: 349.2 kB / 0.5126 GB, free: 2 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.1401, allocations: 4 kB / 0.5126 GB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.1401, allocations: 4 kB / 0.5126 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.1401, allocations: 4 kB / 0.5126 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006022/0.1407, allocations: 123.9 kB / 0.5127 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002638/0.1434, allocations: 3.649 MB / 0.5163 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002467/0.1436, allocations: 43.75 kB / 0.5164 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.868e-05/0.1436, allocations: 15.98 kB / 0.5164 GB, free: 14.02 MB / 414.1 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_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].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.0002912/0.1439, allocations: 189.4 kB / 0.5166 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.857e-05/0.144, allocations: 35.98 kB / 0.5166 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006905/0.1447, allocations: 319.5 kB / 0.5169 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.1447, allocations: 3.984 kB / 0.5169 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1447, allocations: 0 / 0.5169 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.1448, allocations: 104.9 kB / 0.517 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.569e-05/0.1448, allocations: 8 kB / 0.517 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.145, allocations: 15.92 kB / 0.517 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.34e-05/0.1451, allocations: 11.98 kB / 0.517 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001137/0.1462, allocations: 481.7 kB / 0.5175 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008284/0.147, allocations: 0.549 MB / 0.518 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000223/0.1473, allocations: 103.7 kB / 0.5181 GB, free: 12.15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002826/0.1475, allocations: 241.9 kB / 0.5184 GB, free: 11.91 MB / 414.1 MB Notification: Performance of Backend: time 4.51e-07/0.1475, allocations: 0 / 0.5184 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001167/0.1487, allocations: 348.5 kB / 0.5187 GB, free: 11.57 MB / 414.1 MB Notification: Performance of SimCode: time 0.00136/0.1501, allocations: 1.05 MB / 0.5197 GB, free: 10.46 MB / 414.1 MB Notification: Performance of Templates: time 0.01337/0.1634, allocations: 5.78 MB / 0.5254 GB, free: 4.699 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat","/var/lib/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches