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.00113/0.00113, allocations: 110.1 kB / 17.86 MB, free: 5.504 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.001344/0.001344, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.379/1.379, allocations: 222.9 MB / 242.5 MB, free: 13.65 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.239/0.239, allocations: 44.18 MB / 336.8 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.001281, allocations: 63.75 kB / 408.4 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1248, allocations: 60.83 MB / 469.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.003322/0.1281, allocations: 2.12 MB / 471.3 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.13, allocations: 1.281 MB / 472.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.669e-05/0.13, allocations: 0 / 472.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002779/0.1303, allocations: 59.72 kB / 472.7 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.1305, allocations: 83.52 kB / 472.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004346/0.1309, allocations: 151.5 kB / 472.9 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004662/0.1314, allocations: 0.5097 MB / 473.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.844e-05/0.1315, allocations: 40.72 kB / 473.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.1317, allocations: 143.2 kB / 473.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.1319, allocations: 183.1 kB / 473.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.249e-05/0.1319, allocations: 8 kB / 473.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004191/0.1324, allocations: 255.6 kB / 474 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.1325, allocations: 87.53 kB / 474.1 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.1326, allocations: 162.9 kB / 474.3 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004008/0.133, allocations: 387.1 kB / 474.6 MB, free: 9.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1331, allocations: 0 / 474.6 MB, free: 9.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1331, allocations: 0 / 474.6 MB, free: 9.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1331, allocations: 0 / 474.6 MB, free: 9.32 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.001133/0.1342, allocations: 0.7098 MB / 475.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.1343, allocations: 11.97 kB / 475.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.61e-05/0.1344, allocations: 44.38 kB / 475.4 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.1347, allocations: 288.5 kB / 475.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.1347, allocations: 36.92 kB / 475.7 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.958e-05/0.1348, allocations: 36 kB / 475.8 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008484/0.1356, allocations: 0.5574 MB / 476.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.1356, allocations: 3.938 kB / 476.3 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.249e-05/0.1357, allocations: 16 kB / 476.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.07e-05/0.1357, allocations: 20.98 kB / 476.4 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000761/0.1365, allocations: 411.6 kB / 476.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.1382, allocations: 1.281 MB / 478 MB, free: 5.758 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005103/0.1387, allocations: 279.5 kB / 478.3 MB, free: 5.457 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003138/0.139, allocations: 142.5 kB / 478.4 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.197e-05/0.139, allocations: 4 kB / 478.5 MB, free: 5.305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.1391, allocations: 46.48 kB / 478.5 MB, free: 5.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.583e-06/0.1391, allocations: 0 / 478.5 MB, free: 5.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001122/0.1402, allocations: 463.8 kB / 479 MB, free: 4.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.1403, allocations: 102.8 kB / 479.1 MB, free: 4.668 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005181/0.1408, allocations: 0.49 MB / 479.5 MB, free: 4.176 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.1408, allocations: 33.7 kB / 479.6 MB, free: 4.137 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.141, allocations: 212.3 kB / 479.8 MB, free: 3.926 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.431e-05/0.1411, allocations: 63.19 kB / 479.8 MB, free: 3.863 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.1412, allocations: 65.59 kB / 479.9 MB, free: 3.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1413, allocations: 358.8 kB / 480.3 MB, free: 3.434 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/0.1417, allocations: 128.1 kB / 480.4 MB, free: 3.305 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003615/0.142, allocations: 212.5 kB / 480.6 MB, free: 3.062 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006846/0.1427, allocations: 361.9 kB / 480.9 MB, free: 2.672 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1427, allocations: 4 kB / 480.9 MB, free: 2.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008251/0.1436, allocations: 424.7 kB / 481.4 MB, free: 2.246 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.1436, allocations: 8 kB / 481.4 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.748e-05/0.1437, allocations: 35.92 kB / 481.4 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.1437, allocations: 4 kB / 481.4 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.1439, allocations: 40.23 kB / 481.4 MB, free: 2.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.1439, allocations: 12 kB / 481.5 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/0.1441, allocations: 43.58 kB / 481.5 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/0.1442, allocations: 19.98 kB / 481.5 MB, free: 2.086 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.0001939/0.1444, allocations: 198.1 kB / 481.7 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.1445, allocations: 35.53 kB / 481.7 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007631/0.1453, allocations: 415.4 kB / 482.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.1453, allocations: 0 / 482.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1453, allocations: 7.938 kB / 482.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.1453, allocations: 3.938 kB / 482.2 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000506/0.1458, allocations: 365.4 kB / 482.5 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-05/0.1459, allocations: 28 kB / 482.6 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.146, allocations: 27.97 kB / 482.6 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.146, allocations: 7.938 kB / 482.6 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.311e-05/0.1461, allocations: 11.98 kB / 482.6 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.1461, allocations: 4 kB / 482.6 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1461, allocations: 0 / 482.6 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007908/0.1469, allocations: 0.5793 MB / 483.2 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.147, allocations: 124.5 kB / 483.3 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.59e-05/0.1471, allocations: 0 / 483.3 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002716/0.1473, allocations: 23.97 kB / 483.3 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.952e-05/0.1474, allocations: 19.98 kB / 483.3 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.177e-05/0.1474, allocations: 12 kB / 483.4 MB, free: 152 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003701/0.1478, allocations: 363 kB / 483.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1478, allocations: 3.938 kB / 483.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005242/0.1484, allocations: 127.8 kB / 483.8 MB, free: 15.66 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.0003385/0.1487, allocations: 171.7 kB / 484 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008529/0.1496, allocations: 0.5381 MB / 484.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1496, allocations: 0 / 484.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004589/0.15, allocations: 387.1 kB / 484.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006637/0.1507, allocations: 102.5 kB / 485 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.152, allocations: 0.8975 MB / 485.9 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.1524, allocations: 0.8459 MB / 486.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.178e-05/0.1525, allocations: 31.42 kB / 486.8 MB, free: 12.52 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1525, allocations: 0 / 486.8 MB, free: 12.52 MB / 366.1 MB Notification: Performance of Templates: time 0.009515/0.162, allocations: 7.365 MB / 494.2 MB, free: 5.199 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