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.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,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|frac_dhydTodcoil.1.|frac_dhydTodcoil.2.|frac_dhydTodcoil.3.|d_coil.1.|d_coil.2.|d_coil.3.|d_w.1.|d_w.2.|d_w.3.|n_nt.1.|n_nt.2.|n_nt.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|frac_dhydTodcoil.1.|frac_dhydTodcoil.2.|frac_dhydTodcoil.3.|d_coil.1.|d_coil.2.|d_coil.3.|d_w.1.|d_w.2.|d_w.3.|n_nt.1.|n_nt.2.|n_nt.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 100.6 kB / 16.99 MB, free: 6.402 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.001385/0.001385, allocations: 178.7 kB / 17.88 MB, free: 5.957 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.408/1.408, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1839/0.1839, allocations: 44.22 MB / 337.1 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002794/0.0002795, allocations: 8 kB / 409.6 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1307, allocations: 61.93 MB / 471.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall): time 0.002137/0.1329, allocations: 1.711 MB / 473.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002322/0.1352, allocations: 1.781 MB / 475 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.81e-05/0.1353, allocations: 0 / 475 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002422/0.1356, allocations: 55.72 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.1358, allocations: 75.73 kB / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007653/0.1366, allocations: 355 kB / 475.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003349/0.1369, allocations: 299.3 kB / 475.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.628e-05/0.137, allocations: 44.72 kB / 475.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.1372, allocations: 143.3 kB / 475.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001872/0.1374, allocations: 159.4 kB / 476.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.348e-05/0.1375, allocations: 11.98 kB / 476.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008488/0.1383, allocations: 0.5967 MB / 476.7 MB, free: 8.469 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.1385, allocations: 99.67 kB / 476.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.557e-05/0.1386, allocations: 89.45 kB / 476.9 MB, free: 8.277 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005296/0.1391, allocations: 435.3 kB / 477.3 MB, free: 7.852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1391, allocations: 0 / 477.3 MB, free: 7.852 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1391, allocations: 0 / 477.3 MB, free: 7.852 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.1391, allocations: 0 / 477.3 MB, free: 7.852 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001216/0.1404, allocations: 0.7056 MB / 478 MB, free: 7.098 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1404, allocations: 8.031 kB / 478 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.576e-05/0.1405, allocations: 47.44 kB / 478.1 MB, free: 7.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004165/0.1409, allocations: 303.4 kB / 478.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/0.141, allocations: 33 kB / 478.4 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.052e-05/0.141, allocations: 36 kB / 478.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00089/0.1419, allocations: 0.5894 MB / 479 MB, free: 6.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.1419, allocations: 0 / 479 MB, free: 6.027 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.426e-05/0.142, allocations: 16 kB / 479 MB, free: 6.012 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.233e-05/0.142, allocations: 20.94 kB / 479 MB, free: 5.992 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008239/0.1428, allocations: 455.5 kB / 479.5 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001869/0.1447, allocations: 1.41 MB / 480.9 MB, free: 4.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005321/0.1453, allocations: 279.6 kB / 481.2 MB, free: 3.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.218e-05/0.1453, allocations: 15.94 kB / 481.2 MB, free: 3.754 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.1454, allocations: 42.55 kB / 481.2 MB, free: 3.703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.663e-06/0.1454, allocations: 0 / 481.2 MB, free: 3.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001339/0.1467, allocations: 0.7113 MB / 481.9 MB, free: 2.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.484e-05/0.1468, allocations: 110.7 kB / 482.1 MB, free: 2.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005837/0.1474, allocations: 0.5408 MB / 482.6 MB, free: 2.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.167e-05/0.1474, allocations: 25.7 kB / 482.6 MB, free: 2.219 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.1476, allocations: 216.2 kB / 482.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.312e-05/0.1477, allocations: 55.2 kB / 482.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.631e-05/0.1477, allocations: 4 kB / 482.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1478, allocations: 354.8 kB / 483.2 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003134/0.1482, allocations: 136 kB / 483.4 MB, free: 1.457 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003495/0.1485, allocations: 193.3 kB / 483.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003442/0.1489, allocations: 159.8 kB / 483.7 MB, free: 1.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1489, allocations: 0 / 483.7 MB, free: 1.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008307/0.1497, allocations: 407.3 kB / 484.1 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.1497, allocations: 4 kB / 484.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.955e-05/0.1498, allocations: 31.97 kB / 484.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1498, allocations: 0 / 484.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.15, allocations: 35.97 kB / 484.2 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.1501, allocations: 8.094 kB / 484.2 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002817/0.1504, allocations: 63.41 kB / 484.2 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/0.1504, allocations: 12 kB / 484.3 MB, free: 0.5391 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002013/0.1506, allocations: 194.2 kB / 484.5 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.1507, allocations: 43.52 kB / 484.5 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007538/0.1515, allocations: 396.9 kB / 484.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.1515, allocations: 4 kB / 484.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.1515, allocations: 4 kB / 484.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.1515, allocations: 3.984 kB / 484.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005715/0.1521, allocations: 373.2 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.074e-05/0.1522, allocations: 35.92 kB / 485.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.1523, allocations: 35.91 kB / 485.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.1523, allocations: 4 kB / 485.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.1524, allocations: 4 kB / 485.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.1524, allocations: 4 kB / 485.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1524, allocations: 3.938 kB / 485.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008634/0.1532, allocations: 0.6182 MB / 486 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002341/0.1535, allocations: 168.4 kB / 486.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.765e-05/0.1536, allocations: 11.98 kB / 486.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003112/0.1539, allocations: 23.98 kB / 486.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.333e-05/0.154, allocations: 27.91 kB / 486.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.154, allocations: 8 kB / 486.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000465/0.1545, allocations: 407 kB / 486.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1545, allocations: 0 / 486.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000668/0.1552, allocations: 147.9 kB / 486.7 MB, free: 13.95 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004586/0.1556, allocations: 223.1 kB / 487 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000931/0.1566, allocations: 0.5403 MB / 487.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1566, allocations: 0 / 487.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004801/0.1571, allocations: 399.4 kB / 487.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005146/0.1576, allocations: 95.42 kB / 488 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.1591, allocations: 0.9305 MB / 488.9 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005086/0.1596, allocations: 0.8694 MB / 489.8 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001663/0.1598, allocations: 59.25 kB / 489.8 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.934e-05/0.1599, allocations: 35.42 kB / 489.9 MB, free: 10.64 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1599, allocations: 0 / 489.9 MB, free: 10.64 MB / 366.1 MB Notification: Performance of Templates: time 0.0145/0.1744, allocations: 7.815 MB / 497.7 MB, free: 2.918 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_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_overall.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches