Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001008/0.001009, allocations: 195.2 kB / 16.78 MB, free: 5.012 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.277/1.277, allocations: 226.5 MB / 244.1 MB, free: 8.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008291/0.0008294, allocations: 100.2 kB / 296.1 MB, free: 6.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2959/0.2959, allocations: 44.82 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002983/0.0002983, allocations: 8 kB / 465.9 MB, free: 12.69 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2928, allocations: 62.95 MB / 0.5165 GB, free: 36.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1075/0.4004, allocations: 94.18 MB / 0.6085 GB, free: 11.18 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.4007, allocations: 103.9 kB / 0.6086 GB, free: 11.08 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02594/0.4266, allocations: 10.06 MB / 0.6184 GB, free: 0.9648 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4266, allocations: 0 / 0.6184 GB, free: 0.9648 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.4267, allocations: 4 kB / 0.6184 GB, free: 0.9609 MB / 426.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.0008369/0.4275, allocations: 0.5258 MB / 0.6189 GB, free: 392 kB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.4276, allocations: 12.02 kB / 0.6189 GB, free: 380 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003581/0.4279, allocations: 68.62 kB / 0.619 GB, free: 312 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.4282, allocations: 238.2 kB / 0.6192 GB, free: 36 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.4282, allocations: 8.375 kB / 0.6192 GB, free: 28 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.4283, allocations: 16.38 kB / 0.6192 GB, free: 12 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000574/0.4289, allocations: 293.1 kB / 0.6195 GB, free: 15.71 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.4289, allocations: 192 / 0.6195 GB, free: 15.71 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.4289, allocations: 11.94 kB / 0.6195 GB, free: 15.7 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.172e-05/0.4289, allocations: 15.73 kB / 0.6195 GB, free: 15.68 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005607/0.4295, allocations: 248.4 kB / 0.6198 GB, free: 15.44 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.4306, allocations: 0.7734 MB / 0.6205 GB, free: 14.61 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005764/0.4312, allocations: 239.7 kB / 0.6208 GB, free: 14.34 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002716/0.4315, allocations: 114.5 kB / 0.6209 GB, free: 14.22 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.055e-05/0.4316, allocations: 4 kB / 0.6209 GB, free: 14.22 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.4316, allocations: 42.59 kB / 0.6209 GB, free: 14.17 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 1.713e-06/0.4316, allocations: 0 / 0.6209 GB, free: 14.17 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.0009634/0.4326, allocations: 345.5 kB / 0.6212 GB, free: 13.82 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/0.4327, allocations: 114.7 kB / 0.6214 GB, free: 13.69 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/0.4329, allocations: 274.5 kB / 0.6216 GB, free: 13.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.433, allocations: 33.62 kB / 0.6216 GB, free: 13.37 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.4331, allocations: 132 kB / 0.6218 GB, free: 13.23 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.476e-05/0.4331, allocations: 51.2 kB / 0.6218 GB, free: 13.18 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.348e-05/0.4332, allocations: 4 kB / 0.6218 GB, free: 13.18 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.4333, allocations: 334.8 kB / 0.6221 GB, free: 12.84 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002485/0.4336, allocations: 95.91 kB / 0.6222 GB, free: 12.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002613/0.4338, allocations: 137.2 kB / 0.6224 GB, free: 12.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005015/0.4343, allocations: 248.9 kB / 0.6226 GB, free: 12.34 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.4344, allocations: 4 kB / 0.6226 GB, free: 12.33 MB / 442.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006134/0.435, allocations: 293.1 kB / 0.6229 GB, free: 12.04 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.435, allocations: 4 kB / 0.6229 GB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.847e-05/0.435, allocations: 12 kB / 0.6229 GB, free: 12.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.4351, allocations: 7.984 kB / 0.6229 GB, free: 12.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.4353, allocations: 43.95 kB / 0.623 GB, free: 11.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.4353, allocations: 3.938 kB / 0.623 GB, free: 11.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.4355, allocations: 39.86 kB / 0.623 GB, free: 11.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.4355, allocations: 8 kB / 0.623 GB, free: 11.92 MB / 442.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.0001494/0.4357, allocations: 150.1 kB / 0.6231 GB, free: 11.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.572e-05/0.4358, allocations: 19.72 kB / 0.6232 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004918/0.4363, allocations: 239.1 kB / 0.6234 GB, free: 11.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.4363, allocations: 7.984 kB / 0.6234 GB, free: 11.49 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.4363, allocations: 3.938 kB / 0.6234 GB, free: 11.49 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.4363, allocations: 0 / 0.6234 GB, free: 11.49 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004037/0.4367, allocations: 269.4 kB / 0.6237 GB, free: 11.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-05/0.4367, allocations: 12 kB / 0.6237 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.4369, allocations: 35.97 kB / 0.6237 GB, free: 11.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.4369, allocations: 0 / 0.6237 GB, free: 11.13 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.437, allocations: 4 kB / 0.6237 GB, free: 11.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.437, allocations: 7.922 kB / 0.6237 GB, free: 11.12 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.437, allocations: 7.938 kB / 0.6237 GB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000647/0.4376, allocations: 497.7 kB / 0.6242 GB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.195e-05/0.4377, allocations: 108.8 kB / 0.6243 GB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.42e-05/0.4378, allocations: 4 kB / 0.6243 GB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/0.438, allocations: 19.98 kB / 0.6243 GB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.58e-05/0.4381, allocations: 19.91 kB / 0.6243 GB, free: 10.44 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.4381, allocations: 8 kB / 0.6244 GB, free: 10.43 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001947/0.4383, allocations: 201.9 kB / 0.6245 GB, free: 10.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4383, allocations: 0 / 0.6245 GB, free: 10.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000473/0.4388, allocations: 91.83 kB / 0.6246 GB, free: 10.14 MB / 442.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.0003094/0.4391, allocations: 187.1 kB / 0.6248 GB, free: 9.949 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006129/0.4397, allocations: 301.1 kB / 0.6251 GB, free: 9.637 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.4397, allocations: 0 / 0.6251 GB, free: 9.637 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003065/0.4401, allocations: 201 kB / 0.6253 GB, free: 9.422 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005262/0.4406, allocations: 43.03 kB / 0.6253 GB, free: 9.383 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008071/0.4414, allocations: 0.5521 MB / 0.6259 GB, free: 8.793 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.4417, allocations: 0.7557 MB / 0.6266 GB, free: 8.012 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.705e-05/0.4418, allocations: 23.42 kB / 0.6266 GB, free: 7.992 MB / 442.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4418, allocations: 0 / 0.6266 GB, free: 7.992 MB / 442.7 MB Notification: Performance of Templates: time 0.005455/0.4473, allocations: 3.932 MB / 0.6305 GB, free: 4.086 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches