Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.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_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009203/0.0009203, allocations: 97.28 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001059/0.001059, allocations: 207 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.299/1.299, allocations: 227.7 MB / 247.5 MB, free: 9.496 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1919/0.1919, allocations: 46.18 MB / 345.9 MB, free: 11.15 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002744/0.0002744, allocations: 11.98 kB / 420.2 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1119, allocations: 63.56 MB / 483.8 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.002367/0.1143, allocations: 1.724 MB / 485.5 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.1158, allocations: 0.8297 MB / 486.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.116, allocations: 0 / 486.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002952/0.1163, allocations: 63.72 kB / 486.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003514/0.1166, allocations: 107.5 kB / 486.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.1169, allocations: 55.88 kB / 486.5 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004858/0.1174, allocations: 454.3 kB / 487 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.338e-05/0.1174, allocations: 44.36 kB / 487 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000256/0.1177, allocations: 111.5 kB / 487.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.118, allocations: 151.3 kB / 487.3 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.144e-05/0.118, allocations: 8 kB / 487.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002501/0.1183, allocations: 127.8 kB / 487.4 MB, free: 452 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.1184, allocations: 67.73 kB / 487.5 MB, free: 384 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.1185, allocations: 132.9 kB / 487.6 MB, free: 240 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003183/0.1188, allocations: 255.6 kB / 487.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1188, allocations: 0 / 487.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1189, allocations: 0 / 487.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.1189, allocations: 0 / 487.8 MB, free: 15.98 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0009118/0.1198, allocations: 0.5108 MB / 488.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.1198, allocations: 12.88 kB / 488.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.589e-05/0.1199, allocations: 32.56 kB / 488.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.1202, allocations: 252.4 kB / 488.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.1202, allocations: 28.48 kB / 488.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.133e-05/0.1203, allocations: 20 kB / 488.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006288/0.1209, allocations: 397.2 kB / 489.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1209, allocations: 0 / 489.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.124e-05/0.1209, allocations: 15.98 kB / 489.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.917e-05/0.121, allocations: 28.62 kB / 489.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006708/0.1217, allocations: 422.2 kB / 489.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.1229, allocations: 0.8773 MB / 490.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005842/0.1235, allocations: 294.3 kB / 490.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002215/0.1238, allocations: 112.8 kB / 490.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.1238, allocations: 8 kB / 490.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.1238, allocations: 30.56 kB / 490.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.1239, allocations: 0 / 490.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007854/0.1246, allocations: 384.5 kB / 491.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.1247, allocations: 51.41 kB / 491.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003669/0.1251, allocations: 347.2 kB / 491.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.1251, allocations: 29.7 kB / 491.6 MB, free: 12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.1252, allocations: 168.2 kB / 491.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.254e-05/0.1253, allocations: 51.36 kB / 491.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.1253, allocations: 25.66 kB / 491.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1255, allocations: 346.7 kB / 492.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.1257, allocations: 99.91 kB / 492.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/0.126, allocations: 161.8 kB / 492.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004671/0.1264, allocations: 269.8 kB / 492.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1264, allocations: 0 / 492.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005787/0.127, allocations: 328.8 kB / 493.1 MB, free: 10.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.1271, allocations: 8 kB / 493.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1271, allocations: 0 / 493.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1271, allocations: 4 kB / 493.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005342/0.1276, allocations: 116.1 kB / 493.2 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/0.1297, allocations: 3.715 MB / 496.9 MB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.1299, allocations: 31.72 kB / 496.9 MB, free: 6.496 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.1299, allocations: 19.92 kB / 497 MB, free: 6.477 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001999/0.1302, allocations: 172.5 kB / 497.1 MB, free: 6.301 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.393e-05/0.1302, allocations: 27.66 kB / 497.2 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007057/0.1309, allocations: 357.8 kB / 497.5 MB, free: 5.914 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.1309, allocations: 0 / 497.5 MB, free: 5.914 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.131, allocations: 0 / 497.5 MB, free: 5.914 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.131, allocations: 3.984 kB / 497.5 MB, free: 5.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003781/0.1313, allocations: 313.3 kB / 497.8 MB, free: 5.555 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1314, allocations: 0 / 497.8 MB, free: 5.555 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004886/0.1319, allocations: 119.9 kB / 497.9 MB, free: 5.438 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.1319, allocations: 3.938 kB / 497.9 MB, free: 5.434 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.1319, allocations: 8 kB / 497.9 MB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001954/0.1339, allocations: 3.707 MB / 0.4899 GB, free: 1.578 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1339, allocations: 0 / 0.4899 GB, free: 1.578 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005827/0.1345, allocations: 375.2 kB / 0.4902 GB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.051e-05/0.1346, allocations: 112.6 kB / 0.4904 GB, free: 1.066 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.884e-05/0.1346, allocations: 4 kB / 0.4904 GB, free: 1.062 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.1348, allocations: 8 kB / 0.4904 GB, free: 1.055 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.859e-05/0.1348, allocations: 15.97 kB / 0.4904 GB, free: 1.039 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.1349, allocations: 12 kB / 0.4904 GB, free: 1.027 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000251/0.1351, allocations: 253.9 kB / 0.4906 GB, free: 0.7812 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1351, allocations: 4 kB / 0.4906 GB, free: 0.7773 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003567/0.1355, allocations: 71.94 kB / 0.4907 GB, free: 0.707 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002299/0.1357, allocations: 123.3 kB / 0.4908 GB, free: 0.5781 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008938/0.1366, allocations: 338.2 kB / 0.4911 GB, free: 256 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1366, allocations: 384 / 0.4911 GB, free: 256 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005889/0.1372, allocations: 207.7 kB / 0.4913 GB, free: 48 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004548/0.1377, allocations: 60.59 kB / 0.4914 GB, free: 15.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.1388, allocations: 0.7186 MB / 0.4921 GB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.1391, allocations: 0.7986 MB / 0.4929 GB, free: 14.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.905e-05/0.1392, allocations: 27.42 kB / 0.4929 GB, free: 14.38 MB / 382.1 MB Notification: Performance of SimCode: time 6.72e-07/0.1392, allocations: 0 / 0.4929 GB, free: 14.38 MB / 382.1 MB Notification: Performance of Templates: time 0.01393/0.1532, allocations: 11.17 MB / 0.5038 GB, free: 3.227 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_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/kc_approxForcedConvection_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches