Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001461/0.001461, allocations: 107.5 kB / 17.03 MB, free: 5.66 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.00168/0.00168, allocations: 190.9 kB / 17.96 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.444/1.444, allocations: 205.1 MB / 223.8 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2027/0.2027, allocations: 43.53 MB / 314.7 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 64.98 kB / 384.2 MB, free: 56.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1182, allocations: 57.79 MB / 442 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.003062/0.1213, allocations: 2.1 MB / 444.1 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.1228, allocations: 1.2 MB / 445.3 MB, free: 2.785 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.525e-05/0.1229, allocations: 0 / 445.3 MB, free: 2.785 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002638/0.1232, allocations: 63.59 kB / 445.3 MB, free: 2.723 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001885/0.1234, allocations: 91.38 kB / 445.4 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004327/0.1238, allocations: 179.3 kB / 445.6 MB, free: 2.457 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003613/0.1242, allocations: 430 kB / 446 MB, free: 2.035 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.462e-05/0.1243, allocations: 48.66 kB / 446.1 MB, free: 1.988 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.1244, allocations: 155.2 kB / 446.2 MB, free: 1.836 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.1246, allocations: 183 kB / 446.4 MB, free: 1.656 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.143e-05/0.1247, allocations: 19.94 kB / 446.4 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003029/0.125, allocations: 215.7 kB / 446.6 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.855e-05/0.1251, allocations: 95.53 kB / 446.7 MB, free: 1.332 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.1252, allocations: 166.8 kB / 446.9 MB, free: 1.168 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004442/0.1256, allocations: 486.2 kB / 447.4 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1257, allocations: 4 kB / 447.4 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1257, allocations: 4 kB / 447.4 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.1257, allocations: 0 / 447.4 MB, free: 0.6836 MB / 318.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.001151/0.1268, allocations: 0.7058 MB / 448.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.1269, allocations: 11.89 kB / 448.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.127, allocations: 44.38 kB / 448.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004206/0.1274, allocations: 287.5 kB / 448.4 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/0.1275, allocations: 33.38 kB / 448.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.529e-05/0.1275, allocations: 36.38 kB / 448.5 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009173/0.1285, allocations: 0.5819 MB / 449.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1285, allocations: 0 / 449.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.629e-05/0.1285, allocations: 16 kB / 449.1 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.348e-05/0.1286, allocations: 21 kB / 449.1 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007931/0.1294, allocations: 431.5 kB / 449.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00183/0.1312, allocations: 1.367 MB / 450.9 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005552/0.1318, allocations: 263.6 kB / 451.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000316/0.1321, allocations: 142.5 kB / 451.3 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.225e-05/0.1322, allocations: 11.92 kB / 451.3 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.1322, allocations: 34.56 kB / 451.3 MB, free: 12.51 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.613e-06/0.1322, allocations: 0 / 451.3 MB, free: 12.51 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001158/0.1334, allocations: 460.2 kB / 451.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/0.1335, allocations: 106.8 kB / 451.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005179/0.134, allocations: 0.4944 MB / 452.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.134, allocations: 41.64 kB / 452.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.1342, allocations: 208.1 kB / 452.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.626e-05/0.1342, allocations: 55.2 kB / 452.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.774e-05/0.1343, allocations: 53.61 kB / 452.7 MB, free: 11.06 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1345, allocations: 350.8 kB / 453.1 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003003/0.1348, allocations: 127.9 kB / 453.2 MB, free: 10.58 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003063/0.1351, allocations: 173 kB / 453.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006175/0.1357, allocations: 296.8 kB / 453.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1357, allocations: 0 / 453.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007518/0.1365, allocations: 376.8 kB / 454 MB, free: 9.711 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.1365, allocations: 15.92 kB / 454 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.945e-05/0.1366, allocations: 31.94 kB / 454.1 MB, free: 9.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1366, allocations: 4 kB / 454.1 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.1368, allocations: 35.89 kB / 454.1 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.1368, allocations: 4 kB / 454.1 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/0.1371, allocations: 59.58 kB / 454.2 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.1371, allocations: 11.98 kB / 454.2 MB, free: 9.551 MB / 334.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.0001859/0.1373, allocations: 185.7 kB / 454.4 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.1374, allocations: 43.47 kB / 454.4 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007647/0.1382, allocations: 376.2 kB / 454.8 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.1382, allocations: 8 kB / 454.8 MB, free: 8.934 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/0.1382, allocations: 4 kB / 454.8 MB, free: 8.93 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.437e-06/0.1382, allocations: 15.91 kB / 454.8 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005512/0.1388, allocations: 361.3 kB / 455.2 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-05/0.1388, allocations: 28 kB / 455.2 MB, free: 8.484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/0.139, allocations: 23.97 kB / 455.2 MB, free: 8.461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.139, allocations: 7.938 kB / 455.2 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.139, allocations: 11.98 kB / 455.2 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.139, allocations: 4 kB / 455.2 MB, free: 8.438 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1391, allocations: 3.938 kB / 455.2 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008367/0.1399, allocations: 0.5726 MB / 455.8 MB, free: 7.844 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001526/0.1401, allocations: 124.6 kB / 455.9 MB, free: 7.703 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.431e-05/0.1401, allocations: 4 kB / 455.9 MB, free: 7.699 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002818/0.1404, allocations: 23.97 kB / 456 MB, free: 7.676 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.225e-05/0.1405, allocations: 15.98 kB / 456 MB, free: 7.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.1405, allocations: 8 kB / 456 MB, free: 7.652 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003933/0.1409, allocations: 375 kB / 456.3 MB, free: 7.293 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1409, allocations: 0 / 456.3 MB, free: 7.293 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005404/0.1415, allocations: 111.9 kB / 456.5 MB, free: 7.184 MB / 334.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.0003472/0.1418, allocations: 155 kB / 456.6 MB, free: 7.02 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009133/0.1428, allocations: 0.5189 MB / 457.1 MB, free: 6.445 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.1428, allocations: 0 / 457.1 MB, free: 6.445 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005027/0.1433, allocations: 391.3 kB / 457.5 MB, free: 6.008 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007376/0.144, allocations: 105.8 kB / 457.6 MB, free: 5.902 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.1456, allocations: 0.8095 MB / 458.4 MB, free: 5.059 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005223/0.1461, allocations: 0.8497 MB / 459.3 MB, free: 4.184 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001628/0.1463, allocations: 59.25 kB / 459.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.967e-05/0.1464, allocations: 23.44 kB / 459.4 MB, free: 4.105 MB / 334.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1464, allocations: 4 kB / 459.4 MB, free: 4.102 MB / 334.1 MB Notification: Performance of Templates: time 0.0122/0.1586, allocations: 7.172 MB / 466.5 MB, free: 12.98 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches