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.001407/0.001407, allocations: 108.3 kB / 18.41 MB, free: 4.566 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.001292/0.001292, allocations: 187 kB / 19.34 MB, free: 3.641 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.384/1.384, allocations: 222.9 MB / 243 MB, free: 15.09 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.2077/0.2077, allocations: 44.19 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.69 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1186, allocations: 60.83 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.003698/0.1224, allocations: 2.105 MB / 472.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.1241, allocations: 1.153 MB / 474 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.753e-05/0.1242, allocations: 4 kB / 474 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002844/0.1245, allocations: 71.52 kB / 474.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.1248, allocations: 91.42 kB / 474.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004816/0.1253, allocations: 167.3 kB / 474.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004637/0.1258, allocations: 438 kB / 474.7 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.336e-05/0.1258, allocations: 44.72 kB / 474.8 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002056/0.1261, allocations: 159.1 kB / 474.9 MB, free: 9.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.1263, allocations: 183.1 kB / 475.1 MB, free: 9.211 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.588e-05/0.1263, allocations: 12 kB / 475.1 MB, free: 9.199 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003594/0.1267, allocations: 207.7 kB / 475.3 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.1268, allocations: 95.52 kB / 475.4 MB, free: 8.902 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.127, allocations: 162.9 kB / 475.6 MB, free: 8.742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005313/0.1275, allocations: 0.4942 MB / 476.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.1275, allocations: 0 / 476.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1275, allocations: 0 / 476.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1276, allocations: 0 / 476.1 MB, free: 8.246 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.001179/0.1287, allocations: 0.7058 MB / 476.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.1288, allocations: 12.03 kB / 476.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.953e-05/0.1289, allocations: 44.47 kB / 476.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.1293, allocations: 291.4 kB / 477.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.125e-05/0.1293, allocations: 29.38 kB / 477.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.53e-05/0.1294, allocations: 36.36 kB / 477.2 MB, free: 7.051 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008615/0.1302, allocations: 0.5741 MB / 477.8 MB, free: 6.457 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.1303, allocations: 4 kB / 477.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/0.1303, allocations: 16 kB / 477.8 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-05/0.1303, allocations: 29 kB / 477.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007669/0.1311, allocations: 423.5 kB / 478.2 MB, free: 5.992 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001908/0.133, allocations: 1.371 MB / 479.6 MB, free: 4.559 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005272/0.1336, allocations: 279.5 kB / 479.9 MB, free: 4.258 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002958/0.1339, allocations: 138.4 kB / 480 MB, free: 4.113 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.266e-05/0.134, allocations: 4 kB / 480 MB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.134, allocations: 34.56 kB / 480 MB, free: 4.066 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.743e-06/0.134, allocations: 4 kB / 480.1 MB, free: 4.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.00112/0.1351, allocations: 448.7 kB / 480.5 MB, free: 3.617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.1352, allocations: 115 kB / 480.6 MB, free: 3.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005311/0.1357, allocations: 0.5058 MB / 481.1 MB, free: 2.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.1358, allocations: 25.7 kB / 481.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.1359, allocations: 200.2 kB / 481.3 MB, free: 2.738 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.029e-05/0.136, allocations: 63.09 kB / 481.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.1361, allocations: 53.69 kB / 481.4 MB, free: 2.617 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1362, allocations: 350.9 kB / 481.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003679/0.1366, allocations: 135.8 kB / 481.9 MB, free: 2.133 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003269/0.137, allocations: 165 kB / 482.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006279/0.1376, allocations: 296.8 kB / 482.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.1376, allocations: 4 kB / 482.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000801/0.1384, allocations: 379.6 kB / 482.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.1384, allocations: 7.938 kB / 482.8 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.958e-05/0.1385, allocations: 35.92 kB / 482.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.1385, allocations: 0 / 482.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.1387, allocations: 40.12 kB / 482.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1388, allocations: 0 / 482.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/0.139, allocations: 59.34 kB / 482.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.704e-05/0.139, allocations: 16 kB / 482.9 MB, free: 1.109 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.0001666/0.1392, allocations: 181.7 kB / 483.1 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.1393, allocations: 47.45 kB / 483.1 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007105/0.14, allocations: 388.5 kB / 483.5 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.1401, allocations: 4 kB / 483.5 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1401, allocations: 0 / 483.5 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1401, allocations: 0 / 483.5 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005575/0.1406, allocations: 357.4 kB / 483.9 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-05/0.1407, allocations: 31.92 kB / 483.9 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.1409, allocations: 27.91 kB / 483.9 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.1409, allocations: 3.938 kB / 483.9 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.1409, allocations: 15.94 kB / 483.9 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1409, allocations: 0 / 483.9 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1409, allocations: 8 kB / 483.9 MB, free: 0 / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008052/0.1417, allocations: 0.5638 MB / 484.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.1419, allocations: 128.5 kB / 484.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.321e-05/0.1419, allocations: 8 kB / 484.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002752/0.1422, allocations: 19.97 kB / 484.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.024e-05/0.1423, allocations: 23.92 kB / 484.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.586e-05/0.1423, allocations: 15.98 kB / 484.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003718/0.1427, allocations: 371.1 kB / 485.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1427, allocations: 0 / 485.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004886/0.1432, allocations: 115.8 kB / 485.2 MB, free: 14.74 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.0002667/0.1435, allocations: 155.1 kB / 485.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008216/0.1443, allocations: 0.5185 MB / 485.8 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1443, allocations: 0 / 485.8 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005385/0.1449, allocations: 380.1 kB / 486.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006383/0.1455, allocations: 107.2 kB / 486.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.147, allocations: 0.8136 MB / 487.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.1474, allocations: 0.8458 MB / 488 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001369/0.1476, allocations: 55.25 kB / 488 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.085e-05/0.1477, allocations: 31.44 kB / 488.1 MB, free: 11.67 MB / 366.1 MB Notification: Performance of SimCode: time 2.395e-06/0.1477, allocations: 0 / 488.1 MB, free: 11.67 MB / 366.1 MB Notification: Performance of Templates: time 0.01185/0.1595, allocations: 7.165 MB / 495.2 MB, free: 4.605 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 -s cvode -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/jenkins1/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/jenkins1/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