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.001903/0.001903, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002206/0.002206, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.523/1.523, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2383/0.2383, allocations: 46.12 MB / 344.2 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 76.44 kB / 417.7 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1305, allocations: 62.47 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.003418/0.134, allocations: 2.005 MB / 482.1 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002656/0.1367, allocations: 1.869 MB / 484 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.093e-05/0.1368, allocations: 4 kB / 484 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003112/0.1371, allocations: 63.66 kB / 484.1 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003861/0.1375, allocations: 123.3 kB / 484.2 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008212/0.1383, allocations: 357.9 kB / 484.6 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004416/0.1388, allocations: 382.2 kB / 484.9 MB, free: 400 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.782e-05/0.1389, allocations: 52.64 kB / 485 MB, free: 348 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.1391, allocations: 159.2 kB / 485.1 MB, free: 188 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002403/0.1394, allocations: 179.1 kB / 485.3 MB, free: 8 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.347e-05/0.1394, allocations: 8 kB / 485.3 MB, free: 0 / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008902/0.1403, allocations: 0.5538 MB / 485.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.1405, allocations: 103.5 kB / 486 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001606/0.1406, allocations: 150.9 kB / 486.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008126/0.1414, allocations: 0.6388 MB / 486.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1415, allocations: 0 / 486.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1415, allocations: 0 / 486.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1415, allocations: 0 / 486.8 MB, free: 14.55 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.001098/0.1426, allocations: 0.6786 MB / 487.4 MB, free: 13.83 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.1426, allocations: 8.031 kB / 487.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.561e-05/0.1427, allocations: 40.47 kB / 487.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003484/0.1431, allocations: 291.6 kB / 487.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.1431, allocations: 21.38 kB / 487.8 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.036e-05/0.1432, allocations: 36.38 kB / 487.8 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008361/0.144, allocations: 0.561 MB / 488.4 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.144, allocations: 0 / 488.4 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.397e-05/0.1441, allocations: 12 kB / 488.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.056e-05/0.1442, allocations: 44.97 kB / 488.4 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009626/0.1451, allocations: 0.5737 MB / 489 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001693/0.1468, allocations: 1.183 MB / 490.2 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006688/0.1475, allocations: 374.2 kB / 490.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002571/0.1478, allocations: 136.9 kB / 490.7 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.789e-05/0.1478, allocations: 7.922 kB / 490.7 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.1479, allocations: 38.55 kB / 490.7 MB, free: 10.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.343e-06/0.1479, allocations: 0 / 490.7 MB, free: 10.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009751/0.1489, allocations: 471.8 kB / 491.2 MB, free: 9.934 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.1489, allocations: 55.41 kB / 491.3 MB, free: 9.867 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004835/0.1494, allocations: 449.6 kB / 491.7 MB, free: 9.422 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/0.1494, allocations: 33.7 kB / 491.7 MB, free: 9.383 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.1496, allocations: 184.4 kB / 491.9 MB, free: 9.199 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.639e-05/0.1497, allocations: 74.86 kB / 492 MB, free: 9.125 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.949e-05/0.1498, allocations: 57.69 kB / 492 MB, free: 9.062 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.1499, allocations: 350.7 kB / 492.4 MB, free: 8.711 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/0.1502, allocations: 115.9 kB / 492.5 MB, free: 8.598 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/0.1505, allocations: 115.9 kB / 492.6 MB, free: 8.484 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005148/0.151, allocations: 268.1 kB / 492.9 MB, free: 8.223 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.151, allocations: 0 / 492.9 MB, free: 8.223 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006586/0.1517, allocations: 348.9 kB / 493.2 MB, free: 7.875 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.1517, allocations: 8 kB / 493.2 MB, free: 7.867 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1517, allocations: 3.938 kB / 493.2 MB, free: 7.863 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.1517, allocations: 3.984 kB / 493.2 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007231/0.1524, allocations: 151.9 kB / 493.4 MB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003457/0.1559, allocations: 5.52 MB / 498.9 MB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002099/0.1561, allocations: 43.44 kB / 498.9 MB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/0.1562, allocations: 15.98 kB / 499 MB, free: 1.922 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.0002301/0.1564, allocations: 189.7 kB / 499.1 MB, free: 1.727 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.763e-05/0.1565, allocations: 31.81 kB / 499.2 MB, free: 1.695 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008993/0.1574, allocations: 456.4 kB / 499.6 MB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.1574, allocations: 7.984 kB / 499.6 MB, free: 1.234 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.1574, allocations: 0 / 499.6 MB, free: 1.234 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1574, allocations: 3.984 kB / 499.6 MB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004565/0.1579, allocations: 381.2 kB / 500 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1579, allocations: 0 / 500 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006596/0.1586, allocations: 159.9 kB / 0.4884 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.1586, allocations: 0 / 0.4884 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.1586, allocations: 15.92 kB / 0.4884 GB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003282/0.1619, allocations: 5.509 MB / 0.4938 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.1619, allocations: 3.938 kB / 0.4938 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006959/0.1626, allocations: 454.1 kB / 0.4943 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.1627, allocations: 120.6 kB / 0.4944 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.134e-05/0.1628, allocations: 0 / 0.4944 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.163, allocations: 15.98 kB / 0.4944 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.873e-05/0.1631, allocations: 28.02 kB / 0.4944 GB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.953e-05/0.1631, allocations: 11.98 kB / 0.4944 GB, free: 10.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003682/0.1635, allocations: 339.1 kB / 0.4948 GB, free: 9.934 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1635, allocations: 0 / 0.4948 GB, free: 9.934 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004926/0.164, allocations: 143.9 kB / 0.4949 GB, free: 9.793 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.0004145/0.1644, allocations: 210.1 kB / 0.4951 GB, free: 9.578 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001191/0.1656, allocations: 443.5 kB / 0.4955 GB, free: 9.145 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1656, allocations: 0 / 0.4955 GB, free: 9.145 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008128/0.1664, allocations: 279.6 kB / 0.4958 GB, free: 8.871 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004666/0.1669, allocations: 95.61 kB / 0.4959 GB, free: 8.781 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.1682, allocations: 0.7873 MB / 0.4966 GB, free: 7.965 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004498/0.1687, allocations: 0.8543 MB / 0.4975 GB, free: 7.082 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002107/0.1689, allocations: 83.2 kB / 0.4976 GB, free: 7.004 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.223e-05/0.169, allocations: 31.42 kB / 0.4976 GB, free: 6.973 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.169, allocations: 0 / 0.4976 GB, free: 6.973 MB / 382.1 MB Notification: Performance of Templates: time 0.2143/0.3832, allocations: 8.598 MB / 0.506 GB, free: 43.02 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 -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/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","/var/lib/jenkins/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