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.000875/0.0008751, allocations: 93.94 kB / 17.35 MB, free: 6.375 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.0009264/0.0009264, allocations: 180.1 kB / 18.26 MB, free: 5.52 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.344/1.344, allocations: 223.3 MB / 242.3 MB, free: 14.49 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.1878/0.1878, allocations: 44.25 MB / 337.7 MB, free: 2.426 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003496, allocations: 11.94 kB / 410.4 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1211, allocations: 61.91 MB / 472.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.002195/0.1233, allocations: 1.777 MB / 474 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001914/0.1253, allocations: 1.262 MB / 475.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.52e-05/0.1254, allocations: 0 / 475.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003236/0.1257, allocations: 63.66 kB / 475.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.1259, allocations: 75.58 kB / 475.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005019/0.1264, allocations: 158.9 kB / 475.6 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000564/0.127, allocations: 0.5096 MB / 476.1 MB, free: 9.445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.672e-05/0.1271, allocations: 44.72 kB / 476.2 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002304/0.1273, allocations: 143.2 kB / 476.3 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002832/0.1276, allocations: 179.1 kB / 476.5 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.425e-05/0.1277, allocations: 8 kB / 476.5 MB, free: 9.074 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004897/0.1282, allocations: 263.5 kB / 476.7 MB, free: 8.816 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.1283, allocations: 83.59 kB / 476.8 MB, free: 8.734 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001636/0.1285, allocations: 184.6 kB / 477 MB, free: 8.547 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005736/0.129, allocations: 0.5101 MB / 477.5 MB, free: 8.035 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.129, allocations: 3.938 kB / 477.5 MB, free: 8.031 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1291, allocations: 0 / 477.5 MB, free: 8.031 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.1291, allocations: 0 / 477.5 MB, free: 8.031 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.001047/0.1301, allocations: 0.6474 MB / 478.2 MB, free: 7.336 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.1302, allocations: 15.97 kB / 478.2 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.987e-05/0.1302, allocations: 40.47 kB / 478.2 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003059/0.1305, allocations: 292.5 kB / 478.5 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.68e-05/0.1306, allocations: 32.92 kB / 478.5 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.497e-05/0.1307, allocations: 40 kB / 478.6 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009266/0.1316, allocations: 0.5652 MB / 479.1 MB, free: 6.297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1316, allocations: 0 / 479.1 MB, free: 6.297 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.797e-05/0.1317, allocations: 16 kB / 479.1 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-05/0.1317, allocations: 16.94 kB / 479.2 MB, free: 6.266 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008244/0.1325, allocations: 435.6 kB / 479.6 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001696/0.1343, allocations: 1.292 MB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005717/0.1348, allocations: 323.5 kB / 481.2 MB, free: 4.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003449/0.1352, allocations: 162.4 kB / 481.4 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.452e-05/0.1353, allocations: 4 kB / 481.4 MB, free: 3.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.1353, allocations: 38.55 kB / 481.4 MB, free: 3.926 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.663e-06/0.1353, allocations: 0 / 481.4 MB, free: 3.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001264/0.1366, allocations: 0.532 MB / 481.9 MB, free: 3.387 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.986e-05/0.1367, allocations: 110.9 kB / 482 MB, free: 3.254 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005267/0.1372, allocations: 497.9 kB / 482.5 MB, free: 2.766 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.1372, allocations: 29.7 kB / 482.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.1374, allocations: 212.2 kB / 482.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.014e-05/0.1375, allocations: 67.08 kB / 482.8 MB, free: 2.453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.941e-05/0.1375, allocations: 25.72 kB / 482.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1377, allocations: 354.8 kB / 483.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003446/0.138, allocations: 156.1 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004072/0.1384, allocations: 238.7 kB / 483.6 MB, free: 1.641 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007734/0.1392, allocations: 412.5 kB / 484 MB, free: 1.203 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1392, allocations: 0 / 484 MB, free: 1.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009434/0.1402, allocations: 472.9 kB / 484.4 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.1402, allocations: 8 kB / 484.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.996e-05/0.1403, allocations: 35.92 kB / 484.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.1403, allocations: 4 kB / 484.5 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.1405, allocations: 39.91 kB / 484.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.1405, allocations: 7.984 kB / 484.5 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.1408, allocations: 59.61 kB / 484.6 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.1408, allocations: 16 kB / 484.6 MB, free: 0.5664 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.0002178/0.1411, allocations: 201.6 kB / 484.8 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.251e-05/0.1411, allocations: 39.53 kB / 484.9 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008481/0.142, allocations: 440.6 kB / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.142, allocations: 4 kB / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.142, allocations: 4 kB / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.142, allocations: 0 / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005212/0.1426, allocations: 369.4 kB / 485.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-05/0.1426, allocations: 27.98 kB / 485.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.1428, allocations: 43.91 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1428, allocations: 3.938 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.1428, allocations: 8 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1428, allocations: 3.938 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.1428, allocations: 0 / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000891/0.1437, allocations: 0.6301 MB / 486.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.1439, allocations: 124.5 kB / 486.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.291e-05/0.1439, allocations: 4 kB / 486.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002766/0.1442, allocations: 23.97 kB / 486.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.815e-05/0.1443, allocations: 31.91 kB / 486.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.1443, allocations: 15.98 kB / 486.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003677/0.1447, allocations: 363 kB / 486.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1447, allocations: 0 / 486.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005337/0.1452, allocations: 123.8 kB / 487 MB, free: 14.04 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.0003404/0.1456, allocations: 171.7 kB / 487.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009707/0.1466, allocations: 0.5855 MB / 487.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.1466, allocations: 3.938 kB / 487.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000523/0.1471, allocations: 407.2 kB / 488.2 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007324/0.1479, allocations: 82.19 kB / 488.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.1492, allocations: 0.9265 MB / 489.2 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004208/0.1496, allocations: 0.8537 MB / 490.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001564/0.1498, allocations: 67.22 kB / 490.1 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.034e-05/0.1498, allocations: 27.42 kB / 490.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1498, allocations: 0 / 490.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of Templates: time 0.01155/0.1614, allocations: 7.289 MB / 497.4 MB, free: 3.566 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection/kc_approxForcedConvection.csv","../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