Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009845/0.0009846, allocations: 99.48 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001043, allocations: 188.1 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 223.2 MB / 241.8 MB, free: 380 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1984/0.1984, allocations: 44.22 MB / 337.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003547/0.0003547, allocations: 8 kB / 409.6 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1298, allocations: 61.92 MB / 471.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.002093/0.132, allocations: 1.61 MB / 473.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002107/0.1341, allocations: 1.575 MB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.644e-05/0.1342, allocations: 0 / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002552/0.1345, allocations: 43.8 kB / 474.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002927/0.1348, allocations: 95.64 kB / 474.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006283/0.1354, allocations: 306 kB / 475.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002963/0.1357, allocations: 247.4 kB / 475.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.1358, allocations: 44.7 kB / 475.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.136, allocations: 115.5 kB / 475.5 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002043/0.1362, allocations: 143.3 kB / 475.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/0.1363, allocations: 8 kB / 475.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008716/0.1371, allocations: 0.5383 MB / 476.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.309e-05/0.1372, allocations: 87.7 kB / 476.3 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.462e-05/0.1373, allocations: 77.52 kB / 476.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004995/0.1378, allocations: 387.4 kB / 476.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1378, allocations: 0 / 476.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1379, allocations: 11.88 kB / 476.7 MB, free: 8.453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.1379, allocations: 0 / 476.7 MB, free: 8.453 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.0009345/0.1388, allocations: 0.6161 MB / 477.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.1389, allocations: 8.031 kB / 477.4 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.916e-05/0.139, allocations: 43.53 kB / 477.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003794/0.1393, allocations: 270.5 kB / 477.7 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.1394, allocations: 29 kB / 477.7 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.04e-05/0.1394, allocations: 35.94 kB / 477.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007886/0.1402, allocations: 0.5645 MB / 478.3 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1403, allocations: 0 / 478.3 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.163e-05/0.1403, allocations: 8 kB / 478.3 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.434e-05/0.1404, allocations: 48.97 kB / 478.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009147/0.1413, allocations: 0.5737 MB / 478.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001806/0.1431, allocations: 1.199 MB / 480.1 MB, free: 4.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006149/0.1437, allocations: 385.6 kB / 480.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.757e-05/0.1438, allocations: 12.12 kB / 480.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.1438, allocations: 34.75 kB / 480.5 MB, free: 4.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 2.064e-06/0.1438, allocations: 0 / 480.5 MB, free: 4.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009495/0.1448, allocations: 484.2 kB / 481 MB, free: 4.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.1448, allocations: 51.41 kB / 481.1 MB, free: 3.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004555/0.1453, allocations: 449.6 kB / 481.5 MB, free: 3.492 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.1453, allocations: 29.7 kB / 481.5 MB, free: 3.457 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.1454, allocations: 188.4 kB / 481.7 MB, free: 3.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.2e-05/0.1455, allocations: 82.83 kB / 481.8 MB, free: 3.188 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.645e-05/0.1455, allocations: 8 kB / 481.8 MB, free: 3.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1457, allocations: 342.8 kB / 482.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002384/0.1459, allocations: 119.9 kB / 482.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/0.1462, allocations: 121.9 kB / 482.4 MB, free: 2.602 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002648/0.1465, allocations: 143.8 kB / 482.5 MB, free: 2.461 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1465, allocations: 0 / 482.5 MB, free: 2.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006426/0.1471, allocations: 351.7 kB / 482.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.1471, allocations: 11.95 kB / 482.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1472, allocations: 0 / 482.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1472, allocations: 0 / 482.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007609/0.1479, allocations: 151.9 kB / 483 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003044/0.151, allocations: 5.52 MB / 488.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.1512, allocations: 47.42 kB / 488.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.1513, allocations: 11.98 kB / 488.6 MB, free: 12.16 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 (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002072/0.1515, allocations: 182.3 kB / 488.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.014e-05/0.1516, allocations: 43.67 kB / 488.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008644/0.1524, allocations: 468.4 kB / 489.3 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.1524, allocations: 0 / 489.3 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1524, allocations: 0 / 489.3 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.1525, allocations: 15.92 kB / 489.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004574/0.1529, allocations: 369.3 kB / 489.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.1529, allocations: 7.984 kB / 489.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007035/0.1536, allocations: 151.8 kB / 489.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.116e-05/0.1537, allocations: 7.953 kB / 489.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.1537, allocations: 11.98 kB / 489.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002806/0.1565, allocations: 5.516 MB / 495.3 MB, free: 5.141 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.1565, allocations: 4.031 kB / 495.3 MB, free: 5.137 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006374/0.1572, allocations: 458.2 kB / 495.8 MB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.1573, allocations: 120.5 kB / 495.9 MB, free: 4.539 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.355e-05/0.1573, allocations: 7.984 kB / 495.9 MB, free: 4.531 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.1575, allocations: 8 kB / 495.9 MB, free: 4.523 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.724e-05/0.1576, allocations: 27.97 kB / 496 MB, free: 4.496 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.523e-05/0.1577, allocations: 11.98 kB / 496 MB, free: 4.484 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003341/0.158, allocations: 331.1 kB / 496.3 MB, free: 4.164 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.158, allocations: 0 / 496.3 MB, free: 4.164 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004896/0.1585, allocations: 135.8 kB / 496.4 MB, free: 4.031 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003559/0.1589, allocations: 207.1 kB / 496.6 MB, free: 3.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001136/0.16, allocations: 419.5 kB / 497 MB, free: 3.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.16, allocations: 0 / 497 MB, free: 3.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008122/0.1608, allocations: 283.6 kB / 497.3 MB, free: 3.133 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.1612, allocations: 85.44 kB / 497.4 MB, free: 3.051 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.1625, allocations: 0.8725 MB / 498.3 MB, free: 2.152 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.1629, allocations: 0.8581 MB / 499.1 MB, free: 1.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002009/0.1631, allocations: 87.22 kB / 499.2 MB, free: 1.188 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.825e-05/0.1632, allocations: 27.42 kB / 499.2 MB, free: 1.16 MB / 366.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1632, allocations: 4 kB / 499.2 MB, free: 1.156 MB / 366.1 MB Notification: Performance of Templates: time 0.01205/0.1752, allocations: 7.661 MB / 0.495 GB, free: 9.582 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat","/var/lib/jenkins/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","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches