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.001656/0.001656, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.00195/0.00195, allocations: 211 kB / 24.48 MB, free: 3.938 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.561/1.561, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.221/0.221, allocations: 44.94 MB / 359.6 MB, free: 6.121 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.002131/0.002131, allocations: 71.89 kB / 0.4943 GB, free: 9.996 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.318, allocations: 65.47 MB / 0.5582 GB, free: 7.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.003596/0.3216, allocations: 1.874 MB / 0.5601 GB, free: 5.559 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00204/0.3236, allocations: 1.052 MB / 0.5611 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.3237, allocations: 4 kB / 0.5611 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002861/0.324, allocations: 51.69 kB / 0.5611 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002035/0.3242, allocations: 63.59 kB / 0.5612 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006316/0.3248, allocations: 183.3 kB / 0.5614 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003304/0.3252, allocations: 231 kB / 0.5616 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.977e-05/0.3252, allocations: 9.812 kB / 0.5616 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002447/0.3255, allocations: 95.56 kB / 0.5617 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.3257, allocations: 99.52 kB / 0.5618 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.938e-05/0.3257, allocations: 12 kB / 0.5618 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003439/0.326, allocations: 143.8 kB / 0.5619 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.3261, allocations: 51.81 kB / 0.562 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.3262, allocations: 75.48 kB / 0.5621 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005014/0.3267, allocations: 301.3 kB / 0.5623 GB, free: 3.211 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3267, allocations: 3.938 kB / 0.5623 GB, free: 3.207 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3268, allocations: 0 / 0.5623 GB, free: 3.207 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.3268, allocations: 0 / 0.5623 GB, free: 3.207 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.001085/0.3278, allocations: 0.4965 MB / 0.5628 GB, free: 2.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.3279, allocations: 12.03 kB / 0.5628 GB, free: 2.668 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003779/0.3283, allocations: 56.75 kB / 0.5629 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.3286, allocations: 175 kB / 0.5631 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.3286, allocations: 8.375 kB / 0.5631 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.628e-05/0.3286, allocations: 28.09 kB / 0.5631 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005691/0.3292, allocations: 281.2 kB / 0.5634 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.3292, allocations: 7.938 kB / 0.5634 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.3292, allocations: 4 kB / 0.5634 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.894e-05/0.3293, allocations: 12 kB / 0.5634 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005769/0.3298, allocations: 223.6 kB / 0.5636 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.3309, allocations: 0.6601 MB / 0.5642 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005996/0.3315, allocations: 227.7 kB / 0.5645 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002586/0.3318, allocations: 86.5 kB / 0.5645 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.788e-05/0.3318, allocations: 8 kB / 0.5646 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.3319, allocations: 34.56 kB / 0.5646 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.964e-06/0.3319, allocations: 4 kB / 0.5646 GB, free: 0.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009709/0.3328, allocations: 317.2 kB / 0.5649 GB, free: 444 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.483e-05/0.3329, allocations: 106.8 kB / 0.565 GB, free: 312 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.3331, allocations: 198.6 kB / 0.5652 GB, free: 100 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.731e-05/0.3332, allocations: 29.7 kB / 0.5652 GB, free: 64 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.3333, allocations: 148.2 kB / 0.5654 GB, free: 15.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.389e-05/0.3334, allocations: 55.58 kB / 0.5654 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.265e-05/0.3334, allocations: 41.58 kB / 0.5654 GB, free: 15.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.3336, allocations: 334.8 kB / 0.5658 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002517/0.3339, allocations: 75.92 kB / 0.5658 GB, free: 15.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002922/0.3341, allocations: 131.9 kB / 0.566 GB, free: 15.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000545/0.3347, allocations: 212.9 kB / 0.5662 GB, free: 15.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3347, allocations: 4 kB / 0.5662 GB, free: 15.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006516/0.3353, allocations: 257.2 kB / 0.5664 GB, free: 14.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.3354, allocations: 11.98 kB / 0.5664 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.824e-05/0.3354, allocations: 8 kB / 0.5664 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.3354, allocations: 4.094 kB / 0.5664 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.3356, allocations: 43.91 kB / 0.5665 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.3356, allocations: 0 / 0.5665 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.3358, allocations: 27.92 kB / 0.5665 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.3358, allocations: 4 kB / 0.5665 GB, free: 14.67 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.0001771/0.336, allocations: 149.8 kB / 0.5667 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.945e-05/0.3361, allocations: 19.89 kB / 0.5667 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005153/0.3366, allocations: 223 kB / 0.5669 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.3366, allocations: 0 / 0.5669 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.3366, allocations: 4 kB / 0.5669 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3366, allocations: 0 / 0.5669 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003944/0.337, allocations: 189.2 kB / 0.5671 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.262e-05/0.337, allocations: 15.94 kB / 0.5671 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.3372, allocations: 35.98 kB / 0.5671 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3372, allocations: 3.938 kB / 0.5671 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.3372, allocations: 4 kB / 0.5671 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.211e-06/0.3373, allocations: 3.938 kB / 0.5671 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.3373, allocations: 8 kB / 0.5671 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007725/0.338, allocations: 473.2 kB / 0.5676 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.051e-05/0.3381, allocations: 19.83 kB / 0.5676 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.529e-05/0.3381, allocations: 7.938 kB / 0.5676 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.3383, allocations: 15.92 kB / 0.5676 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.271e-05/0.3384, allocations: 23.97 kB / 0.5677 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.3384, allocations: 8 kB / 0.5677 GB, free: 13.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001379/0.3386, allocations: 140.2 kB / 0.5678 GB, free: 13.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3386, allocations: 0 / 0.5678 GB, free: 13.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004711/0.339, allocations: 87.7 kB / 0.5679 GB, free: 13.2 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.0003005/0.3393, allocations: 167 kB / 0.568 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006979/0.34, allocations: 280.8 kB / 0.5683 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.34, allocations: 4.25 kB / 0.5683 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003426/0.3404, allocations: 181 kB / 0.5685 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004979/0.3409, allocations: 24.42 kB / 0.5685 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009626/0.3418, allocations: 496.9 kB / 0.569 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.342, allocations: 143.5 kB / 0.5691 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.911e-05/0.3421, allocations: 19.44 kB / 0.5691 GB, free: 11.82 MB / 414.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3421, allocations: 4.375 kB / 0.5691 GB, free: 11.81 MB / 414.1 MB Notification: Performance of Templates: time 0.006449/0.3485, allocations: 3.594 MB / 0.5727 GB, free: 8.223 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/jenkins1/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/jenkins1/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: 8.051867595873773]