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_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.Channel.kc_evenGapTurbulent_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow.1.|m_flow.2.|kc_OUT_1.1.|kc_OUT_1.2.|Re.1.|Re.2.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow.1.|m_flow.2.|kc_OUT_1.1.|kc_OUT_1.2.|Re.1.|Re.2.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001511/0.001511, allocations: 181.3 kB / 13.66 MB, free: 1.664 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.059/2.059, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.00105/0.001049, allocations: 86.64 kB / 267.5 MB, free: 14.04 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.2716/0.2716, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.633e-05/3.652e-05, allocations: 8 kB / 425.3 MB, free: 23.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1208, allocations: 58.84 MB / 484.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4709/0.5917, allocations: 89.91 MB / 0.5606 GB, free: 13.67 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003475/0.5921, allocations: 98.66 kB / 0.5607 GB, free: 13.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03095/0.6231, allocations: 6.741 MB / 0.5673 GB, free: 7.852 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6231, allocations: 0 / 0.5673 GB, free: 7.852 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.558e-05/0.6232, allocations: 7.938 kB / 0.5673 GB, free: 7.844 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006875/0.6239, allocations: 416.6 kB / 0.5677 GB, free: 7.402 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.6239, allocations: 8.031 kB / 0.5677 GB, free: 7.395 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.135e-05/0.624, allocations: 15.81 kB / 0.5677 GB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.6243, allocations: 205.3 kB / 0.5679 GB, free: 7.145 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.6243, allocations: 11.67 kB / 0.5679 GB, free: 7.137 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.6244, allocations: 8 kB / 0.5679 GB, free: 7.129 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003805/0.6247, allocations: 150.5 kB / 0.5681 GB, free: 7.008 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.6248, allocations: 4 kB / 0.5681 GB, free: 7.004 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.6248, allocations: 3 kB / 0.5681 GB, free: 7.004 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.976e-05/0.6248, allocations: 11.98 kB / 0.5681 GB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000347/0.6252, allocations: 151.4 kB / 0.5682 GB, free: 6.879 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.6264, allocations: 492.7 kB / 0.5687 GB, free: 6.395 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005517/0.6269, allocations: 149.3 kB / 0.5688 GB, free: 6.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.6271, allocations: 47.81 kB / 0.5689 GB, free: 6.207 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.554e-05/0.6271, allocations: 3.438 kB / 0.5689 GB, free: 6.207 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.6272, allocations: 38.56 kB / 0.5689 GB, free: 6.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 3.226e-06/0.6272, allocations: 0 / 0.5689 GB, free: 6.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004259/0.6276, allocations: 124.4 kB / 0.569 GB, free: 6.043 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.6277, allocations: 55.41 kB / 0.5691 GB, free: 5.977 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002586/0.6279, allocations: 179.6 kB / 0.5693 GB, free: 5.805 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.628, allocations: 25.7 kB / 0.5693 GB, free: 5.773 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.934e-05/0.6281, allocations: 180.3 kB / 0.5695 GB, free: 5.609 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.037e-05/0.6281, allocations: 26.69 kB / 0.5695 GB, free: 5.586 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.188e-05/0.6282, allocations: 3.875 kB / 0.5695 GB, free: 5.586 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.6283, allocations: 318.8 kB / 0.5698 GB, free: 5.266 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.6284, allocations: 34.23 kB / 0.5698 GB, free: 5.238 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.6286, allocations: 64.41 kB / 0.5699 GB, free: 5.172 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.6287, allocations: 49.41 kB / 0.5699 GB, free: 5.129 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.6287, allocations: 0 / 0.5699 GB, free: 5.129 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003658/0.6291, allocations: 133.8 kB / 0.5701 GB, free: 5.008 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.6292, allocations: 7.984 kB / 0.5701 GB, free: 5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.6292, allocations: 0 / 0.5701 GB, free: 5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.6292, allocations: 4 kB / 0.5701 GB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005068/0.6297, allocations: 47.91 kB / 0.5701 GB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008867/0.6306, allocations: 1.22 MB / 0.5713 GB, free: 3.695 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/0.6309, allocations: 22.73 kB / 0.5713 GB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.6309, allocations: 4 kB / 0.5713 GB, free: 3.672 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001203/0.631, allocations: 111.7 kB / 0.5715 GB, free: 3.559 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.396e-05/0.6311, allocations: 19.77 kB / 0.5715 GB, free: 3.539 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004714/0.6316, allocations: 158.7 kB / 0.5716 GB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.6316, allocations: 0 / 0.5716 GB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.6316, allocations: 0 / 0.5716 GB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.6316, allocations: 0 / 0.5716 GB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003448/0.632, allocations: 225.7 kB / 0.5718 GB, free: 3.141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.632, allocations: 0 / 0.5718 GB, free: 3.141 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004549/0.6325, allocations: 51.95 kB / 0.5719 GB, free: 3.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.6325, allocations: 0 / 0.5719 GB, free: 3.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.6325, allocations: 3.953 kB / 0.5719 GB, free: 3.086 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008206/0.6333, allocations: 1.218 MB / 0.5731 GB, free: 1.836 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.6334, allocations: 4.188 kB / 0.5731 GB, free: 1.832 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003841/0.6338, allocations: 231 kB / 0.5733 GB, free: 1.605 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.122e-05/0.6339, allocations: 88.92 kB / 0.5734 GB, free: 1.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.843e-05/0.6339, allocations: 0 / 0.5734 GB, free: 1.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.6341, allocations: 15.17 kB / 0.5734 GB, free: 1.488 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.891e-05/0.6342, allocations: 7.984 kB / 0.5734 GB, free: 1.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.6342, allocations: 3.938 kB / 0.5734 GB, free: 1.477 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001889/0.6344, allocations: 154.9 kB / 0.5736 GB, free: 1.344 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6345, allocations: 0 / 0.5736 GB, free: 1.344 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004408/0.6349, allocations: 51.86 kB / 0.5736 GB, free: 1.297 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003125/0.6352, allocations: 150.3 kB / 0.5738 GB, free: 1.145 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005741/0.6358, allocations: 113.9 kB / 0.5739 GB, free: 1.047 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6358, allocations: 0 / 0.5739 GB, free: 1.047 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003705/0.6362, allocations: 74.7 kB / 0.5739 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.6366, allocations: 24.67 kB / 0.574 GB, free: 0.9609 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006271/0.6372, allocations: 232.5 kB / 0.5742 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.6376, allocations: 0.7352 MB / 0.5749 GB, free: 15.96 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.851e-05/0.6377, allocations: 15.44 kB / 0.5749 GB, free: 15.95 MB / 394.7 MB Notification: Performance of SimCode: time 9.92e-07/0.6377, allocations: 0 / 0.5749 GB, free: 15.95 MB / 394.7 MB Notification: Performance of Templates: time 0.008379/0.6461, allocations: 3.474 MB / 0.5783 GB, free: 12.48 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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/Channel/kc_evenGapTurbulent_KC/kc_evenGapTurbulent_KC.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches