Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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_laminar_KC,tolerance=1e-06,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_laminar_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,tolerance=1e-06,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_laminar_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001173/0.001173, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001325/0.001325, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.28/1.28, allocations: 227.4 MB / 247.1 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2006/0.2006, allocations: 46.1 MB / 344.4 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 75.25 kB / 417.7 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1093, allocations: 62.44 MB / 480.2 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.003541/0.1128, allocations: 2.074 MB / 482.2 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.1143, allocations: 0.9269 MB / 483.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.1144, allocations: 4 kB / 483.2 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002716/0.1147, allocations: 59.72 kB / 483.2 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003374/0.1151, allocations: 103.5 kB / 483.3 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.1153, allocations: 83.73 kB / 483.4 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003766/0.1157, allocations: 386.2 kB / 483.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.53e-05/0.1158, allocations: 44.72 kB / 483.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002458/0.116, allocations: 155.2 kB / 484 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002297/0.1163, allocations: 187.1 kB / 484.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.594e-05/0.1163, allocations: 19.92 kB / 484.2 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002392/0.1166, allocations: 143.8 kB / 484.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.1167, allocations: 95.53 kB / 484.4 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.1168, allocations: 154.9 kB / 484.6 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003306/0.1172, allocations: 311.4 kB / 484.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1172, allocations: 0 / 484.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1172, allocations: 0 / 484.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.1172, allocations: 3.938 kB / 484.9 MB, free: 0.8711 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0009367/0.1181, allocations: 0.6514 MB / 485.5 MB, free: 176 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.1182, allocations: 12.03 kB / 485.6 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.764e-05/0.1183, allocations: 40.41 kB / 485.6 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/0.1186, allocations: 279.7 kB / 485.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.1186, allocations: 25.38 kB / 485.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.549e-05/0.1187, allocations: 36.38 kB / 485.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007729/0.1194, allocations: 0.5649 MB / 486.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1195, allocations: 3.938 kB / 486.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.278e-05/0.1195, allocations: 12 kB / 486.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.793e-05/0.1196, allocations: 44.98 kB / 486.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008439/0.1204, allocations: 0.5698 MB / 487.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001525/0.1219, allocations: 1.179 MB / 488.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005916/0.1225, allocations: 373.2 kB / 488.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000238/0.1228, allocations: 132.9 kB / 488.8 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.984e-05/0.1228, allocations: 19.91 kB / 488.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.1229, allocations: 34.56 kB / 488.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.703e-06/0.1229, allocations: 0 / 488.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.0008781/0.1238, allocations: 464.8 kB / 489.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.1238, allocations: 51.41 kB / 489.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004158/0.1242, allocations: 453.6 kB / 489.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.1243, allocations: 33.7 kB / 489.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.1244, allocations: 192.4 kB / 490 MB, free: 11.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.404e-05/0.1245, allocations: 74.84 kB / 490.1 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.357e-05/0.1245, allocations: 49.7 kB / 490.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1247, allocations: 350.7 kB / 490.5 MB, free: 11.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.1249, allocations: 115.9 kB / 490.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.1251, allocations: 122.7 kB / 490.7 MB, free: 10.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004616/0.1256, allocations: 268.6 kB / 491 MB, free: 10.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1256, allocations: 0 / 491 MB, free: 10.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005724/0.1262, allocations: 348.5 kB / 491.3 MB, free: 10.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.1262, allocations: 8 kB / 491.3 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1262, allocations: 3.938 kB / 491.3 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.1262, allocations: 0 / 491.3 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006983/0.1269, allocations: 151.9 kB / 491.5 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002458/0.1294, allocations: 5.52 MB / 497 MB, free: 4.332 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.1296, allocations: 51.39 kB / 497 MB, free: 4.281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.1296, allocations: 12 kB / 497.1 MB, free: 4.27 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.000175/0.1298, allocations: 194 kB / 497.2 MB, free: 4.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.086e-05/0.1299, allocations: 31.62 kB / 497.3 MB, free: 4.039 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007808/0.1307, allocations: 456.3 kB / 497.7 MB, free: 3.586 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.1307, allocations: 4 kB / 497.7 MB, free: 3.582 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1307, allocations: 0 / 497.7 MB, free: 3.582 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.1307, allocations: 3.984 kB / 497.7 MB, free: 3.578 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000387/0.1311, allocations: 385.1 kB / 498.1 MB, free: 3.152 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1311, allocations: 0 / 498.1 MB, free: 3.152 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006451/0.1318, allocations: 159.9 kB / 498.3 MB, free: 2.996 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1318, allocations: 0 / 498.3 MB, free: 2.996 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/0.1318, allocations: 15.98 kB / 498.3 MB, free: 2.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002436/0.1343, allocations: 5.505 MB / 0.492 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.1343, allocations: 11.95 kB / 0.492 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006191/0.1349, allocations: 446.1 kB / 0.4924 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.665e-05/0.135, allocations: 116.8 kB / 0.4925 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.392e-05/0.1351, allocations: 8 kB / 0.4925 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.1353, allocations: 15.98 kB / 0.4925 GB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.17e-05/0.1353, allocations: 23.91 kB / 0.4926 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.1354, allocations: 8 kB / 0.4926 GB, free: 12.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003013/0.1357, allocations: 339.1 kB / 0.4929 GB, free: 12.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1357, allocations: 0 / 0.4929 GB, free: 12.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003476/0.136, allocations: 99.92 kB / 0.493 GB, free: 12.19 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.0002102/0.1362, allocations: 135.2 kB / 0.4931 GB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.1373, allocations: 439.5 kB / 0.4935 GB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1374, allocations: 0 / 0.4935 GB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007571/0.1381, allocations: 279.6 kB / 0.4938 GB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000455/0.1386, allocations: 100.4 kB / 0.4939 GB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.1398, allocations: 0.9125 MB / 0.4948 GB, free: 10.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.1401, allocations: 0.8504 MB / 0.4956 GB, free: 9.426 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.662e-05/0.1402, allocations: 35.41 kB / 0.4957 GB, free: 9.391 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1402, allocations: 0 / 0.4957 GB, free: 9.391 MB / 382.1 MB Notification: Performance of Templates: time 0.8787/1.019, allocations: 19.14 MB / 0.5143 GB, free: 41.45 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches