Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002649/0.002648, allocations: 189.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.097/2.097, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001158/0.001158, allocations: 94.86 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2911/0.2911, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000665/0.0006651, allocations: 8 kB / 431.4 MB, free: 20.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1318, allocations: 58.87 MB / 490.2 MB, free: 9.316 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002787/0.1346, allocations: 1.514 MB / 491.8 MB, free: 7.781 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.1365, allocations: 0.7494 MB / 492.5 MB, free: 7.027 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.214e-05/0.1366, allocations: 0 / 492.5 MB, free: 7.027 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00031/0.1369, allocations: 39.88 kB / 492.5 MB, free: 6.988 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003163/0.1373, allocations: 59.77 kB / 492.6 MB, free: 6.93 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004063/0.1377, allocations: 71.83 kB / 492.7 MB, free: 6.859 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003252/0.138, allocations: 167.6 kB / 492.8 MB, free: 6.695 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.1382, allocations: 32.38 kB / 492.9 MB, free: 6.66 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001787/0.1383, allocations: 75.62 kB / 492.9 MB, free: 6.586 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.1386, allocations: 91.61 kB / 493 MB, free: 6.496 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.178e-05/0.1386, allocations: 4 kB / 493 MB, free: 6.492 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003692/0.139, allocations: 123.8 kB / 493.2 MB, free: 6.371 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.774e-05/0.1391, allocations: 59.75 kB / 493.2 MB, free: 6.312 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.588e-05/0.1392, allocations: 65.58 kB / 493.3 MB, free: 6.242 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003619/0.1396, allocations: 183.8 kB / 493.5 MB, free: 6.062 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.1396, allocations: 0 / 493.5 MB, free: 6.062 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1396, allocations: 0 / 493.5 MB, free: 6.062 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.1396, allocations: 3.938 kB / 493.5 MB, free: 6.059 MB / 330.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.001049/0.1407, allocations: 0.5184 MB / 494 MB, free: 5.492 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.1407, allocations: 8.031 kB / 494 MB, free: 5.484 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.768e-05/0.1408, allocations: 31.58 kB / 494 MB, free: 5.453 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003548/0.1412, allocations: 230.7 kB / 494.2 MB, free: 5.188 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/0.1412, allocations: 20.56 kB / 494.3 MB, free: 5.168 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.722e-05/0.1413, allocations: 24 kB / 494.3 MB, free: 5.145 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.1423, allocations: 373.2 kB / 494.7 MB, free: 4.773 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.1423, allocations: 4 kB / 494.7 MB, free: 4.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.993e-05/0.1424, allocations: 8 kB / 494.7 MB, free: 4.762 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.595e-05/0.1425, allocations: 24.64 kB / 494.7 MB, free: 4.738 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.1435, allocations: 394.2 kB / 495.1 MB, free: 4.352 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002063/0.1456, allocations: 0.8501 MB / 495.9 MB, free: 3.449 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008496/0.1465, allocations: 258.3 kB / 496.2 MB, free: 3.188 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.162e-05/0.1466, allocations: 7.984 kB / 496.2 MB, free: 3.18 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.1466, allocations: 38.56 kB / 496.2 MB, free: 3.133 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 3.016e-06/0.1466, allocations: 0 / 496.2 MB, free: 3.133 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.001317/0.148, allocations: 349.2 kB / 496.6 MB, free: 2.789 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.148, allocations: 51.41 kB / 496.6 MB, free: 2.727 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005603/0.1486, allocations: 342.8 kB / 497 MB, free: 2.383 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.789e-05/0.1486, allocations: 25.7 kB / 497 MB, free: 2.352 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.1488, allocations: 222.4 kB / 497.2 MB, free: 2.133 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.638e-05/0.1489, allocations: 63.12 kB / 497.3 MB, free: 2.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.617e-05/0.1489, allocations: 8 kB / 497.3 MB, free: 2.062 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1491, allocations: 322.8 kB / 497.6 MB, free: 1.738 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003949/0.1495, allocations: 100.4 kB / 497.7 MB, free: 1.641 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004615/0.15, allocations: 191.9 kB / 497.9 MB, free: 1.414 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004777/0.1505, allocations: 131.9 kB / 498 MB, free: 1.285 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/0.1505, allocations: 3.953 kB / 498 MB, free: 1.281 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001082/0.1516, allocations: 337 kB / 498.3 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.1516, allocations: 11.8 kB / 498.3 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.1517, allocations: 8 kB / 498.3 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.1517, allocations: 4 kB / 498.3 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.1528, allocations: 127.8 kB / 498.5 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002777/0.1556, allocations: 3.649 MB / 0.4904 GB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004247/0.1561, allocations: 47.5 kB / 0.4904 GB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-05/0.1561, allocations: 15.98 kB / 0.4904 GB, free: 12.95 MB / 346.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_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 (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003392/0.1565, allocations: 181.7 kB / 0.4906 GB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.108e-05/0.1566, allocations: 23.88 kB / 0.4906 GB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/0.1578, allocations: 347.5 kB / 0.4909 GB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.463e-06/0.1579, allocations: 4 kB / 0.4909 GB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.1579, allocations: 0 / 0.4909 GB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.1579, allocations: 0 / 0.4909 GB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005862/0.1585, allocations: 297.4 kB / 0.4912 GB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.1585, allocations: 4 kB / 0.4912 GB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009915/0.1595, allocations: 103.8 kB / 0.4913 GB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.115e-05/0.1595, allocations: 4 kB / 0.4913 GB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.956e-05/0.1596, allocations: 3.984 kB / 0.4913 GB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002784/0.1624, allocations: 3.649 MB / 0.4949 GB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1624, allocations: 0 / 0.4949 GB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009788/0.1634, allocations: 361.7 kB / 0.4952 GB, free: 7.777 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.1636, allocations: 104.7 kB / 0.4953 GB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.29e-05/0.1636, allocations: 7.984 kB / 0.4954 GB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003087/0.164, allocations: 15.94 kB / 0.4954 GB, free: 7.633 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.079e-05/0.1641, allocations: 19.91 kB / 0.4954 GB, free: 7.613 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-05/0.1641, allocations: 4 kB / 0.4954 GB, free: 7.609 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004004/0.1645, allocations: 245.9 kB / 0.4956 GB, free: 7.371 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.514e-06/0.1645, allocations: 0 / 0.4956 GB, free: 7.371 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005529/0.1651, allocations: 79.94 kB / 0.4957 GB, free: 7.293 MB / 346.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 (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003069/0.1654, allocations: 135.2 kB / 0.4958 GB, free: 7.152 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001752/0.1672, allocations: 324.3 kB / 0.4961 GB, free: 6.836 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.1672, allocations: 3.938 kB / 0.4961 GB, free: 6.832 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.1684, allocations: 195.6 kB / 0.4963 GB, free: 6.645 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005571/0.169, allocations: 52.86 kB / 0.4964 GB, free: 6.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.1706, allocations: 0.6697 MB / 0.497 GB, free: 5.895 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004769/0.1711, allocations: 0.7951 MB / 0.4978 GB, free: 5.074 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.1713, allocations: 27.42 kB / 0.4978 GB, free: 5.047 MB / 346.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1713, allocations: 0 / 0.4978 GB, free: 5.047 MB / 346.7 MB Notification: Performance of Templates: time 0.02153/0.1928, allocations: 10.47 MB / 0.5081 GB, free: 10.57 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches