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_turbulent.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_turbulent,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.|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.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,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.|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.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, 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.001598/0.001598, 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.312/1.312, 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.2044/0.2044, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 64.61 kB / 408.5 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1277, allocations: 60.82 MB / 469.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.004033/0.1318, allocations: 2.102 MB / 471.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001909/0.1337, allocations: 1.16 MB / 472.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001538/0.1339, allocations: 4 kB / 472.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003208/0.1342, allocations: 67.53 kB / 472.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002874/0.1345, allocations: 91.42 kB / 472.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005449/0.1351, allocations: 171.3 kB / 472.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004764/0.1356, allocations: 438.1 kB / 473.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.553e-05/0.1357, allocations: 40.72 kB / 473.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002385/0.1359, allocations: 163.1 kB / 473.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002426/0.1362, allocations: 183.1 kB / 473.7 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.446e-05/0.1362, allocations: 12 kB / 473.7 MB, free: 9.906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003829/0.1366, allocations: 207.7 kB / 473.9 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.1367, allocations: 91.53 kB / 474 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001962/0.1369, allocations: 166.9 kB / 474.1 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005884/0.1375, allocations: 498.4 kB / 474.6 MB, free: 8.961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1376, allocations: 3.938 kB / 474.6 MB, free: 8.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1376, allocations: 0 / 474.6 MB, free: 8.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.626e-05/0.1376, allocations: 0 / 474.6 MB, free: 8.957 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.001318/0.1389, allocations: 0.7019 MB / 475.3 MB, free: 8.207 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.139, allocations: 8.031 kB / 475.3 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.299e-05/0.1391, allocations: 40.47 kB / 475.4 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.1394, allocations: 291.4 kB / 475.7 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.1394, allocations: 29.38 kB / 475.7 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.792e-05/0.1395, allocations: 36.38 kB / 475.7 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009026/0.1404, allocations: 0.5819 MB / 476.3 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.1404, allocations: 0 / 476.3 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.022e-05/0.1405, allocations: 16 kB / 476.3 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.714e-05/0.1405, allocations: 17 kB / 476.3 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008351/0.1413, allocations: 435.5 kB / 476.8 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001807/0.1432, allocations: 1.371 MB / 478.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005308/0.1437, allocations: 271.6 kB / 478.4 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000316/0.144, allocations: 146.4 kB / 478.5 MB, free: 4.832 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.866e-05/0.1441, allocations: 4 kB / 478.5 MB, free: 4.828 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.1441, allocations: 34.56 kB / 478.6 MB, free: 4.785 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.713e-06/0.1441, allocations: 0 / 478.6 MB, free: 4.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001312/0.1455, allocations: 452.7 kB / 479 MB, free: 4.336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.963e-05/0.1456, allocations: 114.7 kB / 479.1 MB, free: 4.199 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005489/0.1461, allocations: 0.5021 MB / 479.6 MB, free: 3.691 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.1462, allocations: 33.64 kB / 479.7 MB, free: 3.652 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.1463, allocations: 200.2 kB / 479.9 MB, free: 3.453 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.071e-05/0.1464, allocations: 63.09 kB / 479.9 MB, free: 3.391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.1465, allocations: 53.69 kB / 480 MB, free: 3.332 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1467, allocations: 350.8 kB / 480.3 MB, free: 2.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003215/0.147, allocations: 123.9 kB / 480.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003455/0.1473, allocations: 169 kB / 480.6 MB, free: 2.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006529/0.148, allocations: 303.8 kB / 480.9 MB, free: 2.363 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.148, allocations: 0 / 480.9 MB, free: 2.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007888/0.1488, allocations: 376.8 kB / 481.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.1489, allocations: 14.44 kB / 481.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.01e-05/0.1489, allocations: 35.92 kB / 481.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.1489, allocations: 4 kB / 481.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.1491, allocations: 31.91 kB / 481.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.1492, allocations: 4.156 kB / 481.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002532/0.1494, allocations: 63.34 kB / 481.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.1495, allocations: 12 kB / 481.4 MB, free: 1.828 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001838/0.1497, allocations: 185.7 kB / 481.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.1498, allocations: 43.45 kB / 481.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007842/0.1506, allocations: 388.5 kB / 482 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.076e-06/0.1506, allocations: 4 kB / 482 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.1506, allocations: 4 kB / 482 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.1506, allocations: 4 kB / 482 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005438/0.1511, allocations: 353.4 kB / 482.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.895e-05/0.1512, allocations: 31.98 kB / 482.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.1514, allocations: 31.91 kB / 482.5 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.1514, allocations: 3.938 kB / 482.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.1514, allocations: 8 kB / 482.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1514, allocations: 4 kB / 482.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1514, allocations: 0 / 482.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008061/0.1522, allocations: 0.5716 MB / 483 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.1524, allocations: 128.7 kB / 483.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.853e-05/0.1524, allocations: 0 / 483.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002817/0.1527, allocations: 23.91 kB / 483.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.615e-05/0.1528, allocations: 19.92 kB / 483.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.047e-05/0.1529, allocations: 15.98 kB / 483.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004011/0.1533, allocations: 375.1 kB / 483.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1533, allocations: 0 / 483.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005286/0.1538, allocations: 119.8 kB / 483.7 MB, free: 15.45 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.0003401/0.1542, allocations: 151.1 kB / 483.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009024/0.1551, allocations: 0.5344 MB / 484.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1551, allocations: 0 / 484.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004684/0.1556, allocations: 395.7 kB / 484.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000677/0.1562, allocations: 93.38 kB / 484.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.1578, allocations: 0.8137 MB / 485.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/0.1583, allocations: 0.8458 MB / 486.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001797/0.1585, allocations: 63.25 kB / 486.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.74e-05/0.1586, allocations: 27.42 kB / 486.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1586, allocations: 0 / 486.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of Templates: time 0.01357/0.1721, allocations: 7.171 MB / 493.8 MB, free: 5.297 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches