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.001264/0.001264, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001213/0.001214, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.312/1.312, allocations: 222.9 MB / 243 MB, free: 15.16 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.1987/0.1987, allocations: 44.18 MB / 337.4 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 72.86 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1041, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.003287/0.1074, allocations: 2.063 MB / 472.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.1092, allocations: 1.246 MB / 474 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.929e-05/0.1093, allocations: 0 / 474 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002711/0.1096, allocations: 79.52 kB / 474.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.1098, allocations: 79.44 kB / 474.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005177/0.1103, allocations: 187.2 kB / 474.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000424/0.1108, allocations: 438 kB / 474.8 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.7e-05/0.1108, allocations: 52.64 kB / 474.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.111, allocations: 147.2 kB / 475 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.1112, allocations: 183 kB / 475.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.1113, allocations: 12 kB / 475.2 MB, free: 9.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004081/0.1117, allocations: 251.7 kB / 475.4 MB, free: 8.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.1118, allocations: 83.55 kB / 475.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001595/0.112, allocations: 166.9 kB / 475.7 MB, free: 8.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005493/0.1125, allocations: 0.5177 MB / 476.2 MB, free: 8.141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.1125, allocations: 0 / 476.2 MB, free: 8.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1125, allocations: 0 / 476.2 MB, free: 8.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1126, allocations: 0 / 476.2 MB, free: 8.141 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.00105/0.1136, allocations: 0.7097 MB / 476.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.1136, allocations: 8.031 kB / 476.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.972e-05/0.1137, allocations: 44.38 kB / 477 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003584/0.1141, allocations: 288.6 kB / 477.2 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.1141, allocations: 32.94 kB / 477.3 MB, free: 6.977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.129e-05/0.1142, allocations: 39.94 kB / 477.3 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008227/0.115, allocations: 0.5535 MB / 477.9 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.115, allocations: 0 / 477.9 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.081e-05/0.1151, allocations: 16 kB / 477.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.715e-05/0.1151, allocations: 20.94 kB / 477.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007608/0.1159, allocations: 419.6 kB / 478.3 MB, free: 5.918 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/0.1176, allocations: 1.273 MB / 479.6 MB, free: 4.586 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005275/0.1182, allocations: 271.6 kB / 479.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003106/0.1185, allocations: 142.4 kB / 480 MB, free: 4.145 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.658e-05/0.1185, allocations: 15.98 kB / 480 MB, free: 4.129 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.1186, allocations: 30.56 kB / 480 MB, free: 4.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.623e-06/0.1186, allocations: 4 kB / 480 MB, free: 4.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001118/0.1197, allocations: 464.1 kB / 480.5 MB, free: 3.629 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.1198, allocations: 110.8 kB / 480.6 MB, free: 3.496 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000512/0.1203, allocations: 0.4939 MB / 481.1 MB, free: 3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.1203, allocations: 25.7 kB / 481.1 MB, free: 2.969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.1205, allocations: 208.2 kB / 481.3 MB, free: 2.762 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.244e-05/0.1205, allocations: 63.17 kB / 481.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.1206, allocations: 69.67 kB / 481.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1208, allocations: 350.8 kB / 481.8 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003161/0.1211, allocations: 132.2 kB / 481.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/0.1215, allocations: 224.4 kB / 482.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000733/0.1222, allocations: 365.9 kB / 482.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.1222, 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.0008198/0.123, allocations: 420.7 kB / 482.9 MB, free: 1.066 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.1231, allocations: 11.22 kB / 482.9 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-05/0.1231, allocations: 39.92 kB / 483 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.1232, allocations: 4 kB / 483 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.1234, allocations: 31.97 kB / 483 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.1234, allocations: 7.938 kB / 483 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002423/0.1236, allocations: 55.81 kB / 483.1 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.069e-05/0.1237, allocations: 12 kB / 483.1 MB, free: 0.9102 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.0001993/0.1239, allocations: 197.7 kB / 483.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.696e-05/0.124, allocations: 35.53 kB / 483.3 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007622/0.1247, allocations: 410.2 kB / 483.7 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.1248, allocations: 4 kB / 483.7 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.1248, allocations: 4 kB / 483.7 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1248, allocations: 0 / 483.7 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005284/0.1253, allocations: 361.4 kB / 484.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.319e-05/0.1254, allocations: 27.98 kB / 484.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.1255, allocations: 27.91 kB / 484.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.1255, allocations: 7.938 kB / 484.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/0.1256, allocations: 8 kB / 484.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.1256, allocations: 8 kB / 484.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.1256, allocations: 3.938 kB / 484.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008471/0.1264, allocations: 0.5755 MB / 484.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.1266, allocations: 124.5 kB / 484.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.897e-05/0.1266, allocations: 7.984 kB / 484.8 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000289/0.1269, allocations: 15.98 kB / 484.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.464e-05/0.127, allocations: 15.98 kB / 484.9 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.612e-05/0.1271, allocations: 15.98 kB / 484.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003699/0.1274, allocations: 363.1 kB / 485.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1274, allocations: 0 / 485.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005574/0.128, allocations: 127.8 kB / 485.4 MB, free: 14.51 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.0003144/0.1283, allocations: 179.2 kB / 485.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000851/0.1292, allocations: 0.5347 MB / 486.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1292, allocations: 0 / 486.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004558/0.1297, allocations: 391.2 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.0006586/0.1303, allocations: 107 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.00121/0.1316, allocations: 0.7691 MB / 487.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004054/0.132, allocations: 0.8535 MB / 488.2 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001822/0.1322, allocations: 71.22 kB / 488.3 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.954e-05/0.1322, allocations: 23.44 kB / 488.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1322, allocations: 0 / 488.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of Templates: time 0.01226/0.1445, allocations: 7.575 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 gbode -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