Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008263/0.0008259, allocations: 94.81 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009373/0.0009374, allocations: 203 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.8 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2033/0.2033, allocations: 46.18 MB / 345.2 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002603/0.0002603, allocations: 7.938 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1094, allocations: 63.56 MB / 483.1 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.002479/0.1119, allocations: 1.79 MB / 484.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.114, allocations: 1.324 MB / 486.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001596/0.1142, allocations: 0 / 486.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002927/0.1145, allocations: 59.72 kB / 486.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001969/0.1147, allocations: 83.52 kB / 486.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005895/0.1153, allocations: 175.5 kB / 486.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005495/0.1158, allocations: 0.5018 MB / 487 MB, free: 220 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.678e-05/0.1159, allocations: 52.7 kB / 487.1 MB, free: 168 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002738/0.1162, allocations: 147.2 kB / 487.2 MB, free: 20 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002717/0.1165, allocations: 179.1 kB / 487.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.736e-05/0.1166, allocations: 8 kB / 487.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004572/0.117, allocations: 275.5 kB / 487.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.874e-05/0.1171, allocations: 83.53 kB / 487.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002126/0.1174, allocations: 188.6 kB / 488 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005774/0.1179, allocations: 0.51 MB / 488.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.118, allocations: 0 / 488.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.118, allocations: 0 / 488.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.118, allocations: 4 kB / 488.5 MB, free: 14.78 MB / 366.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.00101/0.119, allocations: 0.663 MB / 489.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.119, allocations: 8.031 kB / 489.1 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004024/0.1194, allocations: 80.42 kB / 489.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.1198, allocations: 288.6 kB / 489.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.1198, allocations: 32.94 kB / 489.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.993e-05/0.1199, allocations: 40 kB / 489.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009532/0.1209, allocations: 0.5613 MB / 490.1 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.1209, allocations: 7.938 kB / 490.1 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.927e-05/0.121, allocations: 16 kB / 490.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.343e-05/0.121, allocations: 17 kB / 490.2 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008487/0.1218, allocations: 435.6 kB / 490.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00187/0.1237, allocations: 1.285 MB / 491.9 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006142/0.1244, allocations: 323.5 kB / 492.2 MB, free: 10.85 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003568/0.1247, allocations: 162.4 kB / 492.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.672e-05/0.1248, allocations: 4 kB / 492.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.1248, allocations: 42.48 kB / 492.4 MB, free: 10.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.713e-06/0.1248, allocations: 0 / 492.4 MB, free: 10.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.00132/0.1262, allocations: 0.5282 MB / 492.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.1262, allocations: 106.8 kB / 493 MB, free: 9.965 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005101/0.1267, allocations: 0.494 MB / 493.5 MB, free: 9.469 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.1268, allocations: 29.7 kB / 493.6 MB, free: 9.434 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.1269, allocations: 212.2 kB / 493.8 MB, free: 9.223 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.289e-05/0.127, allocations: 67.11 kB / 493.8 MB, free: 9.156 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.837e-05/0.127, allocations: 25.72 kB / 493.9 MB, free: 9.125 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1272, allocations: 354.8 kB / 494.2 MB, free: 8.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003423/0.1275, allocations: 156.1 kB / 494.4 MB, free: 8.613 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004194/0.128, allocations: 236.5 kB / 494.6 MB, free: 8.348 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007752/0.1287, allocations: 412.5 kB / 495 MB, free: 7.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.1288, allocations: 4.094 kB / 495 MB, free: 7.906 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009362/0.1297, allocations: 468.5 kB / 495.4 MB, free: 7.441 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.1297, allocations: 8.344 kB / 495.5 MB, free: 7.434 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.71e-05/0.1298, allocations: 39.92 kB / 495.5 MB, free: 7.395 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1298, allocations: 4 kB / 495.5 MB, free: 7.391 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.13, allocations: 43.91 kB / 495.5 MB, free: 7.348 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.13, allocations: 7.984 kB / 495.5 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002578/0.1303, allocations: 59.52 kB / 495.6 MB, free: 7.281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/0.1303, allocations: 12 kB / 495.6 MB, free: 7.27 MB / 366.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.0002081/0.1306, allocations: 197.7 kB / 495.8 MB, free: 7.066 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.807e-05/0.1307, allocations: 43.44 kB / 495.9 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008357/0.1315, allocations: 440.7 kB / 496.3 MB, free: 6.582 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.1315, allocations: 8 kB / 496.3 MB, free: 6.574 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1315, allocations: 3.938 kB / 496.3 MB, free: 6.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.1315, allocations: 0 / 496.3 MB, free: 6.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005624/0.1321, allocations: 377.2 kB / 496.7 MB, free: 6.152 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-05/0.1322, allocations: 35.98 kB / 496.7 MB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.1323, allocations: 31.97 kB / 496.7 MB, free: 6.086 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.1324, allocations: 3.938 kB / 496.7 MB, free: 6.082 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.1324, allocations: 12 kB / 496.7 MB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1324, allocations: 0 / 496.7 MB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.1324, allocations: 4 kB / 496.8 MB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008765/0.1333, allocations: 0.6262 MB / 497.4 MB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.1334, allocations: 120.6 kB / 497.5 MB, free: 5.285 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.955e-05/0.1335, allocations: 4 kB / 497.5 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002858/0.1338, allocations: 27.97 kB / 497.5 MB, free: 5.254 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.328e-05/0.1338, allocations: 19.92 kB / 497.5 MB, free: 5.234 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-05/0.1339, allocations: 15.98 kB / 497.6 MB, free: 5.219 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003876/0.1343, allocations: 363.1 kB / 497.9 MB, free: 4.863 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1343, allocations: 0 / 497.9 MB, free: 4.863 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005539/0.1348, allocations: 123.9 kB / 498 MB, free: 4.742 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.0003403/0.1352, allocations: 175.2 kB / 498.2 MB, free: 4.562 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009526/0.1361, allocations: 0.5815 MB / 498.8 MB, free: 3.926 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.1362, allocations: 8 kB / 498.8 MB, free: 3.918 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004954/0.1367, allocations: 411.1 kB / 499.2 MB, free: 3.461 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000691/0.1374, allocations: 93.55 kB / 499.3 MB, free: 3.371 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.1387, allocations: 0.9168 MB / 0.4885 GB, free: 2.418 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/0.1391, allocations: 0.846 MB / 0.4893 GB, free: 1.547 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001713/0.1393, allocations: 67.22 kB / 0.4894 GB, free: 1.484 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.47e-05/0.1394, allocations: 35.42 kB / 0.4894 GB, free: 1.449 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1394, allocations: 0 / 0.4894 GB, free: 1.449 MB / 366.1 MB Notification: Performance of Templates: time 0.01272/0.1521, allocations: 7.295 MB / 0.4965 GB, free: 10.25 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches