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.0008649/0.000865, allocations: 98.16 kB / 17 MB, free: 6.398 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.0009085/0.0009084, allocations: 176.4 kB / 17.89 MB, free: 5.945 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.398/1.398, allocations: 223.3 MB / 241.9 MB, free: 248 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.2024/0.2024, allocations: 44.25 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002829/0.0002829, allocations: 8.5 kB / 409.7 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1281, allocations: 61.94 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall): time 0.002428/0.1306, allocations: 1.762 MB / 473.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003186/0.1338, allocations: 1.875 MB / 475.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001546/0.134, allocations: 0 / 475.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003284/0.1343, allocations: 51.67 kB / 475.3 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003168/0.1346, allocations: 95.48 kB / 475.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009497/0.1356, allocations: 346.3 kB / 475.7 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000524/0.1361, allocations: 493.9 kB / 476.2 MB, free: 9.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.781e-05/0.1362, allocations: 40.72 kB / 476.3 MB, free: 9.012 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002486/0.1365, allocations: 159.2 kB / 476.4 MB, free: 8.855 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002674/0.1368, allocations: 191.1 kB / 476.6 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.501e-05/0.1368, allocations: 12 kB / 476.6 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000935/0.1378, allocations: 0.5615 MB / 477.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001697/0.1379, allocations: 107.6 kB / 477.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002/0.1382, allocations: 89.39 kB / 477.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000608/0.1388, allocations: 467 kB / 477.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.1388, allocations: 0 / 477.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.327e-06/0.1388, allocations: 0 / 477.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.1388, allocations: 0 / 477.8 MB, free: 7.438 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.001365/0.1402, allocations: 0.7117 MB / 478.5 MB, free: 6.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.1402, allocations: 12.03 kB / 478.6 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.831e-05/0.1403, allocations: 43.44 kB / 478.6 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003915/0.1407, allocations: 299.5 kB / 478.9 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/0.1408, allocations: 29 kB / 478.9 MB, free: 6.262 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.132e-05/0.1408, allocations: 36 kB / 479 MB, free: 6.227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009264/0.1418, allocations: 0.5933 MB / 479.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1418, allocations: 0 / 479.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.524e-05/0.1418, allocations: 16 kB / 479.6 MB, free: 5.598 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.566e-05/0.1419, allocations: 24.97 kB / 479.6 MB, free: 5.574 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007863/0.1427, allocations: 455.6 kB / 480 MB, free: 5.125 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001885/0.1446, allocations: 1.387 MB / 481.4 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005254/0.1451, allocations: 291.5 kB / 481.7 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003229/0.1454, allocations: 146.5 kB / 481.8 MB, free: 3.211 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.579e-05/0.1455, allocations: 11.95 kB / 481.9 MB, free: 3.199 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.1455, allocations: 38.56 kB / 481.9 MB, free: 3.152 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.413e-06/0.1456, allocations: 0 / 481.9 MB, free: 3.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0012/0.1468, allocations: 493 kB / 482.4 MB, free: 2.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.006e-05/0.1468, allocations: 114.8 kB / 482.5 MB, free: 2.527 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007235/0.1476, allocations: 0.5369 MB / 483 MB, free: 1.984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.1476, allocations: 25.7 kB / 483 MB, free: 1.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/0.1478, allocations: 216.2 kB / 483.3 MB, free: 1.738 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.673e-05/0.1479, allocations: 67.2 kB / 483.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.584e-05/0.1479, allocations: 0 / 483.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.1481, allocations: 358.8 kB / 483.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003303/0.1485, allocations: 140 kB / 483.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003443/0.1488, allocations: 181.3 kB / 484 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003293/0.1492, allocations: 155.8 kB / 484.1 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.495e-05/0.1492, allocations: 8 kB / 484.2 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007657/0.15, allocations: 396.9 kB / 484.5 MB, free: 436 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.15, allocations: 18.27 kB / 484.6 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-05/0.1501, allocations: 24 kB / 484.6 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.1501, allocations: 4 kB / 484.6 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.1503, allocations: 48.08 kB / 484.6 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1503, allocations: 0 / 484.6 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002505/0.1506, allocations: 59.42 kB / 484.7 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.164e-05/0.1506, allocations: 15.98 kB / 484.7 MB, free: 268 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001957/0.1508, allocations: 194.2 kB / 484.9 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.267e-05/0.1509, allocations: 39.53 kB / 484.9 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008027/0.1517, allocations: 399.5 kB / 485.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.1518, allocations: 4 kB / 485.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.1518, allocations: 4 kB / 485.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1518, allocations: 0 / 485.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000586/0.1524, allocations: 385.2 kB / 485.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-05/0.1524, allocations: 31.92 kB / 485.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.1526, allocations: 35.91 kB / 485.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.1526, allocations: 0 / 485.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/0.1526, allocations: 12 kB / 485.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1526, allocations: 0 / 485.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1526, allocations: 4 kB / 485.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008606/0.1535, allocations: 0.5954 MB / 486.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001718/0.1537, allocations: 156.4 kB / 486.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.968e-05/0.1538, allocations: 4 kB / 486.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.1541, allocations: 27.97 kB / 486.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.146e-05/0.1542, allocations: 23.92 kB / 486.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.1542, allocations: 12 kB / 486.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004409/0.1547, allocations: 407 kB / 487 MB, free: 13.87 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1547, allocations: 0 / 487 MB, free: 13.87 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006248/0.1553, allocations: 151.9 kB / 487.1 MB, free: 13.72 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.0004072/0.1557, allocations: 231 kB / 487.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008705/0.1566, allocations: 0.5341 MB / 487.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1566, allocations: 0 / 487.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004496/0.1571, allocations: 403.4 kB / 488.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006756/0.1577, allocations: 97.91 kB / 488.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.1592, allocations: 0.9304 MB / 489.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.1596, allocations: 0.8537 MB / 490.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001632/0.1598, allocations: 59.25 kB / 490.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.825e-05/0.1599, allocations: 31.44 kB / 490.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of SimCode: time 2.254e-06/0.1599, allocations: 0 / 490.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of Templates: time 0.01315/0.173, allocations: 7.97 MB / 498.2 MB, free: 2.539 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