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.0009826/0.0009828, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001021/0.001021, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.298/1.298, allocations: 222.9 MB / 242.2 MB, free: 15.21 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.2132/0.2132, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 61.2 kB / 408.5 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.136, allocations: 60.82 MB / 469.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall): time 0.004179/0.1403, allocations: 2.113 MB / 471.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003218/0.1435, allocations: 2.063 MB / 473.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002491/0.1438, allocations: 4 kB / 473.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003909/0.1442, allocations: 67.58 kB / 473.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000405/0.1446, allocations: 107.3 kB / 473.6 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.1459, allocations: 410.3 kB / 474 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006075/0.1465, allocations: 442 kB / 474.5 MB, free: 9.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.1467, allocations: 48.7 kB / 474.5 MB, free: 9.086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003088/0.147, allocations: 167.2 kB / 474.7 MB, free: 8.922 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002562/0.1472, allocations: 195 kB / 474.9 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.924e-05/0.1473, allocations: 12 kB / 474.9 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009334/0.1482, allocations: 0.5967 MB / 475.5 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.1484, allocations: 107.5 kB / 475.6 MB, free: 8.016 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.1486, allocations: 178.8 kB / 475.7 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008307/0.1494, allocations: 0.6933 MB / 476.4 MB, free: 7.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1494, allocations: 0 / 476.4 MB, free: 7.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1494, allocations: 0 / 476.4 MB, free: 7.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.1495, allocations: 4 kB / 476.4 MB, free: 7.141 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.001349/0.1508, allocations: 0.7603 MB / 477.2 MB, free: 6.332 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1509, allocations: 8.031 kB / 477.2 MB, free: 6.324 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.34e-05/0.1509, allocations: 44.38 kB / 477.3 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003489/0.1513, allocations: 324.3 kB / 477.6 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.1513, allocations: 37.31 kB / 477.6 MB, free: 5.887 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.079e-05/0.1514, allocations: 36.38 kB / 477.6 MB, free: 5.852 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008544/0.1523, allocations: 0.5819 MB / 478.2 MB, free: 5.246 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1523, allocations: 0 / 478.2 MB, free: 5.246 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/0.1523, allocations: 19.98 kB / 478.2 MB, free: 5.227 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.322e-05/0.1524, allocations: 24.98 kB / 478.3 MB, free: 5.203 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007633/0.1531, allocations: 427.6 kB / 478.7 MB, free: 4.785 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/0.1548, allocations: 1.383 MB / 480.1 MB, free: 3.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004949/0.1553, allocations: 279.6 kB / 480.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003032/0.1556, allocations: 134.4 kB / 480.5 MB, free: 2.898 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.245e-05/0.1557, allocations: 7.984 kB / 480.5 MB, free: 2.891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.1557, allocations: 34.56 kB / 480.5 MB, free: 2.848 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.433e-06/0.1557, allocations: 4 kB / 480.5 MB, free: 2.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001113/0.1568, allocations: 456.8 kB / 481 MB, free: 2.391 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.078e-05/0.1569, allocations: 111 kB / 481.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005468/0.1574, allocations: 0.5486 MB / 481.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.1575, allocations: 25.7 kB / 481.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.1576, allocations: 216.1 kB / 481.9 MB, free: 1.457 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.346e-05/0.1577, allocations: 63.17 kB / 481.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.835e-05/0.1578, allocations: 49.7 kB / 482 MB, free: 1.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.1579, allocations: 354.8 kB / 482.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003144/0.1582, allocations: 128 kB / 482.4 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003163/0.1585, allocations: 169 kB / 482.6 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000618/0.1592, allocations: 300.8 kB / 482.9 MB, free: 372 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1592, allocations: 0 / 482.9 MB, free: 372 kB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007762/0.16, allocations: 387.1 kB / 483.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.16, allocations: 11.94 kB / 483.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.509e-05/0.1601, allocations: 31.92 kB / 483.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.1601, allocations: 4 kB / 483.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.1603, allocations: 32.12 kB / 483.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.1603, allocations: 7.984 kB / 483.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/0.1606, allocations: 59.41 kB / 483.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/0.1606, allocations: 16 kB / 483.4 MB, free: 15.82 MB / 366.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001712/0.1608, allocations: 189.7 kB / 483.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.1609, allocations: 39.47 kB / 483.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006982/0.1616, allocations: 388.7 kB / 484 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.1616, allocations: 4 kB / 484 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1616, allocations: 4 kB / 484.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1616, allocations: 0 / 484.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005022/0.1621, allocations: 369.4 kB / 484.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.773e-05/0.1622, allocations: 31.98 kB / 484.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.1623, allocations: 27.91 kB / 484.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.1623, allocations: 7.938 kB / 484.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.1624, allocations: 12 kB / 484.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.1624, allocations: 3.938 kB / 484.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.1624, allocations: 4 kB / 484.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007947/0.1632, allocations: 0.5703 MB / 485.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.1634, allocations: 160.4 kB / 485.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.117e-05/0.1635, allocations: 4 kB / 485.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000298/0.1638, allocations: 15.98 kB / 485.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.989e-05/0.1638, allocations: 27.91 kB / 485.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.1639, allocations: 8 kB / 485.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004187/0.1643, allocations: 415 kB / 485.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1643, allocations: 0 / 485.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000564/0.1649, allocations: 151.9 kB / 485.8 MB, free: 13.33 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004034/0.1653, allocations: 231 kB / 486.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008732/0.1662, allocations: 0.5383 MB / 486.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1662, allocations: 3.938 kB / 486.6 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004508/0.1666, allocations: 387.1 kB / 487 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006599/0.1673, allocations: 102.1 kB / 487.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.1688, allocations: 0.8408 MB / 487.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.1692, allocations: 0.8614 MB / 488.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000184/0.1694, allocations: 59.27 kB / 488.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.327e-05/0.1695, allocations: 35.36 kB / 488.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1695, allocations: 0 / 488.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of Templates: time 0.01606/0.1855, allocations: 8.612 MB / 497.5 MB, free: 1.594 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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