Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_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.HelicalPipe.kc_overall_KC,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001264/0.001264, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001335/0.001335, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1993/0.1993, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 78.66 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1063, allocations: 62.44 MB / 481.5 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.003045/0.1094, allocations: 2.012 MB / 483.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002405/0.1118, allocations: 1.876 MB / 485.4 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.631e-05/0.1119, allocations: 0 / 485.4 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002595/0.1122, allocations: 59.66 kB / 485.4 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003156/0.1125, allocations: 115.4 kB / 485.5 MB, free: 428 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007249/0.1133, allocations: 350.6 kB / 485.9 MB, free: 76 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003878/0.1137, allocations: 390.1 kB / 486.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.071e-05/0.1137, allocations: 44.72 kB / 486.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002278/0.114, allocations: 163.1 kB / 486.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.1142, allocations: 175.2 kB / 486.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.1142, allocations: 12 kB / 486.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000815/0.115, allocations: 0.5577 MB / 487.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.1152, allocations: 95.53 kB / 487.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.1153, allocations: 162.9 kB / 487.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007219/0.1161, allocations: 0.6346 MB / 488.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1161, allocations: 0 / 488.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1161, allocations: 0 / 488.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.1161, allocations: 0 / 488.1 MB, free: 13.86 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0009824/0.1171, allocations: 0.6904 MB / 488.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.1171, allocations: 8.031 kB / 488.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.203e-05/0.1172, allocations: 40.47 kB / 488.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003881/0.1176, allocations: 275.6 kB / 489.1 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/0.1176, allocations: 33.36 kB / 489.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.101e-05/0.1177, allocations: 32.38 kB / 489.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007368/0.1184, allocations: 0.5571 MB / 489.7 MB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.1184, allocations: 0 / 489.7 MB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.396e-05/0.1185, allocations: 23.97 kB / 489.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-05/0.1185, allocations: 44.92 kB / 489.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008347/0.1194, allocations: 0.5698 MB / 490.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/0.121, allocations: 1.167 MB / 491.5 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000601/0.1216, allocations: 389.7 kB / 491.9 MB, free: 9.887 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002301/0.1218, allocations: 128.9 kB / 492 MB, free: 9.758 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.016e-05/0.1219, allocations: 19.91 kB / 492.1 MB, free: 9.738 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.1219, allocations: 30.56 kB / 492.1 MB, free: 9.699 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.333e-06/0.1219, allocations: 0 / 492.1 MB, free: 9.699 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.000883/0.1228, allocations: 464.9 kB / 492.5 MB, free: 9.238 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.1228, allocations: 59.28 kB / 492.6 MB, free: 9.168 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004213/0.1233, allocations: 457.6 kB / 493 MB, free: 8.715 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.1233, allocations: 29.7 kB / 493.1 MB, free: 8.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.1234, allocations: 184.4 kB / 493.3 MB, free: 8.496 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.18e-05/0.1235, allocations: 74.86 kB / 493.3 MB, free: 8.422 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.932e-05/0.1236, allocations: 53.69 kB / 493.4 MB, free: 8.363 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.1237, allocations: 354.7 kB / 493.7 MB, free: 8.008 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/0.1239, allocations: 115.9 kB / 493.8 MB, free: 7.895 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.1242, allocations: 123.4 kB / 494 MB, free: 7.777 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004566/0.1246, allocations: 260.6 kB / 494.2 MB, free: 7.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1246, allocations: 0 / 494.2 MB, free: 7.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005972/0.1252, allocations: 344.9 kB / 494.5 MB, free: 7.176 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1253, allocations: 8 kB / 494.6 MB, free: 7.168 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.1253, allocations: 3.938 kB / 494.6 MB, free: 7.164 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1253, allocations: 0 / 494.6 MB, free: 7.164 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007308/0.126, allocations: 159.9 kB / 494.7 MB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002941/0.129, allocations: 5.52 MB / 0.4885 GB, free: 1.277 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.1292, allocations: 47.45 kB / 0.4886 GB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.1292, allocations: 8 kB / 0.4886 GB, free: 1.223 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * 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): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001835/0.1294, allocations: 193.7 kB / 0.4887 GB, free: 1.023 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.24e-05/0.1295, allocations: 31.62 kB / 0.4888 GB, free: 0.9922 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008012/0.1303, allocations: 459.5 kB / 0.4892 GB, free: 0.5391 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.1303, allocations: 4 kB / 0.4892 GB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.1303, allocations: 0 / 0.4892 GB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1304, allocations: 3.984 kB / 0.4892 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004084/0.1308, allocations: 377.2 kB / 0.4896 GB, free: 116 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1308, allocations: 0 / 0.4896 GB, free: 116 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006681/0.1315, allocations: 147.9 kB / 0.4897 GB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.1315, allocations: 4 kB / 0.4897 GB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.1315, allocations: 15.92 kB / 0.4897 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002676/0.1342, allocations: 5.516 MB / 0.4951 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1342, allocations: 3.938 kB / 0.4951 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006381/0.1348, allocations: 447.1 kB / 0.4956 GB, free: 9.766 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.135, allocations: 120.5 kB / 0.4957 GB, free: 9.629 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.259e-05/0.135, allocations: 11.94 kB / 0.4957 GB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.1352, allocations: 15.98 kB / 0.4957 GB, free: 9.602 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.095e-05/0.1353, allocations: 23.91 kB / 0.4957 GB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.1353, allocations: 8 kB / 0.4957 GB, free: 9.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003139/0.1357, allocations: 335.1 kB / 0.4961 GB, free: 9.242 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1357, allocations: 4 kB / 0.4961 GB, free: 9.238 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004578/0.1361, allocations: 147.9 kB / 0.4962 GB, free: 9.094 MB / 382.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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * 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): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003603/0.1365, allocations: 211.1 kB / 0.4964 GB, free: 8.875 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.1376, allocations: 396.7 kB / 0.4968 GB, free: 8.488 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1376, allocations: 0 / 0.4968 GB, free: 8.488 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000767/0.1384, allocations: 287 kB / 0.4971 GB, free: 8.211 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004718/0.1388, allocations: 93.38 kB / 0.4971 GB, free: 8.121 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.1402, allocations: 0.7819 MB / 0.4979 GB, free: 7.312 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.1406, allocations: 0.8465 MB / 0.4987 GB, free: 6.438 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001964/0.1408, allocations: 87.2 kB / 0.4988 GB, free: 6.355 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.141, allocations: 31.42 kB / 0.4988 GB, free: 6.324 MB / 382.1 MB Notification: Performance of SimCode: time 4e-07/0.141, allocations: 0 / 0.4988 GB, free: 6.324 MB / 382.1 MB Notification: Performance of Templates: time 0.1803/0.3213, allocations: 8.644 MB / 0.5073 GB, free: 43.57 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_overall_KC/kc_overall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches