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.001475/0.001475, allocations: 108.3 kB / 18.41 MB, free: 4.566 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.001994/0.001995, allocations: 187 kB / 19.34 MB, free: 3.641 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.325/1.325, allocations: 222.9 MB / 243 MB, free: 15.09 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.1914/0.1914, allocations: 44.17 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001234, allocations: 71.72 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1165, allocations: 60.83 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.00309/0.1196, allocations: 2.063 MB / 472.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001751/0.1214, allocations: 1.25 MB / 474 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.174e-05/0.1215, allocations: 3.938 kB / 474.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002597/0.1218, allocations: 71.59 kB / 474.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.1219, allocations: 79.44 kB / 474.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005127/0.1224, allocations: 191.2 kB / 474.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004247/0.1229, allocations: 430.1 kB / 474.8 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.787e-05/0.123, allocations: 48.7 kB / 474.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.1232, allocations: 155.2 kB / 475 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.1234, allocations: 179 kB / 475.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.919e-05/0.1234, allocations: 12 kB / 475.2 MB, free: 9.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004047/0.1238, allocations: 251.7 kB / 475.4 MB, free: 8.902 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.107e-05/0.1239, allocations: 83.55 kB / 475.5 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.1241, allocations: 166.9 kB / 475.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005467/0.1246, allocations: 0.5138 MB / 476.2 MB, free: 8.141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1246, allocations: 0 / 476.2 MB, free: 8.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1247, allocations: 0 / 476.2 MB, free: 8.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.1247, allocations: 4 kB / 476.2 MB, free: 8.137 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.001126/0.1258, allocations: 0.7135 MB / 476.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.1258, allocations: 8.031 kB / 476.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.35e-05/0.1259, allocations: 48.31 kB / 477 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003794/0.1263, allocations: 284.6 kB / 477.2 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.1264, allocations: 36.88 kB / 477.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.184e-05/0.1264, allocations: 40 kB / 477.3 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000865/0.1273, allocations: 0.5496 MB / 477.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1273, allocations: 0 / 477.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.492e-05/0.1274, allocations: 19.98 kB / 477.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.927e-05/0.1274, allocations: 17 kB / 477.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000751/0.1282, allocations: 419.6 kB / 478.3 MB, free: 5.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001804/0.13, allocations: 1.277 MB / 479.6 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004987/0.1305, allocations: 267.6 kB / 479.9 MB, free: 4.285 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003049/0.1308, allocations: 146.4 kB / 480 MB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.557e-05/0.1309, allocations: 15.97 kB / 480 MB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.1309, allocations: 34.56 kB / 480 MB, free: 4.074 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.713e-06/0.1309, allocations: 0 / 480 MB, free: 4.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001072/0.132, allocations: 471.2 kB / 480.5 MB, free: 3.609 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.132, allocations: 106.8 kB / 480.6 MB, free: 3.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004934/0.1325, allocations: 0.4939 MB / 481.1 MB, free: 2.984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.1326, allocations: 29.7 kB / 481.1 MB, free: 2.949 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.1327, allocations: 204.2 kB / 481.3 MB, free: 2.746 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.825e-05/0.1328, allocations: 59.25 kB / 481.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.1329, allocations: 69.61 kB / 481.5 MB, free: 2.613 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.133, allocations: 350.8 kB / 481.8 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002954/0.1333, allocations: 136 kB / 481.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004386/0.1338, allocations: 212.5 kB / 482.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006842/0.1345, allocations: 365.9 kB / 482.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.1345, allocations: 7.938 kB / 482.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008303/0.1353, allocations: 419.5 kB / 482.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1354, allocations: 4 kB / 482.9 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.275e-05/0.1354, allocations: 39.92 kB / 483 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.1355, allocations: 4 kB / 483 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.1356, allocations: 31.97 kB / 483 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.1357, allocations: 7.938 kB / 483 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003811/0.1361, allocations: 55.88 kB / 483.1 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-05/0.1361, allocations: 12 kB / 483.1 MB, free: 0.918 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.0002931/0.1364, allocations: 205.6 kB / 483.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002223/0.1367, allocations: 39.47 kB / 483.3 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/0.1379, allocations: 416.5 kB / 483.7 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.1379, allocations: 0 / 483.7 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.1379, allocations: 4 kB / 483.7 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.138, allocations: 0 / 483.7 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007863/0.1387, allocations: 361.5 kB / 484.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-05/0.1388, allocations: 27.98 kB / 484.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/0.1391, allocations: 23.97 kB / 484.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.168e-05/0.1391, allocations: 7.938 kB / 484.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.37e-05/0.1391, allocations: 12 kB / 484.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.715e-06/0.1392, allocations: 4 kB / 484.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1392, allocations: 3.938 kB / 484.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008381/0.14, allocations: 0.5755 MB / 484.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.1401, allocations: 124.5 kB / 484.8 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.438e-05/0.1402, allocations: 3.984 kB / 484.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.1405, allocations: 19.98 kB / 484.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.779e-05/0.1406, allocations: 15.98 kB / 484.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-05/0.1406, allocations: 19.98 kB / 484.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003646/0.141, allocations: 359.1 kB / 485.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.141, allocations: 4 kB / 485.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005789/0.1416, allocations: 123.8 kB / 485.4 MB, free: 14.5 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.0003528/0.1419, allocations: 183 kB / 485.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008196/0.1428, allocations: 0.5347 MB / 486.1 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1428, allocations: 4.062 kB / 486.1 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000443/0.1432, allocations: 387.1 kB / 486.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006428/0.1439, allocations: 101.5 kB / 486.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.1452, allocations: 0.7696 MB / 487.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/0.1457, allocations: 0.8497 MB / 488.2 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001507/0.1458, allocations: 67.23 kB / 488.3 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.137e-05/0.1459, allocations: 23.44 kB / 488.3 MB, free: 11.42 MB / 366.1 MB Notification: Performance of SimCode: time 2e-07/0.1459, allocations: 0 / 488.3 MB, free: 11.42 MB / 366.1 MB Notification: Performance of Templates: time 0.01214/0.1581, allocations: 7.579 MB / 495.9 MB, free: 3.941 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 -s cvode -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