Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.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.Channel.kc_evenGapTurbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001152/0.001151, allocations: 179.5 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.0007399/0.0007399, allocations: 93.42 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3495/0.3495, allocations: 43.56 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005099/0.0005103, allocations: 12 kB / 431.4 MB, free: 6.133 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1346, allocations: 58.85 MB / 490.3 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.00213/0.1368, allocations: 1.571 MB / 491.8 MB, free: 9.613 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.1383, allocations: 1.034 MB / 492.9 MB, free: 8.574 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.961e-05/0.1384, allocations: 0 / 492.9 MB, free: 8.574 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.1386, allocations: 47.75 kB / 492.9 MB, free: 8.527 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.1388, allocations: 59.66 kB / 493 MB, free: 8.469 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000415/0.1392, allocations: 131.6 kB / 493.1 MB, free: 8.34 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002769/0.1395, allocations: 259 kB / 493.3 MB, free: 8.086 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.527e-05/0.1396, allocations: 25.66 kB / 493.4 MB, free: 8.059 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.1397, allocations: 83.56 kB / 493.5 MB, free: 7.977 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.1399, allocations: 107.6 kB / 493.6 MB, free: 7.871 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.1399, allocations: 8 kB / 493.6 MB, free: 7.863 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003444/0.1403, allocations: 223.6 kB / 493.8 MB, free: 7.645 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.557e-05/0.1403, allocations: 63.72 kB / 493.8 MB, free: 7.582 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.5e-05/0.1404, allocations: 53.64 kB / 493.9 MB, free: 7.523 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002461/0.1406, allocations: 199.7 kB / 494.1 MB, free: 7.328 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1407, allocations: 0 / 494.1 MB, free: 7.328 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1407, allocations: 3.938 kB / 494.1 MB, free: 7.324 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1407, allocations: 0 / 494.1 MB, free: 7.324 MB / 378.7 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.0009356/0.1416, allocations: 0.5374 MB / 494.6 MB, free: 6.738 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.1417, allocations: 12.03 kB / 494.6 MB, free: 6.727 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.211e-05/0.1417, allocations: 35.64 kB / 494.7 MB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.142, allocations: 222.7 kB / 494.9 MB, free: 6.434 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.142, allocations: 11.98 kB / 494.9 MB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.142, allocations: 16 kB / 494.9 MB, free: 6.406 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005513/0.1426, allocations: 288.6 kB / 495.2 MB, free: 6.109 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.1426, allocations: 0 / 495.2 MB, free: 6.109 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.1426, allocations: 4 kB / 495.2 MB, free: 6.105 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.154e-05/0.1427, allocations: 23.88 kB / 495.2 MB, free: 6.082 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006058/0.1433, allocations: 247.5 kB / 495.5 MB, free: 5.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.1443, allocations: 0.7695 MB / 496.2 MB, free: 5.012 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005525/0.1449, allocations: 243.7 kB / 496.5 MB, free: 4.746 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002641/0.1451, allocations: 114.5 kB / 496.6 MB, free: 4.625 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.447e-05/0.1452, allocations: 3.984 kB / 496.6 MB, free: 4.621 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.1452, allocations: 46.55 kB / 496.6 MB, free: 4.566 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.502e-06/0.1452, allocations: 0 / 496.6 MB, free: 4.566 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0009476/0.1462, allocations: 345.3 kB / 497 MB, free: 4.223 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.1462, allocations: 110.9 kB / 497.1 MB, free: 4.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/0.1465, allocations: 274.7 kB / 497.4 MB, free: 3.816 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.1465, allocations: 29.64 kB / 497.4 MB, free: 3.781 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.134e-05/0.1466, allocations: 143.9 kB / 497.5 MB, free: 3.637 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.552e-05/0.1467, allocations: 43.34 kB / 497.6 MB, free: 3.594 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.182e-05/0.1467, allocations: 4 kB / 497.6 MB, free: 3.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1468, allocations: 338.8 kB / 497.9 MB, free: 3.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002705/0.1471, allocations: 95.92 kB / 498 MB, free: 3.156 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00028/0.1474, allocations: 148.1 kB / 498.1 MB, free: 3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.1477, allocations: 112.2 kB / 498.3 MB, free: 2.891 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.1477, allocations: 0 / 498.3 MB, free: 2.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006372/0.1483, allocations: 293.2 kB / 498.5 MB, free: 2.598 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1484, allocations: 4 kB / 498.5 MB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.511e-05/0.1484, allocations: 11.98 kB / 498.6 MB, free: 2.582 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.1484, allocations: 4 kB / 498.6 MB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.1486, allocations: 39.91 kB / 498.6 MB, free: 2.539 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.1487, allocations: 0 / 498.6 MB, free: 2.539 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/0.1489, allocations: 51.69 kB / 498.6 MB, free: 2.488 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.1489, allocations: 8.188 kB / 498.7 MB, free: 2.48 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001537/0.1491, allocations: 153.7 kB / 498.8 MB, free: 2.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.418e-05/0.1491, allocations: 15.81 kB / 498.8 MB, free: 2.305 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004959/0.1496, allocations: 243 kB / 499.1 MB, free: 2.059 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.1497, allocations: 4 kB / 499.1 MB, free: 2.055 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1497, allocations: 0 / 499.1 MB, free: 2.055 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.1497, allocations: 0 / 499.1 MB, free: 2.055 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003859/0.1501, allocations: 265.4 kB / 499.3 MB, free: 1.746 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.688e-05/0.1501, allocations: 8 kB / 499.3 MB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.1503, allocations: 43.95 kB / 499.4 MB, free: 1.695 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.1503, allocations: 0 / 499.4 MB, free: 1.695 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.1503, allocations: 7.938 kB / 499.4 MB, free: 1.688 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.1503, allocations: 4 kB / 499.4 MB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1503, allocations: 0 / 499.4 MB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006843/0.151, allocations: 0.49 MB / 499.9 MB, free: 1.176 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.698e-05/0.1511, allocations: 108.7 kB / 500 MB, free: 1.051 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.268e-05/0.1512, allocations: 3.938 kB / 500 MB, free: 1.047 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/0.1514, allocations: 27.97 kB / 0.4883 GB, free: 1.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.555e-05/0.1515, allocations: 11.98 kB / 0.4883 GB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.1515, allocations: 11.94 kB / 0.4883 GB, free: 0.9961 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001901/0.1517, allocations: 201.9 kB / 0.4885 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1517, allocations: 0 / 0.4885 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004518/0.1522, allocations: 79.92 kB / 0.4886 GB, free: 0.7188 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002832/0.1525, allocations: 155.2 kB / 0.4887 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006618/0.1531, allocations: 300.9 kB / 0.489 GB, free: 248 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1531, allocations: 0 / 0.489 GB, free: 248 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003289/0.1535, allocations: 193.5 kB / 0.4892 GB, free: 36 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2042/0.3577, allocations: 44.83 kB / 0.4892 GB, free: 43.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.3592, allocations: 0.5654 MB / 0.4898 GB, free: 43.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.3595, allocations: 0.7535 MB / 0.4905 GB, free: 42.42 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.3596, allocations: 23.27 kB / 0.4906 GB, free: 42.41 MB / 378.7 MB Notification: Performance of SimCode: time 1.633e-06/0.3596, allocations: 0 / 0.4906 GB, free: 42.41 MB / 378.7 MB Notification: Performance of Templates: time 0.009518/0.3691, allocations: 3.793 MB / 0.4943 GB, free: 42.22 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent/kc_evenGapTurbulent.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches