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.001066/0.001066, allocations: 97.53 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 174.4 kB / 16.56 MB, free: 6.844 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.626/1.626, allocations: 205.4 MB / 222.7 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.415/0.415, allocations: 43.55 MB / 314.5 MB, free: 9.012 MB / 254.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.0005329/0.0005333, allocations: 12 kB / 383.9 MB, free: 8.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1413, allocations: 58.86 MB / 442.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002235/0.1436, allocations: 1.529 MB / 444.3 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.1449, allocations: 0.7417 MB / 445 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.651e-05/0.145, allocations: 0 / 445 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002469/0.1453, allocations: 43.8 kB / 445.1 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002714/0.1456, allocations: 55.83 kB / 445.1 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.1459, allocations: 79.77 kB / 445.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000245/0.1461, allocations: 155.7 kB / 445.4 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.66e-05/0.1462, allocations: 36.66 kB / 445.4 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.1464, allocations: 79.62 kB / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001757/0.1466, allocations: 91.59 kB / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.1466, allocations: 8 kB / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002403/0.1469, allocations: 119.8 kB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.933e-05/0.147, allocations: 59.8 kB / 445.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.96e-05/0.147, allocations: 61.58 kB / 445.8 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002793/0.1473, allocations: 183.5 kB / 446 MB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1473, allocations: 4 kB / 446 MB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.1473, allocations: 0 / 446 MB, free: 10.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.1473, allocations: 0 / 446 MB, free: 10.05 MB / 382.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.0007696/0.1481, allocations: 0.5106 MB / 446.5 MB, free: 9.492 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.1482, allocations: 12.03 kB / 446.5 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.339e-05/0.1483, allocations: 27.67 kB / 446.5 MB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/0.1486, allocations: 238.6 kB / 446.8 MB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.1486, allocations: 20.56 kB / 446.8 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.751e-05/0.1486, allocations: 20 kB / 446.8 MB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006132/0.1493, allocations: 381.2 kB / 447.2 MB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1493, allocations: 0 / 447.2 MB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.086e-05/0.1493, allocations: 15.95 kB / 447.2 MB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.535e-05/0.1494, allocations: 24.64 kB / 447.2 MB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005968/0.15, allocations: 386.2 kB / 447.6 MB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.1514, allocations: 0.8501 MB / 448.5 MB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004624/0.1518, allocations: 266.2 kB / 448.7 MB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.311e-05/0.1519, allocations: 3.984 kB / 448.7 MB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.1519, allocations: 42.55 kB / 448.8 MB, free: 7.117 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.332e-06/0.1519, allocations: 0 / 448.8 MB, free: 7.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007575/0.1527, allocations: 340.7 kB / 449.1 MB, free: 6.781 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.1527, allocations: 59.41 kB / 449.2 MB, free: 6.711 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003568/0.1531, allocations: 338.8 kB / 449.5 MB, free: 6.371 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.1531, allocations: 29.7 kB / 449.5 MB, free: 6.336 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.1533, allocations: 164 kB / 449.7 MB, free: 6.172 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.481e-05/0.1533, allocations: 63.17 kB / 449.7 MB, free: 6.109 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.377e-05/0.1534, allocations: 7.938 kB / 449.7 MB, free: 6.102 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1535, allocations: 342.8 kB / 450.1 MB, free: 5.758 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/0.1537, allocations: 108.3 kB / 450.2 MB, free: 5.652 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/0.154, allocations: 188 kB / 450.4 MB, free: 5.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002385/0.1542, allocations: 131.8 kB / 450.5 MB, free: 5.301 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/0.1543, allocations: 0 / 450.5 MB, free: 5.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006354/0.1549, allocations: 348.9 kB / 450.8 MB, free: 4.953 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.1549, allocations: 7.984 kB / 450.8 MB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.1549, allocations: 4 kB / 450.8 MB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.155, allocations: 4 kB / 450.9 MB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005777/0.1555, allocations: 127.8 kB / 451 MB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002142/0.1577, allocations: 3.657 MB / 454.6 MB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.1579, allocations: 47.81 kB / 454.7 MB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.678e-05/0.158, allocations: 15.97 kB / 454.7 MB, free: 0.9531 MB / 382.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 (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.0002194/0.1582, allocations: 181.7 kB / 454.9 MB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.879e-05/0.1583, allocations: 23.72 kB / 454.9 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006687/0.1589, allocations: 343.5 kB / 455.2 MB, free: 412 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.159, allocations: 0 / 455.2 MB, free: 412 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.159, allocations: 4 kB / 455.2 MB, free: 408 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.159, allocations: 0 / 455.2 MB, free: 408 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.1593, allocations: 301.4 kB / 455.5 MB, free: 56 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1593, allocations: 0 / 455.5 MB, free: 56 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2285/0.3878, allocations: 107.3 kB / 455.6 MB, free: 47.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.064e-05/0.3879, allocations: 0 / 455.6 MB, free: 47.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4e-05/0.3879, allocations: 8.141 kB / 455.6 MB, free: 47.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001345/0.3893, allocations: 3.649 MB / 459.3 MB, free: 43.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3893, allocations: 2.875 kB / 459.3 MB, free: 43.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004567/0.3897, allocations: 364.2 kB / 459.7 MB, free: 43.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.96e-05/0.3898, allocations: 106 kB / 459.8 MB, free: 43.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.402e-05/0.3899, allocations: 2.5 kB / 459.8 MB, free: 43.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.39, allocations: 13.45 kB / 459.8 MB, free: 43.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.3901, allocations: 12.2 kB / 459.8 MB, free: 43.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.851e-05/0.3901, allocations: 8.859 kB / 459.8 MB, free: 43.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002457/0.3904, allocations: 242.7 kB / 460 MB, free: 43.33 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3904, allocations: 0 / 460 MB, free: 43.33 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004112/0.3908, allocations: 73.91 kB / 460.1 MB, free: 43.33 MB / 382.1 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.0002209/0.391, allocations: 125.7 kB / 460.2 MB, free: 43.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008612/0.3919, allocations: 335.3 kB / 460.5 MB, free: 43.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3919, allocations: 3.906 kB / 460.6 MB, free: 43.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005212/0.3925, allocations: 197.7 kB / 460.7 MB, free: 43.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.3928, allocations: 64.44 kB / 460.8 MB, free: 43.24 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008447/0.3936, allocations: 0.6292 MB / 461.4 MB, free: 42.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001963/0.3938, allocations: 0.7936 MB / 462.2 MB, free: 42.28 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001923/0.394, allocations: 90.11 kB / 462.3 MB, free: 42.28 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.226e-05/0.3941, allocations: 20.84 kB / 462.3 MB, free: 42.27 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3941, allocations: 4.969 kB / 462.3 MB, free: 42.27 MB / 382.1 MB Notification: Performance of Templates: time 0.007604/0.4017, allocations: 4.771 MB / 467.1 MB, free: 41.99 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../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