Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.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_evenGapLaminar_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|m_flow_4.1.|m_flow_4.2.|m_flow_4.3.|kc_OUT_1.1.|kc_OUT_1.2.|kc_OUT_1.3.|kc_OUT_2.1.|kc_OUT_2.2.|kc_OUT_2.3.|kc_OUT_3.1.|kc_OUT_3.2.|kc_OUT_3.3.|kc_OUT_4.1.|kc_OUT_4.2.|kc_OUT_4.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|Re_4.1.|Re_4.2.|Re_4.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|m_flow_4.1.|m_flow_4.2.|m_flow_4.3.|kc_OUT_1.1.|kc_OUT_1.2.|kc_OUT_1.3.|kc_OUT_2.1.|kc_OUT_2.2.|kc_OUT_2.3.|kc_OUT_3.1.|kc_OUT_3.2.|kc_OUT_3.3.|kc_OUT_4.1.|kc_OUT_4.2.|kc_OUT_4.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|Re_4.1.|Re_4.2.|Re_4.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009837/0.0009836, allocations: 193.7 kB / 16.78 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.28/1.28, allocations: 226.5 MB / 244.1 MB, free: 8.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008097/0.0008099, allocations: 102.9 kB / 296.1 MB, free: 6.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3164/0.3164, allocations: 44.82 MB / 393 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004606/0.0004607, allocations: 11.98 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.312, allocations: 62.95 MB / 0.5165 GB, free: 36.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1071/0.4191, allocations: 95.48 MB / 0.6097 GB, free: 9.891 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/0.4194, allocations: 103.9 kB / 0.6098 GB, free: 9.789 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03648/0.4559, allocations: 14.53 MB / 0.624 GB, free: 11.04 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.456, allocations: 0 / 0.624 GB, free: 11.04 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.627e-05/0.456, allocations: 12 kB / 0.624 GB, free: 11.03 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001022/0.457, allocations: 0.6436 MB / 0.6247 GB, free: 10.33 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.4571, allocations: 12.03 kB / 0.6247 GB, free: 10.32 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.4572, allocations: 52.28 kB / 0.6247 GB, free: 10.27 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004055/0.4576, allocations: 308.1 kB / 0.625 GB, free: 9.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.327e-05/0.4577, allocations: 37.69 kB / 0.6251 GB, free: 9.895 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-05/0.4577, allocations: 48.36 kB / 0.6251 GB, free: 9.848 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.4588, allocations: 0.6975 MB / 0.6258 GB, free: 9.145 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.4588, allocations: 0 / 0.6258 GB, free: 9.145 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.508e-05/0.4588, allocations: 20 kB / 0.6258 GB, free: 9.125 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.085e-05/0.4589, allocations: 45.28 kB / 0.6258 GB, free: 9.082 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.46, allocations: 0.7545 MB / 0.6266 GB, free: 8.324 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00208/0.4621, allocations: 1.434 MB / 0.628 GB, free: 6.828 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007201/0.4629, allocations: 452.4 kB / 0.6284 GB, free: 6.379 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002797/0.4632, allocations: 161.2 kB / 0.6286 GB, free: 6.219 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.225e-05/0.4632, allocations: 12.22 kB / 0.6286 GB, free: 6.207 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.4633, allocations: 42.72 kB / 0.6286 GB, free: 6.156 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 1.803e-06/0.4633, allocations: 0 / 0.6286 GB, free: 6.156 MB / 442.7 MB Notification: Performance of matching and sorting (n=28): time 0.001062/0.4643, allocations: 0.5455 MB / 0.6292 GB, free: 5.605 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.4644, allocations: 55.34 kB / 0.6292 GB, free: 5.539 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006156/0.465, allocations: 0.5251 MB / 0.6297 GB, free: 5.012 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.465, allocations: 29.7 kB / 0.6297 GB, free: 4.977 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.4652, allocations: 240.3 kB / 0.63 GB, free: 4.734 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.032e-05/0.4653, allocations: 102.6 kB / 0.6301 GB, free: 4.633 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.223e-05/0.4653, allocations: 8 kB / 0.6301 GB, free: 4.625 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.4655, allocations: 358.8 kB / 0.6304 GB, free: 4.266 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002935/0.4658, allocations: 156.5 kB / 0.6306 GB, free: 4.109 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003476/0.4661, allocations: 252.5 kB / 0.6308 GB, free: 3.824 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006752/0.4668, allocations: 447.6 kB / 0.6312 GB, free: 3.348 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.4668, allocations: 0 / 0.6312 GB, free: 3.348 MB / 442.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008552/0.4677, allocations: 0.4966 MB / 0.6317 GB, free: 2.844 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.4677, allocations: 14.97 kB / 0.6317 GB, free: 2.832 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.4677, allocations: 4 kB / 0.6317 GB, free: 2.828 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.4678, allocations: 4 kB / 0.6317 GB, free: 2.824 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009663/0.4687, allocations: 215.9 kB / 0.632 GB, free: 2.613 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003652/0.4724, allocations: 7.321 MB / 0.6391 GB, free: 11.01 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003705/0.4728, allocations: 71.3 kB / 0.6392 GB, free: 10.94 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-05/0.4728, allocations: 20 kB / 0.6392 GB, free: 10.92 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000298/0.4732, allocations: 221.7 kB / 0.6394 GB, free: 10.69 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-05/0.4732, allocations: 43.44 kB / 0.6394 GB, free: 10.65 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.4742, allocations: 0.5331 MB / 0.64 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.4743, allocations: 7.984 kB / 0.64 GB, free: 10.1 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4743, allocations: 0 / 0.64 GB, free: 10.1 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.4743, allocations: 3.938 kB / 0.64 GB, free: 10.1 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005652/0.4749, allocations: 429.2 kB / 0.6404 GB, free: 9.629 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.4749, allocations: 0 / 0.6404 GB, free: 9.629 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000818/0.4757, allocations: 207.8 kB / 0.6406 GB, free: 9.426 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.4757, allocations: 0 / 0.6406 GB, free: 9.426 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.105e-05/0.4757, allocations: 15.98 kB / 0.6406 GB, free: 9.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003649/0.4794, allocations: 7.317 MB / 0.6477 GB, free: 1.812 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4794, allocations: 0 / 0.6477 GB, free: 1.812 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007618/0.4802, allocations: 0.5156 MB / 0.6482 GB, free: 1.281 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/0.4804, allocations: 132.4 kB / 0.6484 GB, free: 1.133 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.629e-05/0.4804, allocations: 4 kB / 0.6484 GB, free: 1.129 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002768/0.4807, allocations: 15.98 kB / 0.6484 GB, free: 1.113 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.4808, allocations: 23.97 kB / 0.6484 GB, free: 1.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.257e-05/0.4809, allocations: 19.92 kB / 0.6484 GB, free: 1.07 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005334/0.4814, allocations: 391 kB / 0.6488 GB, free: 0.6914 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4814, allocations: 0 / 0.6488 GB, free: 0.6914 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007455/0.4822, allocations: 139.8 kB / 0.6489 GB, free: 0.5547 MB / 458.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003417/0.4825, allocations: 175.1 kB / 0.6491 GB, free: 384 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001788/0.4843, allocations: 0.5352 MB / 0.6496 GB, free: 15.84 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4844, allocations: 0 / 0.6496 GB, free: 15.84 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001295/0.4857, allocations: 355.7 kB / 0.65 GB, free: 15.49 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006135/0.4863, allocations: 94.73 kB / 0.6501 GB, free: 15.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.488, allocations: 1.077 MB / 0.6511 GB, free: 14.29 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004719/0.4885, allocations: 0.8819 MB / 0.652 GB, free: 13.38 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.4887, allocations: 43.42 kB / 0.652 GB, free: 13.34 MB / 474.7 MB Notification: Performance of SimCode: time 3.1e-07/0.4887, allocations: 0 / 0.652 GB, free: 13.34 MB / 474.7 MB Notification: Performance of Templates: time 0.208/0.6967, allocations: 29.4 MB / 0.6807 GB, free: 135 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapLaminar_KC/kc_evenGapLaminar_KC.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches