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.0007588/0.0007589, allocations: 98.62 kB / 18.01 MB, free: 5.734 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.0008996/0.0008995, allocations: 177.3 kB / 18.91 MB, free: 4.871 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.33/1.33, allocations: 223.3 MB / 243 MB, free: 14.36 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.208/0.208, allocations: 44.25 MB / 338.3 MB, free: 2.488 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003123/0.0003123, allocations: 13.94 kB / 411 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1067, allocations: 61.93 MB / 472.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.002456/0.1092, allocations: 1.766 MB / 474.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002054/0.1113, allocations: 1.262 MB / 476 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.1114, allocations: 4 kB / 476 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003141/0.1118, allocations: 55.72 kB / 476 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002316/0.112, allocations: 87.5 kB / 476.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000578/0.1126, allocations: 154 kB / 476.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007692/0.1134, allocations: 0.5058 MB / 476.8 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.1135, allocations: 52.7 kB / 476.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003838/0.1139, allocations: 139.2 kB / 477 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004443/0.1144, allocations: 179.1 kB / 477.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.459e-05/0.1145, allocations: 12 kB / 477.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007402/0.1152, allocations: 255.5 kB / 477.4 MB, free: 8.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001679/0.1154, allocations: 91.53 kB / 477.5 MB, free: 8.734 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000307/0.1158, allocations: 172.7 kB / 477.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007104/0.1165, allocations: 387.2 kB / 478 MB, free: 8.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1165, allocations: 0 / 478 MB, free: 8.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1165, allocations: 0 / 478 MB, free: 8.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.1165, allocations: 0 / 478 MB, free: 8.18 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.001646/0.1182, allocations: 0.6629 MB / 478.7 MB, free: 7.469 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.1182, allocations: 15.97 kB / 478.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.1184, allocations: 40.47 kB / 478.7 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005152/0.1189, allocations: 288.6 kB / 479 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.353e-05/0.119, allocations: 32.94 kB / 479.1 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.943e-05/0.1191, allocations: 36 kB / 479.1 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.1205, allocations: 0.5691 MB / 479.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.1206, allocations: 0 / 479.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.592e-05/0.1206, allocations: 16 kB / 479.7 MB, free: 6.418 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.754e-05/0.1207, allocations: 17 kB / 479.7 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/0.1221, allocations: 435.6 kB / 480.1 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002806/0.1249, allocations: 1.285 MB / 481.4 MB, free: 4.633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000949/0.1258, allocations: 319.5 kB / 481.7 MB, free: 4.293 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005849/0.1264, allocations: 166.4 kB / 481.9 MB, free: 4.121 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.077e-05/0.1265, allocations: 11.98 kB / 481.9 MB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.1266, allocations: 34.56 kB / 481.9 MB, free: 4.066 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 2.755e-06/0.1266, allocations: 3.938 kB / 481.9 MB, free: 4.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.002044/0.1287, allocations: 0.5322 MB / 482.5 MB, free: 3.523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.376e-05/0.1287, allocations: 110.8 kB / 482.6 MB, free: 3.391 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000836/0.1296, allocations: 497.9 kB / 483.1 MB, free: 2.902 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.289e-05/0.1297, allocations: 29.7 kB / 483.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002162/0.1299, allocations: 212.2 kB / 483.3 MB, free: 2.656 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.121e-05/0.13, allocations: 59.11 kB / 483.4 MB, free: 2.598 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.896e-05/0.1301, allocations: 29.7 kB / 483.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.1303, allocations: 350.8 kB / 483.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005207/0.1308, allocations: 160.1 kB / 483.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005735/0.1314, allocations: 238.5 kB / 484.1 MB, free: 1.781 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.1326, allocations: 408.6 kB / 484.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.1326, allocations: 0 / 484.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.00146/0.1341, allocations: 472.9 kB / 485 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.1341, allocations: 8 kB / 485 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.827e-05/0.1342, allocations: 39.86 kB / 485 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.1343, allocations: 4 kB / 485 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003108/0.1346, allocations: 39.97 kB / 485.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/0.1346, allocations: 11.97 kB / 485.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004396/0.1351, allocations: 55.56 kB / 485.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.355e-05/0.1351, allocations: 12 kB / 485.1 MB, free: 0.7109 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.0003196/0.1355, allocations: 197.7 kB / 485.3 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/0.1356, allocations: 43.47 kB / 485.4 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/0.1369, allocations: 440.6 kB / 485.8 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.1369, allocations: 4 kB / 485.8 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.1369, allocations: 4 kB / 485.8 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.137, allocations: 0 / 485.8 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000779/0.1377, allocations: 373.4 kB / 486.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.627e-05/0.1378, allocations: 31.98 kB / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002026/0.1381, allocations: 31.97 kB / 486.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.1381, allocations: 3.938 kB / 486.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.1381, allocations: 12 kB / 486.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.1381, allocations: 0 / 486.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/0.1381, allocations: 3.938 kB / 486.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.1395, allocations: 0.6324 MB / 486.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.1397, allocations: 124.5 kB / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.395e-05/0.1397, allocations: 0 / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004868/0.1402, allocations: 31.97 kB / 487 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.1404, allocations: 19.98 kB / 487.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.619e-05/0.1404, allocations: 11.94 kB / 487.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005986/0.141, allocations: 363 kB / 487.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.141, allocations: 0 / 487.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009774/0.142, allocations: 123.8 kB / 487.6 MB, free: 14.2 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.000438/0.1425, allocations: 179.6 kB / 487.7 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001418/0.1439, allocations: 0.5933 MB / 488.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1439, allocations: 0 / 488.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000752/0.1447, allocations: 415.2 kB / 488.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.1459, allocations: 81.44 kB / 488.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.148, allocations: 0.9401 MB / 489.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005759/0.1486, allocations: 0.8459 MB / 490.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.1487, allocations: 27.44 kB / 490.6 MB, free: 10.94 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1487, allocations: 0 / 490.6 MB, free: 10.94 MB / 366.1 MB Notification: Performance of Templates: time 0.01643/0.1652, allocations: 7.434 MB / 498.1 MB, free: 3.559 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