Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.General.kc_approxForcedConvection,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.|Re_1.1.|Re_1.2.|Re_1.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.|m_flow.1.|m_flow.2.|m_flow.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,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.|Re_1.1.|Re_1.2.|Re_1.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.|m_flow.1.|m_flow.2.|m_flow.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005543/0.005543, allocations: 104.2 kB / 15.87 MB, free: 6.242 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.001331/0.001332, allocations: 194.1 kB / 16.79 MB, free: 6.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 205.1 MB / 222.6 MB, free: 4.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3805/0.3805, allocations: 43.5 MB / 313.5 MB, free: 8.531 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 59.91 kB / 382.1 MB, free: 8.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1466, allocations: 57.78 MB / 439.8 MB, free: 14.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.003835/0.1505, allocations: 2.12 MB / 442 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002088/0.1526, allocations: 1.333 MB / 443.3 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.158e-05/0.1527, allocations: 4 kB / 443.3 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002699/0.153, allocations: 55.72 kB / 443.4 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001487/0.1531, allocations: 75.52 kB / 443.4 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004449/0.1536, allocations: 159.5 kB / 443.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004458/0.1541, allocations: 0.5058 MB / 444.1 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.07e-05/0.1541, allocations: 52.7 kB / 444.1 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001803/0.1543, allocations: 139.2 kB / 444.3 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.1546, allocations: 179.1 kB / 444.4 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.246e-05/0.1546, allocations: 12 kB / 444.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004293/0.155, allocations: 263.6 kB / 444.7 MB, free: 9.898 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.1551, allocations: 79.55 kB / 444.8 MB, free: 9.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.1553, allocations: 170.8 kB / 445 MB, free: 9.652 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006195/0.1559, allocations: 0.4984 MB / 445.5 MB, free: 9.152 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.156, allocations: 0 / 445.5 MB, free: 9.152 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.156, allocations: 0 / 445.5 MB, free: 9.152 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.156, allocations: 0 / 445.5 MB, free: 9.152 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001374/0.1574, allocations: 0.7291 MB / 446.2 MB, free: 8.371 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.1574, allocations: 8.031 kB / 446.2 MB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.646e-05/0.1575, allocations: 40.47 kB / 446.2 MB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.1579, allocations: 280.6 kB / 446.5 MB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.544e-05/0.158, allocations: 32.94 kB / 446.5 MB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.121e-05/0.158, allocations: 39.94 kB / 446.6 MB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009023/0.1589, allocations: 0.5574 MB / 447.1 MB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.1589, allocations: 0 / 447.1 MB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.656e-05/0.159, allocations: 16 kB / 447.2 MB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-05/0.159, allocations: 17 kB / 447.2 MB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007725/0.1598, allocations: 419.6 kB / 447.6 MB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001832/0.1616, allocations: 1.277 MB / 448.9 MB, free: 5.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005307/0.1622, allocations: 279.5 kB / 449.1 MB, free: 5.289 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003153/0.1625, allocations: 146.4 kB / 449.3 MB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.125e-05/0.1626, allocations: 7.984 kB / 449.3 MB, free: 5.129 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.1626, allocations: 42.56 kB / 449.3 MB, free: 5.078 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.473e-06/0.1626, allocations: 7.938 kB / 449.3 MB, free: 5.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001147/0.1638, allocations: 460.9 kB / 449.8 MB, free: 4.613 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.018e-05/0.1639, allocations: 110.8 kB / 449.9 MB, free: 4.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005643/0.1644, allocations: 497.9 kB / 450.4 MB, free: 3.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.1645, allocations: 25.7 kB / 450.4 MB, free: 3.949 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.1647, allocations: 212.2 kB / 450.6 MB, free: 3.734 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.118e-05/0.1648, allocations: 63.09 kB / 450.7 MB, free: 3.672 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.165, allocations: 57.7 kB / 450.7 MB, free: 3.609 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000274/0.1652, allocations: 354.8 kB / 451.1 MB, free: 3.254 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003374/0.1656, allocations: 132.1 kB / 451.2 MB, free: 3.125 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003724/0.166, allocations: 218.6 kB / 451.4 MB, free: 2.875 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007032/0.1667, allocations: 361.7 kB / 451.8 MB, free: 2.488 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.1667, allocations: 0 / 451.8 MB, free: 2.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008273/0.1675, allocations: 428.9 kB / 452.2 MB, free: 2.062 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.1676, allocations: 4 kB / 452.2 MB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.228e-05/0.1676, allocations: 39.92 kB / 452.2 MB, free: 2.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.1677, allocations: 4 kB / 452.2 MB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.1679, allocations: 31.97 kB / 452.3 MB, free: 1.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.1679, allocations: 7.938 kB / 452.3 MB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002719/0.1682, allocations: 59.41 kB / 452.3 MB, free: 1.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.1682, allocations: 24.09 kB / 452.4 MB, free: 1.895 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (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 (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0002217/0.1685, allocations: 194.5 kB / 452.5 MB, free: 1.695 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.668e-05/0.1686, allocations: 39.47 kB / 452.6 MB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007944/0.1694, allocations: 400.7 kB / 453 MB, free: 1.262 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.1694, allocations: 4 kB / 453 MB, free: 1.258 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.1694, allocations: 4 kB / 453 MB, free: 1.254 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1694, allocations: 0 / 453 MB, free: 1.254 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006112/0.17, allocations: 369.3 kB / 453.3 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.542e-05/0.1701, allocations: 31.98 kB / 453.4 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.1702, allocations: 23.97 kB / 453.4 MB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/0.1703, allocations: 7.938 kB / 453.4 MB, free: 0.7812 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.1703, allocations: 8 kB / 453.4 MB, free: 0.7734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.1703, allocations: 4 kB / 453.4 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.1703, allocations: 3.938 kB / 453.4 MB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008217/0.1711, allocations: 0.5794 MB / 454 MB, free: 172 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.1712, allocations: 128.5 kB / 454.1 MB, free: 24 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.411e-05/0.1713, allocations: 0 / 454.1 MB, free: 24 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.1716, allocations: 15.98 kB / 454.1 MB, free: 8 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.24/0.4116, allocations: 18.45 kB / 454.2 MB, free: 49.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.775e-05/0.4117, allocations: 13.09 kB / 454.2 MB, free: 49.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004748/0.4122, allocations: 360.3 kB / 454.5 MB, free: 49.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4122, allocations: 8.078 kB / 454.5 MB, free: 49.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007452/0.4129, allocations: 117.7 kB / 454.6 MB, free: 49.07 MB / 382.1 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0003987/0.4133, allocations: 183 kB / 454.8 MB, free: 48.99 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008524/0.4142, allocations: 0.5389 MB / 455.4 MB, free: 48.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4142, allocations: 1.031 kB / 455.4 MB, free: 48.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003766/0.4146, allocations: 389.6 kB / 455.7 MB, free: 48.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006758/0.4153, allocations: 94.81 kB / 455.8 MB, free: 48.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.4165, allocations: 0.874 MB / 456.7 MB, free: 48.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.4168, allocations: 0.8467 MB / 457.6 MB, free: 47.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001611/0.417, allocations: 69.38 kB / 457.6 MB, free: 47.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.763e-05/0.417, allocations: 26.56 kB / 457.7 MB, free: 47.35 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.417, allocations: 0 / 457.7 MB, free: 47.35 MB / 382.1 MB Notification: Performance of Templates: time 0.01254/0.4296, allocations: 7.204 MB / 464.9 MB, free: 46.87 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection/kc_approxForcedConvection.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches