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.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dimlesslength|abscissa.1.|abscissa.2.|abscissa.3.|length|dimlesslength|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|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.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.3.|m_flow.1.|m_flow.2.|m_flow.3.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dimlesslength|abscissa.1.|abscissa.2.|abscissa.3.|length|dimlesslength|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|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.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.3.|m_flow.1.|m_flow.2.|m_flow.3.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001013/0.001013, allocations: 195.4 kB / 16.78 MB, free: 5.016 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.306/1.306, allocations: 226.5 MB / 244.1 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007031/0.0007033, allocations: 100.1 kB / 296.1 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3032/0.3032, allocations: 44.82 MB / 393 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002395/0.0002395, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3202, allocations: 62.96 MB / 0.5165 GB, free: 37.06 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1084/0.4287, allocations: 95.36 MB / 0.6096 GB, free: 10.01 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/0.4289, allocations: 94.45 kB / 0.6097 GB, free: 9.918 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03452/0.4635, allocations: 14.81 MB / 0.6242 GB, free: 10.89 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4635, allocations: 0 / 0.6242 GB, free: 10.89 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.4635, allocations: 4 kB / 0.6242 GB, free: 10.89 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.0008112/0.4643, allocations: 0.632 MB / 0.6248 GB, free: 10.21 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.4644, allocations: 8.031 kB / 0.6248 GB, free: 10.2 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.316e-05/0.4645, allocations: 56.38 kB / 0.6249 GB, free: 10.14 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003368/0.4648, allocations: 303.5 kB / 0.6251 GB, free: 9.809 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.266e-05/0.4649, allocations: 37.69 kB / 0.6252 GB, free: 9.77 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.263e-05/0.465, allocations: 48.38 kB / 0.6252 GB, free: 9.723 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000867/0.4658, allocations: 0.6355 MB / 0.6258 GB, free: 9.086 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.4659, allocations: 192 / 0.6258 GB, free: 9.086 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.548e-05/0.4659, allocations: 23.94 kB / 0.6259 GB, free: 9.062 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.337e-05/0.466, allocations: 33.3 kB / 0.6259 GB, free: 9.027 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006982/0.4667, allocations: 0.4969 MB / 0.6264 GB, free: 8.527 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002231/0.4689, allocations: 1.41 MB / 0.6278 GB, free: 7.062 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006889/0.4696, allocations: 439.1 kB / 0.6282 GB, free: 6.625 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000225/0.4698, allocations: 140.8 kB / 0.6283 GB, free: 6.484 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.024e-05/0.4699, allocations: 8 kB / 0.6283 GB, free: 6.477 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.4699, allocations: 46.42 kB / 0.6284 GB, free: 6.422 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 1.994e-06/0.4699, allocations: 0 / 0.6284 GB, free: 6.422 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.0008652/0.4708, allocations: 0.4947 MB / 0.6289 GB, free: 5.922 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.4709, allocations: 55.41 kB / 0.6289 GB, free: 5.855 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005773/0.4714, allocations: 0.5446 MB / 0.6294 GB, free: 5.305 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.4715, allocations: 29.7 kB / 0.6295 GB, free: 5.27 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.4717, allocations: 224 kB / 0.6297 GB, free: 5.047 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.34e-05/0.4717, allocations: 90.8 kB / 0.6298 GB, free: 4.957 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-05/0.4718, allocations: 4 kB / 0.6298 GB, free: 4.953 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.4719, allocations: 358.8 kB / 0.6301 GB, free: 4.594 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002478/0.4722, allocations: 148.2 kB / 0.6303 GB, free: 4.445 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003169/0.4725, allocations: 257.7 kB / 0.6305 GB, free: 4.152 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003413/0.4759, allocations: 1.016 MB / 0.6315 GB, free: 3.098 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.4759, allocations: 0 / 0.6315 GB, free: 3.098 MB / 442.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007777/0.4767, allocations: 0.5046 MB / 0.632 GB, free: 2.586 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.4767, allocations: 4 kB / 0.632 GB, free: 2.582 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.352e-05/0.4768, allocations: 43.98 kB / 0.632 GB, free: 2.539 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.4768, allocations: 4 kB / 0.632 GB, free: 2.535 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.477, allocations: 43.91 kB / 0.6321 GB, free: 2.492 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.4771, allocations: 4 kB / 0.6321 GB, free: 2.488 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002423/0.4773, allocations: 55.31 kB / 0.6321 GB, free: 2.434 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.296e-05/0.4774, allocations: 23.98 kB / 0.6322 GB, free: 2.41 MB / 442.7 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (41): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0002888/0.4777, allocations: 230.1 kB / 0.6324 GB, free: 2.176 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.665e-05/0.4777, allocations: 47.38 kB / 0.6324 GB, free: 2.129 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009275/0.4787, allocations: 0.5284 MB / 0.6329 GB, free: 1.586 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.4787, allocations: 4 kB / 0.6329 GB, free: 1.582 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.4787, allocations: 3.984 kB / 0.6329 GB, free: 1.578 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-06/0.4787, allocations: 8 kB / 0.6329 GB, free: 1.57 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005458/0.4793, allocations: 429.1 kB / 0.6334 GB, free: 1.102 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.307e-05/0.4793, allocations: 39.98 kB / 0.6334 GB, free: 1.062 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.4795, allocations: 31.86 kB / 0.6334 GB, free: 1.031 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.4795, allocations: 4 kB / 0.6334 GB, free: 1.027 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.344e-05/0.4796, allocations: 12 kB / 0.6334 GB, free: 1.016 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4796, allocations: 0 / 0.6334 GB, free: 1.016 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.4796, allocations: 0 / 0.6334 GB, free: 1.016 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009826/0.4806, allocations: 0.7122 MB / 0.6341 GB, free: 296 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.4807, allocations: 128.4 kB / 0.6343 GB, free: 148 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.461e-05/0.4808, allocations: 11.98 kB / 0.6343 GB, free: 136 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.4809, allocations: 8 kB / 0.6343 GB, free: 128 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/0.481, allocations: 19.98 kB / 0.6343 GB, free: 108 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.111e-05/0.481, allocations: 19.98 kB / 0.6343 GB, free: 88 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004197/0.4815, allocations: 399.1 kB / 0.6347 GB, free: 15.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4815, allocations: 0 / 0.6347 GB, free: 15.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005421/0.482, allocations: 155.9 kB / 0.6348 GB, free: 15.55 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dimlesslength) * 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: 12 * 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.0003656/0.4824, allocations: 219.2 kB / 0.6351 GB, free: 15.33 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007586/0.4832, allocations: 0.6803 MB / 0.6357 GB, free: 14.57 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4832, allocations: 0 / 0.6357 GB, free: 14.57 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004125/0.4836, allocations: 492.2 kB / 0.6362 GB, free: 14.02 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005101/0.4841, allocations: 91.58 kB / 0.6363 GB, free: 13.93 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.4859, allocations: 1.142 MB / 0.6374 GB, free: 12.75 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004333/0.4863, allocations: 0.8783 MB / 0.6382 GB, free: 11.84 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.963e-05/0.4864, allocations: 35.44 kB / 0.6383 GB, free: 11.81 MB / 458.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4864, allocations: 3.938 kB / 0.6383 GB, free: 11.8 MB / 458.7 MB Notification: Performance of Templates: time 0.01122/0.4976, allocations: 8.744 MB / 0.6468 GB, free: 3.102 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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_evenGapLaminar.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches