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.001023/0.001023, allocations: 101.2 kB / 17.01 MB, free: 6.059 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.001146/0.001146, allocations: 183.3 kB / 17.89 MB, free: 5.645 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.33/1.33, allocations: 223.2 MB / 241.9 MB, free: 336 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2032/0.2032, allocations: 44.25 MB / 337.3 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000441/0.000441, allocations: 9.188 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1405, allocations: 61.93 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.002426/0.143, allocations: 1.601 MB / 473.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.1448, allocations: 1.018 MB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.145, allocations: 4 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002631/0.1453, allocations: 51.72 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000312/0.1456, allocations: 91.48 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004726/0.1461, allocations: 131.5 kB / 474.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005944/0.1467, allocations: 0.5211 MB / 475 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.1468, allocations: 57 kB / 475.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002583/0.1471, allocations: 151.2 kB / 475.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000337/0.1475, allocations: 199.1 kB / 475.4 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.465e-05/0.1475, allocations: 8 kB / 475.4 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004894/0.148, allocations: 251.5 kB / 475.7 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.1482, allocations: 107.5 kB / 475.8 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.1483, allocations: 89.45 kB / 475.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005059/0.1488, allocations: 399.1 kB / 476.3 MB, free: 8.996 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1488, allocations: 0 / 476.3 MB, free: 8.996 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1488, allocations: 0 / 476.3 MB, free: 8.996 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.1489, allocations: 4 kB / 476.3 MB, free: 8.992 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.0009626/0.1498, allocations: 0.632 MB / 476.9 MB, free: 8.312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.1499, allocations: 8.031 kB / 476.9 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.15, allocations: 51.34 kB / 477 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003893/0.1504, allocations: 290.4 kB / 477.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.092e-05/0.1504, allocations: 37.31 kB / 477.3 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.153e-05/0.1505, allocations: 47.98 kB / 477.3 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009596/0.1515, allocations: 0.631 MB / 478 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.1515, allocations: 0 / 478 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.275e-05/0.1516, allocations: 24 kB / 478 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.452e-05/0.1516, allocations: 37.23 kB / 478 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000802/0.1524, allocations: 0.5008 MB / 478.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002408/0.1549, allocations: 1.41 MB / 479.9 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007509/0.1556, allocations: 426.1 kB / 480.3 MB, free: 4.758 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002348/0.1559, allocations: 140.8 kB / 480.5 MB, free: 4.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.378e-05/0.1559, allocations: 19.92 kB / 480.5 MB, free: 4.598 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.156, allocations: 34.56 kB / 480.5 MB, free: 4.555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.974e-06/0.156, allocations: 0 / 480.5 MB, free: 4.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.0009941/0.157, allocations: 0.4974 MB / 481 MB, free: 4.051 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.157, allocations: 59.34 kB / 481.1 MB, free: 3.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006801/0.1577, allocations: 0.5446 MB / 481.6 MB, free: 3.426 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.297e-05/0.1578, allocations: 29.7 kB / 481.7 MB, free: 3.391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.158, allocations: 228 kB / 481.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.032e-05/0.1581, allocations: 86.8 kB / 482 MB, free: 3.078 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.158e-05/0.1581, allocations: 4 kB / 482 MB, free: 3.074 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1582, allocations: 362.8 kB / 482.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002627/0.1585, allocations: 156.2 kB / 482.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003282/0.1588, allocations: 249.8 kB / 482.7 MB, free: 2.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003927/0.1592, allocations: 197.2 kB / 482.9 MB, free: 2.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.1593, allocations: 0 / 482.9 MB, free: 2.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008261/0.1601, allocations: 0.4984 MB / 483.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.1601, allocations: 8 kB / 483.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.625e-05/0.1602, allocations: 43.98 kB / 483.5 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.1602, allocations: 4 kB / 483.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.1605, allocations: 44.31 kB / 483.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.1605, allocations: 8 kB / 483.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002805/0.1608, allocations: 55.31 kB / 483.6 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.279e-05/0.1608, allocations: 20 kB / 483.6 MB, free: 1.395 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003253/0.1612, allocations: 228.5 kB / 483.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.64e-05/0.1612, allocations: 47.42 kB / 483.9 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009877/0.1622, allocations: 0.54 MB / 484.4 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.1623, allocations: 4 kB / 484.4 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1623, allocations: 0 / 484.4 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.1623, allocations: 3.984 kB / 484.4 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006104/0.1629, allocations: 429.2 kB / 484.8 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.471e-05/0.163, allocations: 39.98 kB / 484.9 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.1631, allocations: 27.92 kB / 484.9 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1631, allocations: 0 / 484.9 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.202e-05/0.1632, allocations: 12 kB / 484.9 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.1632, allocations: 11.94 kB / 484.9 MB, free: 0 / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1632, allocations: 0 / 484.9 MB, free: 0 / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.1642, allocations: 0.7105 MB / 485.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.1644, allocations: 124.5 kB / 485.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.515e-05/0.1644, allocations: 8 kB / 485.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.1646, allocations: 4 kB / 485.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.81e-05/0.1647, allocations: 27.97 kB / 485.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.93e-05/0.1647, allocations: 16 kB / 485.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004211/0.1652, allocations: 399.1 kB / 486.2 MB, free: 14.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1652, allocations: 0 / 486.2 MB, free: 14.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005157/0.1657, allocations: 143.9 kB / 486.3 MB, free: 14.55 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 (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.0003079/0.166, allocations: 159.5 kB / 486.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008044/0.1668, allocations: 0.6757 MB / 487.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1668, allocations: 0 / 487.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004322/0.1673, allocations: 492.2 kB / 487.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005334/0.1678, allocations: 97.34 kB / 487.8 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/0.1698, allocations: 1.128 MB / 488.9 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005311/0.1703, allocations: 0.8783 MB / 489.8 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003094/0.1707, allocations: 120.1 kB / 489.9 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.13e-05/0.1708, allocations: 35.44 kB / 489.9 MB, free: 10.78 MB / 366.1 MB Notification: Performance of SimCode: time 1.232e-06/0.1708, allocations: 3.938 kB / 489.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of Templates: time 0.01353/0.1843, allocations: 7.5 MB / 497.4 MB, free: 3.355 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