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.0009232/0.0009233, allocations: 97.47 kB / 17 MB, free: 6.418 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.001109/0.001109, allocations: 189.2 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.406/1.406, allocations: 223.2 MB / 241.9 MB, free: 332 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.1961/0.1961, allocations: 44.25 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004876/0.0004877, allocations: 8 kB / 409.7 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.134, allocations: 61.94 MB / 471.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.002445/0.1365, allocations: 1.75 MB / 473.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.1381, allocations: 1.052 MB / 474.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.422e-05/0.1382, allocations: 0 / 474.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002203/0.1384, allocations: 47.73 kB / 474.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001999/0.1386, allocations: 83.5 kB / 474.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004048/0.139, allocations: 139.5 kB / 474.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004704/0.1395, allocations: 477.9 kB / 475.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.557e-05/0.1396, allocations: 44.72 kB / 475.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.1398, allocations: 147.2 kB / 475.3 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.1401, allocations: 187.2 kB / 475.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.404e-05/0.1401, allocations: 12 kB / 475.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000347/0.1405, allocations: 195.7 kB / 475.7 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.125e-05/0.1406, allocations: 91.58 kB / 475.8 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.861e-05/0.1407, allocations: 81.45 kB / 475.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003839/0.141, allocations: 339.3 kB / 476.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1411, allocations: 3.938 kB / 476.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1411, allocations: 4 kB / 476.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1411, allocations: 0 / 476.2 MB, free: 9.008 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.001143/0.1422, allocations: 0.6551 MB / 476.9 MB, free: 8.305 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.1423, allocations: 12.03 kB / 476.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.645e-05/0.1424, allocations: 43.44 kB / 476.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003354/0.1427, allocations: 278.3 kB / 477.2 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.233e-05/0.1428, allocations: 29 kB / 477.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.471e-05/0.1428, allocations: 39.95 kB / 477.3 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009594/0.1438, allocations: 0.5856 MB / 477.9 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.1438, allocations: 3.938 kB / 477.9 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.512e-05/0.1439, allocations: 16 kB / 477.9 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.993e-05/0.1439, allocations: 21 kB / 477.9 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008459/0.1448, allocations: 455.5 kB / 478.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001889/0.1467, allocations: 1.367 MB / 479.7 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005503/0.1472, allocations: 283.6 kB / 480 MB, free: 5.043 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003407/0.1476, allocations: 150.5 kB / 480.1 MB, free: 4.887 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.84e-05/0.1476, allocations: 15.92 kB / 480.2 MB, free: 4.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.1477, allocations: 38.5 kB / 480.2 MB, free: 4.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 2.234e-06/0.1477, allocations: 0 / 480.2 MB, free: 4.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001224/0.1489, allocations: 499.6 kB / 480.7 MB, free: 4.332 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.702e-05/0.149, allocations: 102.8 kB / 480.8 MB, free: 4.207 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006584/0.1497, allocations: 0.498 MB / 481.3 MB, free: 3.703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.1497, allocations: 37.75 kB / 481.3 MB, free: 3.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.1499, allocations: 200.2 kB / 481.5 MB, free: 3.461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.738e-05/0.1499, allocations: 59.11 kB / 481.6 MB, free: 3.402 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.545e-05/0.15, allocations: 0 / 481.6 MB, free: 3.402 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.1502, allocations: 358.8 kB / 481.9 MB, free: 3.043 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003332/0.1505, allocations: 140 kB / 482.1 MB, free: 2.906 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00036/0.1509, allocations: 185.3 kB / 482.2 MB, free: 2.707 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003378/0.1512, allocations: 151.9 kB / 482.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.1512, allocations: 0 / 482.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007529/0.152, allocations: 400.8 kB / 482.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.152, allocations: 6.344 kB / 482.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.555e-05/0.1521, allocations: 24 kB / 482.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/0.1521, allocations: 4 kB / 482.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.1524, allocations: 48.11 kB / 482.9 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.1524, allocations: 7.938 kB / 482.9 MB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/0.1526, allocations: 59.36 kB / 482.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/0.1527, allocations: 19.98 kB / 483 MB, free: 1.996 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001984/0.1529, allocations: 186.2 kB / 483.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.153, allocations: 35.53 kB / 483.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008512/0.1539, allocations: 404.6 kB / 483.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/0.1539, allocations: 11.98 kB / 483.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1539, allocations: 0 / 483.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.1539, allocations: 0 / 483.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006183/0.1545, allocations: 365.3 kB / 483.9 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.638e-05/0.1546, allocations: 27.98 kB / 484 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.1548, allocations: 27.97 kB / 484 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.1548, allocations: 4 kB / 484 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.409e-05/0.1548, allocations: 12 kB / 484 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.1548, allocations: 4 kB / 484 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1548, allocations: 0 / 484 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009264/0.1558, allocations: 0.5954 MB / 484.6 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.1559, allocations: 132.4 kB / 484.7 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.682e-05/0.156, allocations: 8 kB / 484.7 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002724/0.1563, allocations: 23.97 kB / 484.8 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.815e-05/0.1564, allocations: 15.98 kB / 484.8 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.1564, allocations: 12 kB / 484.8 MB, free: 56 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004985/0.1569, allocations: 371 kB / 485.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.1569, allocations: 8 kB / 485.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005651/0.1575, allocations: 111.9 kB / 485.3 MB, free: 15.58 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.0003471/0.1578, allocations: 167 kB / 485.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008536/0.1587, allocations: 0.5303 MB / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1587, allocations: 0 / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004794/0.1592, allocations: 403.4 kB / 486.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000683/0.1599, allocations: 93.53 kB / 486.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.1615, allocations: 0.8905 MB / 487.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004998/0.162, allocations: 0.8461 MB / 488.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000202/0.1622, allocations: 63.23 kB / 488.2 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.665e-05/0.1623, allocations: 27.44 kB / 488.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of SimCode: time 1.994e-06/0.1623, allocations: 0 / 488.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of Templates: time 0.01085/0.1732, allocations: 6.545 MB / 494.8 MB, free: 5.941 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