Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.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.General.kc_approxForcedConvection_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.001662/0.001662, allocations: 194 kB / 18.12 MB, free: 5.383 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.38/1.38, allocations: 222.9 MB / 241.8 MB, free: 15.44 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.224/0.224, allocations: 44.17 MB / 336.1 MB, free: 2.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 65.44 kB / 407.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1388, allocations: 60.83 MB / 468.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.004041/0.1429, allocations: 2.058 MB / 470.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.1444, allocations: 0.7985 MB / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.085e-05/0.1444, allocations: 0 / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003225/0.1448, allocations: 59.72 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000317/0.1451, allocations: 115.5 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002124/0.1453, allocations: 63.78 kB / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004498/0.1458, allocations: 450.4 kB / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.49e-05/0.1459, allocations: 36.38 kB / 472.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001876/0.1461, allocations: 111.4 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.1463, allocations: 151.4 kB / 472.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.1464, allocations: 4 kB / 472.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002852/0.1467, allocations: 127.8 kB / 472.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.1468, allocations: 71.66 kB / 472.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.1469, allocations: 107.2 kB / 472.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004557/0.1474, allocations: 343 kB / 473 MB, free: 10.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1474, allocations: 0 / 473 MB, free: 10.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.81e-07/0.1474, allocations: 0 / 473 MB, free: 10.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.1474, allocations: 0 / 473 MB, free: 10.33 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.00109/0.1485, allocations: 0.5537 MB / 473.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.1486, allocations: 12.03 kB / 473.6 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.742e-05/0.1487, allocations: 28.56 kB / 473.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.149, allocations: 252.4 kB / 473.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.149, allocations: 24.5 kB / 473.9 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.58e-05/0.1491, allocations: 20 kB / 473.9 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007723/0.1499, allocations: 401.1 kB / 474.3 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1499, allocations: 0 / 474.3 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.919e-05/0.1499, allocations: 8 kB / 474.3 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-05/0.15, allocations: 28.64 kB / 474.3 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007681/0.1508, allocations: 410.3 kB / 474.7 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.1521, allocations: 0.8734 MB / 475.6 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005928/0.1527, allocations: 280.8 kB / 475.9 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000222/0.153, allocations: 96.77 kB / 476 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.642e-05/0.153, allocations: 4.062 kB / 476 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.1531, allocations: 42.44 kB / 476 MB, free: 7.172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.513e-06/0.1531, allocations: 0 / 476 MB, free: 7.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007888/0.1539, allocations: 337.1 kB / 476.3 MB, free: 6.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.1539, allocations: 51.41 kB / 476.4 MB, free: 6.773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003621/0.1543, allocations: 351.2 kB / 476.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/0.1543, allocations: 29.7 kB / 476.8 MB, free: 6.387 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.1544, allocations: 164.1 kB / 476.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.645e-05/0.1545, allocations: 47.3 kB / 477 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.19e-05/0.1546, allocations: 53.69 kB / 477 MB, free: 6.117 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1547, allocations: 342.8 kB / 477.3 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/0.155, allocations: 95.91 kB / 477.4 MB, free: 5.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.1552, allocations: 136 kB / 477.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004472/0.1557, allocations: 252.9 kB / 477.8 MB, free: 5.262 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1557, allocations: 0 / 477.8 MB, free: 5.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005618/0.1562, allocations: 304.9 kB / 478.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.1563, allocations: 4 kB / 478.1 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.1563, allocations: 4 kB / 478.1 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1563, allocations: 0 / 478.1 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005306/0.1568, allocations: 111.9 kB / 478.2 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002154/0.159, allocations: 3.669 MB / 481.9 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.1592, allocations: 35.58 kB / 481.9 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.1592, allocations: 8 kB / 481.9 MB, free: 0.9883 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001881/0.1594, allocations: 181.9 kB / 482.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.363e-05/0.1595, allocations: 31.66 kB / 482.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006511/0.1601, allocations: 327.2 kB / 482.5 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.1601, allocations: 0 / 482.5 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.1602, allocations: 7.938 kB / 482.5 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1602, allocations: 0 / 482.5 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003281/0.1605, allocations: 305.3 kB / 482.8 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1605, allocations: 0 / 482.8 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004951/0.161, allocations: 112 kB / 482.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.161, allocations: 0 / 482.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/0.1611, allocations: 12 kB / 482.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002014/0.1631, allocations: 3.664 MB / 486.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1631, allocations: 4 kB / 486.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005396/0.1636, allocations: 359.1 kB / 486.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.224e-05/0.1637, allocations: 104.8 kB / 487 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.298e-05/0.1638, allocations: 0 / 487 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.164, allocations: 11.98 kB / 487 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.101e-05/0.164, allocations: 11.98 kB / 487 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.1641, allocations: 11.98 kB / 487.1 MB, free: 11.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002556/0.1643, allocations: 253.9 kB / 487.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1643, allocations: 0 / 487.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003544/0.1647, allocations: 79.97 kB / 487.4 MB, free: 11.3 MB / 366.1 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 (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002648/0.165, allocations: 131 kB / 487.5 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008828/0.1659, allocations: 303.1 kB / 487.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1659, allocations: 0 / 487.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006544/0.1665, allocations: 191.8 kB / 488 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.167, allocations: 68.53 kB / 488.1 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.1681, allocations: 0.6564 MB / 488.7 MB, free: 9.945 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/0.1686, allocations: 0.7987 MB / 489.5 MB, free: 9.117 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001564/0.1687, allocations: 70.22 kB / 489.6 MB, free: 9.047 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.594e-05/0.1688, allocations: 23.42 kB / 489.6 MB, free: 9.023 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1688, allocations: 0 / 489.6 MB, free: 9.023 MB / 366.1 MB Notification: Performance of Templates: time 0.009666/0.1785, allocations: 5.006 MB / 494.6 MB, free: 4.098 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection_KC/kc_approxForcedConvection_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches