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.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,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_4.0.0_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_4.0.0_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.001471/0.001471, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001878/0.001878, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.464/1.464, allocations: 222.9 MB / 242.9 MB, free: 15.17 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.283/0.283, allocations: 44.18 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 54.06 kB / 409.1 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1541, allocations: 60.83 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.006062/0.1602, allocations: 2.072 MB / 472 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003721/0.164, allocations: 1.254 MB / 473.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.1642, allocations: 4 kB / 473.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004804/0.1647, allocations: 63.59 kB / 473.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003704/0.1651, allocations: 83.44 kB / 473.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.1663, allocations: 191.2 kB / 473.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008028/0.1671, allocations: 434 kB / 474 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.1673, allocations: 52.66 kB / 474.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003707/0.1676, allocations: 143.2 kB / 474.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004325/0.1681, allocations: 171 kB / 474.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.933e-05/0.1682, allocations: 12 kB / 474.4 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009188/0.1691, allocations: 267.6 kB / 474.7 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000166/0.1693, allocations: 83.59 kB / 474.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003136/0.1697, allocations: 154.9 kB / 474.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.1707, allocations: 0.5179 MB / 475.4 MB, free: 8.855 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1708, allocations: 0 / 475.4 MB, free: 8.855 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1708, allocations: 0 / 475.4 MB, free: 8.855 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.668e-05/0.1708, allocations: 4 kB / 475.4 MB, free: 8.852 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001926/0.1728, allocations: 0.7058 MB / 476.1 MB, free: 8.098 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.1728, allocations: 8.031 kB / 476.1 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.173, allocations: 48.38 kB / 476.2 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005254/0.1735, allocations: 288.5 kB / 476.5 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.311e-05/0.1736, allocations: 32.94 kB / 476.5 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.818e-05/0.1737, allocations: 36 kB / 476.5 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.1753, allocations: 0.5535 MB / 477.1 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.1753, allocations: 0 / 477.1 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.404e-05/0.1754, allocations: 20 kB / 477.1 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.435e-05/0.1755, allocations: 17 kB / 477.1 MB, free: 7.051 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/0.1769, allocations: 415.5 kB / 477.5 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003124/0.1801, allocations: 1.285 MB / 478.8 MB, free: 5.297 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009893/0.1811, allocations: 275.6 kB / 479.1 MB, free: 5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006163/0.1817, allocations: 142.4 kB / 479.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.171e-05/0.1818, allocations: 11.98 kB / 479.2 MB, free: 4.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.1819, allocations: 30.56 kB / 479.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 3.988e-06/0.1819, allocations: 4 kB / 479.3 MB, free: 4.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.002192/0.1841, allocations: 459.5 kB / 479.7 MB, free: 4.344 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.327e-05/0.1842, allocations: 115 kB / 479.8 MB, free: 4.207 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009554/0.1852, allocations: 0.4978 MB / 480.3 MB, free: 3.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.002e-05/0.1853, allocations: 25.7 kB / 480.3 MB, free: 3.676 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002527/0.1855, allocations: 212.2 kB / 480.5 MB, free: 3.465 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.448e-05/0.1856, allocations: 55.2 kB / 480.6 MB, free: 3.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002032/0.1859, allocations: 69.59 kB / 480.7 MB, free: 3.336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002106/0.1861, allocations: 350.8 kB / 481 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006338/0.1867, allocations: 140 kB / 481.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007125/0.1875, allocations: 208.6 kB / 481.4 MB, free: 2.605 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001398/0.1889, allocations: 373.8 kB / 481.7 MB, free: 2.203 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-06/0.1889, allocations: 3.984 kB / 481.7 MB, free: 2.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.00173/0.1907, allocations: 420.6 kB / 482.1 MB, free: 1.781 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.1907, allocations: 4 kB / 482.1 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001063/0.1908, allocations: 32.28 kB / 482.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.1909, allocations: 8 kB / 482.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003564/0.1912, allocations: 35.95 kB / 482.2 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.819e-05/0.1913, allocations: 7.938 kB / 482.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000493/0.1918, allocations: 47.58 kB / 482.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.638e-05/0.1918, allocations: 19.98 kB / 482.3 MB, free: 1.629 MB / 350.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.0003741/0.1922, allocations: 197.6 kB / 482.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/0.1924, allocations: 39.53 kB / 482.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001483/0.1939, allocations: 404 kB / 482.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.194, allocations: 4 kB / 482.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/0.194, allocations: 11.98 kB / 482.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.194, allocations: 4 kB / 482.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009577/0.195, allocations: 357.4 kB / 483.3 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-05/0.1951, allocations: 31.98 kB / 483.3 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002753/0.1954, allocations: 23.97 kB / 483.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.1954, allocations: 7.875 kB / 483.3 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.002e-05/0.1955, allocations: 12 kB / 483.4 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.116e-06/0.1955, allocations: 3.938 kB / 483.4 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.1955, allocations: 4 kB / 483.4 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/0.1971, allocations: 0.5779 MB / 483.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001775/0.1973, allocations: 120.5 kB / 484.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.1974, allocations: 12 kB / 484.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005675/0.198, allocations: 15.97 kB / 484.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.1981, allocations: 19.98 kB / 484.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.715e-05/0.1982, allocations: 12 kB / 484.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006775/0.1989, allocations: 367 kB / 484.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.907e-06/0.1989, allocations: 0 / 484.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001006/0.1999, allocations: 119.8 kB / 484.6 MB, free: 15.23 MB / 366.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.0004273/0.2004, allocations: 175.1 kB / 484.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001649/0.202, allocations: 0.5575 MB / 485.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.2021, allocations: 0 / 485.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008558/0.2029, allocations: 388.3 kB / 485.7 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.2042, allocations: 101.5 kB / 485.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.2062, allocations: 0.802 MB / 486.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.2067, allocations: 0.8419 MB / 487.4 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.286e-05/0.2067, allocations: 35.36 kB / 487.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2067, allocations: 0 / 487.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of Templates: time 0.01137/0.2181, allocations: 7.385 MB / 494.9 MB, free: 4.812 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection/kc_approxForcedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches