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.001242/0.001242, allocations: 119.9 kB / 18.42 MB, free: 4.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001287/0.001287, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2171/0.2171, allocations: 46.09 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 79.86 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1175, allocations: 62.45 MB / 481.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003233/0.1208, allocations: 2.015 MB / 483.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.1221, allocations: 0.8372 MB / 484.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.203e-05/0.1222, allocations: 4 kB / 484.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003016/0.1225, allocations: 63.59 kB / 484.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000313/0.1228, allocations: 115.5 kB / 484.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.1231, allocations: 71.7 kB / 484.6 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003253/0.1234, allocations: 306.6 kB / 484.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.574e-05/0.1235, allocations: 40.36 kB / 484.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002139/0.1237, allocations: 131.4 kB / 485.1 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.1239, allocations: 147.3 kB / 485.2 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.124, allocations: 8 kB / 485.2 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002277/0.1242, allocations: 123.8 kB / 485.3 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.567e-05/0.1243, allocations: 71.69 kB / 485.4 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.1244, allocations: 115.3 kB / 485.5 MB, free: 500 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003897/0.1248, allocations: 342.7 kB / 485.8 MB, free: 156 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1248, allocations: 0 / 485.8 MB, free: 156 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1248, allocations: 3.938 kB / 485.8 MB, free: 152 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.1248, allocations: 0 / 485.8 MB, free: 152 kB / 350.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.0007778/0.1256, allocations: 0.5614 MB / 486.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.1257, allocations: 8.031 kB / 486.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.865e-05/0.1257, allocations: 32.56 kB / 486.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.126, allocations: 244.4 kB / 486.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.126, allocations: 20.48 kB / 486.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.1261, allocations: 24 kB / 486.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005748/0.1266, allocations: 397.2 kB / 487.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.1267, allocations: 4 kB / 487.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/0.1267, allocations: 7.984 kB / 487.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.342e-05/0.1267, allocations: 36.62 kB / 487.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000647/0.1274, allocations: 406.3 kB / 487.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.1287, allocations: 0.8656 MB / 488.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005259/0.1292, allocations: 274.1 kB / 488.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.1294, allocations: 100.8 kB / 488.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.28e-05/0.1295, allocations: 4 kB / 488.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.1295, allocations: 38.55 kB / 488.8 MB, free: 13 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 3.136e-06/0.1295, allocations: 3.984 kB / 488.8 MB, free: 12.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006672/0.1302, allocations: 325.1 kB / 489.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.1302, allocations: 63.39 kB / 489.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003233/0.1306, allocations: 351.1 kB / 489.6 MB, free: 12.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.1306, allocations: 29.7 kB / 489.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.1307, allocations: 164.2 kB / 489.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.384e-05/0.1307, allocations: 51.36 kB / 489.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.506e-05/0.1308, allocations: 53.64 kB / 489.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.131, allocations: 342.8 kB / 490.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.1311, allocations: 91.91 kB / 490.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.1314, allocations: 137.9 kB / 490.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003953/0.1318, allocations: 256 kB / 490.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.1318, allocations: 0 / 490.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004945/0.1323, allocations: 300.9 kB / 491 MB, free: 10.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1323, allocations: 8 kB / 491 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1323, allocations: 0 / 491 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.1323, allocations: 4 kB / 491 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005081/0.1328, allocations: 115.9 kB / 491.1 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001825/0.1347, allocations: 3.672 MB / 494.8 MB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.1349, allocations: 31.62 kB / 494.8 MB, free: 6.805 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/0.1349, allocations: 15.98 kB / 494.8 MB, free: 6.789 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.0001829/0.1351, allocations: 172.5 kB / 495 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.004e-05/0.1351, allocations: 27.66 kB / 495 MB, free: 6.586 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006137/0.1358, allocations: 327.1 kB / 495.3 MB, free: 6.254 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1358, allocations: 4 kB / 495.3 MB, free: 6.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.1358, allocations: 0 / 495.3 MB, free: 6.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1358, allocations: 0 / 495.3 MB, free: 6.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003244/0.1361, allocations: 309.3 kB / 495.6 MB, free: 5.898 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1361, allocations: 4 kB / 495.6 MB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004693/0.1366, allocations: 111.9 kB / 495.7 MB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.1366, allocations: 4 kB / 495.7 MB, free: 5.781 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.1366, allocations: 0 / 495.7 MB, free: 5.781 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001787/0.1384, allocations: 3.672 MB / 499.4 MB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1384, allocations: 0 / 499.4 MB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004839/0.1389, allocations: 353.4 kB / 499.8 MB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.049e-05/0.139, allocations: 100.9 kB / 499.9 MB, free: 1.492 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.1391, allocations: 11.98 kB / 499.9 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.1392, allocations: 8 kB / 499.9 MB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.662e-05/0.1393, allocations: 11.98 kB / 499.9 MB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.1393, allocations: 11.98 kB / 499.9 MB, free: 1.449 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002218/0.1395, allocations: 249.9 kB / 0.4884 GB, free: 1.211 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1395, allocations: 0 / 0.4884 GB, free: 1.211 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003363/0.1399, allocations: 79.97 kB / 0.4885 GB, free: 1.133 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.0002501/0.1401, allocations: 135 kB / 0.4886 GB, free: 0.9922 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008817/0.141, allocations: 304 kB / 0.4889 GB, free: 0.6953 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1411, allocations: 0 / 0.4889 GB, free: 0.6953 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005447/0.1416, allocations: 187.8 kB / 0.4891 GB, free: 0.5117 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.142, allocations: 67.22 kB / 0.4892 GB, free: 460 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.143, allocations: 0.5963 MB / 0.4897 GB, free: 15.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.1435, allocations: 0.8026 MB / 0.4905 GB, free: 15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001489/0.1436, allocations: 58.23 kB / 0.4906 GB, free: 14.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.58e-05/0.1437, allocations: 23.42 kB / 0.4906 GB, free: 14.92 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1437, allocations: 4 kB / 0.4906 GB, free: 14.91 MB / 382.1 MB Notification: Performance of Templates: time 0.008958/0.1527, allocations: 5.301 MB / 0.4958 GB, free: 9.688 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 -s cvode -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