Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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|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_4.0.0_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|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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 117 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 189.4 kB / 18.25 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 241.9 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2064/0.2064, allocations: 44.18 MB / 336.2 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 59.38 kB / 407.9 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1188, allocations: 60.83 MB / 468.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.003405/0.1223, allocations: 1.995 MB / 470.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.124, allocations: 1.133 MB / 471.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.29e-05/0.1241, allocations: 4 kB / 471.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000268/0.1244, allocations: 63.7 kB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000243/0.1246, allocations: 91.48 kB / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004066/0.125, allocations: 135.6 kB / 472.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004457/0.1255, allocations: 477.7 kB / 472.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.631e-05/0.1256, allocations: 53.02 kB / 472.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.1257, allocations: 163.1 kB / 472.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002322/0.126, allocations: 199 kB / 473 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.262e-05/0.126, allocations: 12 kB / 473 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003859/0.1264, allocations: 275.5 kB / 473.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.1265, allocations: 103.4 kB / 473.4 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.1267, allocations: 186.7 kB / 473.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005886/0.1273, allocations: 0.5568 MB / 474.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1273, allocations: 0 / 474.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1273, allocations: 0 / 474.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.1273, allocations: 0 / 474.1 MB, free: 9.238 MB / 350.1 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.0009481/0.1283, allocations: 0.7218 MB / 474.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.1283, allocations: 8.031 kB / 474.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.1284, allocations: 48.38 kB / 474.9 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/0.1288, allocations: 295.6 kB / 475.2 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.23e-05/0.1288, allocations: 45.67 kB / 475.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.607e-05/0.1289, allocations: 52.12 kB / 475.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009121/0.1298, allocations: 0.6349 MB / 475.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.1299, allocations: 3.938 kB / 475.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.287e-05/0.1299, allocations: 16 kB / 476 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.168e-05/0.13, allocations: 37.3 kB / 476 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007896/0.1308, allocations: 0.5008 MB / 476.5 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002264/0.133, allocations: 1.41 MB / 477.9 MB, free: 5.328 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007075/0.1338, allocations: 438.1 kB / 478.3 MB, free: 4.891 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000222/0.134, allocations: 144.8 kB / 478.5 MB, free: 4.746 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.333e-05/0.1341, allocations: 15.92 kB / 478.5 MB, free: 4.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.1341, allocations: 42.5 kB / 478.5 MB, free: 4.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.783e-06/0.1341, allocations: 0 / 478.5 MB, free: 4.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.0009134/0.135, allocations: 0.4935 MB / 479 MB, free: 4.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.1351, allocations: 59.34 kB / 479.1 MB, free: 4.109 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005933/0.1357, allocations: 0.5446 MB / 479.6 MB, free: 3.555 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.308e-05/0.1357, allocations: 33.64 kB / 479.7 MB, free: 3.516 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.1359, allocations: 232 kB / 479.9 MB, free: 3.285 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.25e-05/0.1359, allocations: 82.81 kB / 480 MB, free: 3.203 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.1361, allocations: 93.92 kB / 480.1 MB, free: 3.105 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.1362, allocations: 354.8 kB / 480.4 MB, free: 2.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002589/0.1365, allocations: 152.2 kB / 480.6 MB, free: 2.602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003222/0.1368, allocations: 257.7 kB / 480.8 MB, free: 2.309 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003898/0.1407, allocations: 1.057 MB / 481.9 MB, free: 1.211 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.1407, allocations: 0 / 481.9 MB, free: 1.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007928/0.1415, allocations: 0.4928 MB / 482.4 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.1416, allocations: 14.44 kB / 482.4 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.365e-05/0.1417, allocations: 43.98 kB / 482.4 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.1417, allocations: 4 kB / 482.4 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.1419, allocations: 43.91 kB / 482.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.636e-05/0.1419, allocations: 4 kB / 482.5 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/0.1421, allocations: 59.62 kB / 482.5 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.242e-05/0.1422, allocations: 31.98 kB / 482.6 MB, free: 0.5156 MB / 350.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002782/0.1425, allocations: 221.6 kB / 482.8 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.679e-05/0.1426, allocations: 43.44 kB / 482.8 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009834/0.1436, allocations: 0.5362 MB / 483.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/0.1436, allocations: 8 kB / 483.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1436, allocations: 3.984 kB / 483.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1436, allocations: 0 / 483.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005825/0.1442, allocations: 433 kB / 483.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.413e-05/0.1443, allocations: 39.98 kB / 483.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.1444, allocations: 27.98 kB / 483.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1445, allocations: 0 / 483.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.348e-05/0.1445, allocations: 16 kB / 483.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.1445, allocations: 3.938 kB / 483.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1445, allocations: 7.938 kB / 483.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.1455, allocations: 0.7063 MB / 484.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.1457, allocations: 132.5 kB / 484.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.225e-05/0.1457, allocations: 4 kB / 484.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.1459, allocations: 11.94 kB / 484.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/0.146, allocations: 23.97 kB / 484.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/0.146, allocations: 12 kB / 484.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004009/0.1464, allocations: 403 kB / 485.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1465, allocations: 0 / 485.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004756/0.1469, allocations: 155.9 kB / 485.3 MB, free: 13.66 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003069/0.1473, allocations: 163.7 kB / 485.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008653/0.1481, allocations: 0.7272 MB / 486.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1481, allocations: 0 / 486.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004255/0.1486, allocations: 492.2 kB / 486.7 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000507/0.1491, allocations: 104.2 kB / 486.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.1509, allocations: 1.134 MB / 487.9 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004573/0.1513, allocations: 0.8895 MB / 488.8 MB, free: 9.957 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002473/0.1516, allocations: 112.2 kB / 488.9 MB, free: 9.848 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.053e-05/0.1517, allocations: 31.44 kB / 488.9 MB, free: 9.816 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1517, allocations: 0 / 488.9 MB, free: 9.816 MB / 366.1 MB Notification: Performance of Templates: time 0.01296/0.1647, allocations: 8.037 MB / 497 MB, free: 1.859 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapLaminar/kc_evenGapLaminar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches