Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.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.001832/0.001832, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.002357/0.002357, allocations: 214.3 kB / 23.73 MB, free: 4.16 MB / 14.72 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.549/1.549, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2328/0.2328, allocations: 44.93 MB / 358.8 MB, free: 6.16 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Channel.kc_evenGapTurbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|velocity.1.|velocity.2.|velocity.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_2.1.|Re_2.2.|Re_2.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|velocity.1.|velocity.2.|velocity.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_2.1.|Re_2.2.|Re_2.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002421/0.002421, allocations: 71.91 kB / 0.4935 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3549, allocations: 65.46 MB / 0.5575 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.003806/0.3587, allocations: 1.882 MB / 0.5593 GB, free: 5.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.3608, allocations: 1.045 MB / 0.5603 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.3609, allocations: 7.938 kB / 0.5603 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000256/0.3612, allocations: 47.75 kB / 0.5604 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001975/0.3614, allocations: 63.59 kB / 0.5604 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005491/0.3619, allocations: 191.3 kB / 0.5606 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003975/0.3623, allocations: 235 kB / 0.5609 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.3624, allocations: 5.812 kB / 0.5609 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002326/0.3626, allocations: 95.56 kB / 0.561 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001828/0.3628, allocations: 103.5 kB / 0.5611 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.363e-05/0.3628, allocations: 12 kB / 0.5611 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003134/0.3631, allocations: 135.8 kB / 0.5612 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.966e-05/0.3632, allocations: 59.69 kB / 0.5612 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.954e-05/0.3633, allocations: 71.59 kB / 0.5613 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005621/0.3639, allocations: 309 kB / 0.5616 GB, free: 3.094 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3639, allocations: 4 kB / 0.5616 GB, free: 3.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3639, allocations: 0 / 0.5616 GB, free: 3.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.186e-06/0.3639, allocations: 0 / 0.5616 GB, free: 3.09 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001092/0.365, allocations: 0.4888 MB / 0.5621 GB, free: 2.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.365, allocations: 8.031 kB / 0.5621 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003781/0.3654, allocations: 60.75 kB / 0.5622 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.3657, allocations: 178.9 kB / 0.5623 GB, free: 2.301 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.3657, allocations: 16.38 kB / 0.5623 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.3658, allocations: 16.12 kB / 0.5624 GB, free: 2.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005699/0.3663, allocations: 281.1 kB / 0.5626 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.3663, allocations: 4 kB / 0.5626 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.3664, allocations: 8 kB / 0.5626 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.715e-05/0.3664, allocations: 8 kB / 0.5626 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005897/0.367, allocations: 227.5 kB / 0.5629 GB, free: 1.738 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0013/0.3683, allocations: 0.6563 MB / 0.5635 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007101/0.369, allocations: 223.7 kB / 0.5637 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002737/0.3693, allocations: 98.5 kB / 0.5638 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.671e-05/0.3693, allocations: 7.984 kB / 0.5638 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.3693, allocations: 34.59 kB / 0.5639 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.3693, allocations: 0 / 0.5639 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001015/0.3703, allocations: 313.8 kB / 0.5642 GB, free: 336 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.531e-05/0.3704, allocations: 102.8 kB / 0.5642 GB, free: 208 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.3706, allocations: 194.4 kB / 0.5644 GB, free: 0 / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.3707, allocations: 29.81 kB / 0.5645 GB, free: 15.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.3708, allocations: 156.2 kB / 0.5646 GB, free: 15.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.259e-05/0.3708, allocations: 47.58 kB / 0.5647 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.038e-05/0.3709, allocations: 41.64 kB / 0.5647 GB, free: 15.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.3711, allocations: 330.8 kB / 0.565 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.3714, allocations: 83.98 kB / 0.5651 GB, free: 15.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002956/0.3717, allocations: 127.2 kB / 0.5652 GB, free: 15.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006161/0.3723, allocations: 232.7 kB / 0.5654 GB, free: 14.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3723, allocations: 0 / 0.5654 GB, free: 14.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007772/0.3731, allocations: 257.3 kB / 0.5657 GB, free: 14.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.3731, allocations: 4 kB / 0.5657 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.119e-05/0.3731, allocations: 12 kB / 0.5657 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.3731, allocations: 7.938 kB / 0.5657 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.3733, allocations: 27.97 kB / 0.5657 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.3733, allocations: 4 kB / 0.5657 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.3735, allocations: 27.92 kB / 0.5658 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.3735, allocations: 12.09 kB / 0.5658 GB, free: 14.56 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001691/0.3737, allocations: 149.7 kB / 0.5659 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.882e-05/0.3738, allocations: 19.89 kB / 0.5659 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005299/0.3743, allocations: 222.8 kB / 0.5661 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.3743, allocations: 7.938 kB / 0.5662 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3743, allocations: 0 / 0.5662 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3743, allocations: 0 / 0.5662 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003914/0.3747, allocations: 193.2 kB / 0.5663 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.111e-05/0.3747, allocations: 11.98 kB / 0.5664 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.3749, allocations: 31.97 kB / 0.5664 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3749, allocations: 0 / 0.5664 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.3749, allocations: 8 kB / 0.5664 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.3749, allocations: 3.938 kB / 0.5664 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.3749, allocations: 11.98 kB / 0.5664 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006989/0.3756, allocations: 473.8 kB / 0.5669 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.54e-05/0.3757, allocations: 19.84 kB / 0.5669 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/0.3757, allocations: 4 kB / 0.5669 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/0.376, allocations: 23.91 kB / 0.5669 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.347e-05/0.376, allocations: 11.98 kB / 0.5669 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.376, allocations: 4 kB / 0.5669 GB, free: 13.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001329/0.3762, allocations: 148.2 kB / 0.5671 GB, free: 13.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3762, allocations: 0 / 0.5671 GB, free: 13.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005027/0.3767, allocations: 83.72 kB / 0.5671 GB, free: 13.09 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003031/0.377, allocations: 162.9 kB / 0.5673 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000703/0.3777, allocations: 288.4 kB / 0.5676 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3777, allocations: 0 / 0.5676 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003512/0.378, allocations: 177 kB / 0.5677 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005007/0.3785, allocations: 37.7 kB / 0.5678 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009092/0.3794, allocations: 463 kB / 0.5682 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001769/0.3796, allocations: 151.5 kB / 0.5684 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001054/0.3797, allocations: 24.62 kB / 0.5684 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.153e-05/0.3798, allocations: 19.42 kB / 0.5684 GB, free: 11.71 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3798, allocations: 0 / 0.5684 GB, free: 11.71 MB / 414.1 MB Notification: Performance of Templates: time 0.008295/0.3881, allocations: 3.631 MB / 0.5719 GB, free: 8.148 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent/kc_evenGapTurbulent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.527905523777008]