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.001485/0.001485, allocations: 105.9 kB / 17.32 MB, free: 5.984 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.001742/0.001742, allocations: 189.3 kB / 18.25 MB, free: 5.074 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.335/1.335, allocations: 222.9 MB / 241.9 MB, free: 13.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.2137/0.2137, allocations: 44.17 MB / 336.2 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 58.81 kB / 407.9 MB, free: 27.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1178, allocations: 60.84 MB / 468.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall): time 0.003564/0.1214, allocations: 2.155 MB / 470.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00279/0.1242, allocations: 2.06 MB / 473 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.78e-05/0.1243, allocations: 4 kB / 473 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002944/0.1246, allocations: 63.66 kB / 473 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002796/0.125, allocations: 79.5 kB / 473.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008755/0.1259, allocations: 378.7 kB / 473.5 MB, free: 9.898 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004917/0.1264, allocations: 458 kB / 473.9 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.1265, allocations: 40.72 kB / 474 MB, free: 9.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002007/0.1267, allocations: 155.2 kB / 474.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.1269, allocations: 207 kB / 474.3 MB, free: 9.051 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.85e-05/0.127, allocations: 16 kB / 474.3 MB, free: 9.035 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008444/0.1278, allocations: 0.6005 MB / 474.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.128, allocations: 115.5 kB / 475 MB, free: 8.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001629/0.1282, allocations: 174.8 kB / 475.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007946/0.129, allocations: 0.6972 MB / 475.9 MB, free: 7.449 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.129, allocations: 0 / 475.9 MB, free: 7.449 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.129, allocations: 0 / 475.9 MB, free: 7.449 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.129, allocations: 0 / 475.9 MB, free: 7.449 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.001329/0.1303, allocations: 0.7603 MB / 476.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.1304, allocations: 12.03 kB / 476.7 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.969e-05/0.1305, allocations: 44.38 kB / 476.7 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/0.1308, allocations: 312.3 kB / 477 MB, free: 6.238 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.679e-05/0.1309, allocations: 37.3 kB / 477.1 MB, free: 6.203 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.066e-05/0.1309, allocations: 36.38 kB / 477.1 MB, free: 6.168 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009347/0.1319, allocations: 0.5781 MB / 477.7 MB, free: 5.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.1319, allocations: 0 / 477.7 MB, free: 5.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.745e-05/0.1319, allocations: 16 kB / 477.7 MB, free: 5.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.54e-05/0.132, allocations: 24.92 kB / 477.7 MB, free: 5.531 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008142/0.1328, allocations: 427.6 kB / 478.1 MB, free: 5.109 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/0.1346, allocations: 1.39 MB / 479.5 MB, free: 3.656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000523/0.1352, allocations: 271.6 kB / 479.8 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003223/0.1355, allocations: 142.5 kB / 479.9 MB, free: 3.215 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.319e-05/0.1356, allocations: 7.984 kB / 479.9 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.1356, allocations: 34.56 kB / 480 MB, free: 3.164 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 4.318e-06/0.1356, allocations: 4 kB / 480 MB, free: 3.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001207/0.1368, allocations: 463.4 kB / 480.4 MB, free: 2.703 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.961e-05/0.1369, allocations: 110.8 kB / 480.5 MB, free: 2.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006349/0.1376, allocations: 0.545 MB / 481.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.1376, allocations: 29.7 kB / 481.1 MB, free: 1.984 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.1378, allocations: 220.1 kB / 481.3 MB, free: 1.766 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.486e-05/0.1378, allocations: 55.2 kB / 481.4 MB, free: 1.711 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.927e-05/0.1379, allocations: 49.7 kB / 481.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.1381, allocations: 350.8 kB / 481.8 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003193/0.1385, allocations: 127.9 kB / 481.9 MB, free: 1.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003482/0.1388, allocations: 184.9 kB / 482.1 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006528/0.1395, allocations: 300.8 kB / 482.4 MB, free: 0.668 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1395, allocations: 0 / 482.4 MB, free: 0.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008277/0.1403, allocations: 387.9 kB / 482.8 MB, free: 292 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.1404, allocations: 7.938 kB / 482.8 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.699e-05/0.1404, allocations: 28 kB / 482.8 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1404, allocations: 0 / 482.8 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.1407, allocations: 39.95 kB / 482.8 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.1407, allocations: 8.141 kB / 482.8 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002796/0.141, allocations: 59.36 kB / 482.9 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/0.141, allocations: 15.98 kB / 482.9 MB, free: 132 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002128/0.1412, allocations: 181.8 kB / 483.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.1414, allocations: 43.47 kB / 483.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007623/0.1421, allocations: 388.7 kB / 483.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.1421, allocations: 4 kB / 483.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.1422, allocations: 4 kB / 483.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1422, allocations: 0 / 483.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000532/0.1427, allocations: 369.3 kB / 483.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.967e-05/0.1428, allocations: 35.98 kB / 483.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.1429, allocations: 23.97 kB / 483.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.1429, allocations: 3.938 kB / 483.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.143, allocations: 12 kB / 484 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.143, allocations: 4 kB / 484 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.143, allocations: 3.938 kB / 484 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008465/0.1438, allocations: 0.5832 MB / 484.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002708/0.1441, allocations: 160.4 kB / 484.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.553e-05/0.1442, allocations: 4 kB / 484.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003097/0.1445, allocations: 19.97 kB / 484.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.723e-05/0.1446, allocations: 19.98 kB / 484.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.1446, allocations: 12 kB / 484.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004218/0.145, allocations: 407 kB / 485.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.145, allocations: 0 / 485.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005838/0.1456, allocations: 155.9 kB / 485.3 MB, free: 13.64 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.0004164/0.1461, allocations: 227.5 kB / 485.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008841/0.147, allocations: 0.5343 MB / 486.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.147, allocations: 0 / 486.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004655/0.1474, allocations: 387.1 kB / 486.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007108/0.1482, allocations: 102 kB / 486.5 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.1496, allocations: 0.954 MB / 487.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004261/0.1501, allocations: 0.8536 MB / 488.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001672/0.1502, allocations: 67.17 kB / 488.4 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.107e-05/0.1503, allocations: 31.44 kB / 488.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1503, allocations: 3.938 kB / 488.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of Templates: time 0.0135/0.1638, allocations: 8.468 MB / 496.9 MB, free: 1.949 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