Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001426/0.001426, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001382/0.001382, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2403/0.2403, allocations: 46.11 MB / 344.2 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002443/0.002443, allocations: 80.23 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1422, allocations: 62.46 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.004076/0.1463, allocations: 2.122 MB / 482.3 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002147/0.1485, allocations: 1.219 MB / 483.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.216e-05/0.1486, allocations: 3.938 kB / 483.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.1489, allocations: 71.52 kB / 483.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002412/0.1491, allocations: 91.42 kB / 483.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005247/0.1497, allocations: 187.3 kB / 483.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005547/0.1502, allocations: 434 kB / 484.3 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.1504, allocations: 44.72 kB / 484.3 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002919/0.1507, allocations: 163.1 kB / 484.5 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002911/0.151, allocations: 183.1 kB / 484.6 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.181e-05/0.151, allocations: 12 kB / 484.6 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004752/0.1515, allocations: 219.7 kB / 484.9 MB, free: 464 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.1517, allocations: 95.53 kB / 485 MB, free: 368 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002134/0.1519, allocations: 174.8 kB / 485.1 MB, free: 192 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007303/0.1526, allocations: 498.4 kB / 485.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1526, allocations: 4 kB / 485.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1526, allocations: 0 / 485.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.615e-06/0.1526, allocations: 0 / 485.6 MB, free: 15.7 MB / 366.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.001456/0.1541, allocations: 0.7019 MB / 486.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.1542, allocations: 12.03 kB / 486.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004366/0.1546, allocations: 72.44 kB / 486.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004559/0.1551, allocations: 291.4 kB / 486.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.848e-05/0.1551, allocations: 29.38 kB / 486.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.018e-05/0.1552, allocations: 40.38 kB / 486.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.1563, allocations: 0.5819 MB / 487.3 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.1563, allocations: 0 / 487.3 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.987e-05/0.1563, allocations: 16 kB / 487.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.144e-05/0.1564, allocations: 17 kB / 487.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008986/0.1573, allocations: 431.5 kB / 487.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001977/0.1593, allocations: 1.371 MB / 489.2 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005568/0.1598, allocations: 271.6 kB / 489.4 MB, free: 11.69 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003312/0.1602, allocations: 145.1 kB / 489.6 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.483e-05/0.1602, allocations: 15.97 kB / 489.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.1603, allocations: 34.56 kB / 489.6 MB, free: 11.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.623e-06/0.1603, allocations: 0 / 489.6 MB, free: 11.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001193/0.1615, allocations: 457.1 kB / 490.1 MB, free: 11.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.285e-05/0.1616, allocations: 110.8 kB / 490.2 MB, free: 10.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006171/0.1622, allocations: 0.5095 MB / 490.7 MB, free: 10.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.1623, allocations: 29.7 kB / 490.7 MB, free: 10.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.1625, allocations: 200.2 kB / 490.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.922e-05/0.1625, allocations: 51.2 kB / 491 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.1626, allocations: 49.7 kB / 491 MB, free: 10.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.1628, allocations: 366.8 kB / 491.4 MB, free: 9.672 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/0.1632, allocations: 123.9 kB / 491.5 MB, free: 9.551 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003656/0.1635, allocations: 172 kB / 491.7 MB, free: 9.367 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006682/0.1642, allocations: 300.8 kB / 491.9 MB, free: 9.055 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1642, allocations: 0 / 491.9 MB, free: 9.055 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008515/0.1651, allocations: 379.2 kB / 492.3 MB, free: 8.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.1651, allocations: 8.094 kB / 492.3 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-05/0.1652, allocations: 39.94 kB / 492.4 MB, free: 8.633 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.1652, allocations: 0 / 492.4 MB, free: 8.633 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.1654, allocations: 39.95 kB / 492.4 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.1655, allocations: 0 / 492.4 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002668/0.1657, allocations: 55.45 kB / 492.5 MB, free: 8.539 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.254e-05/0.1658, allocations: 15.98 kB / 492.5 MB, free: 8.523 MB / 366.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.0002275/0.166, allocations: 185.7 kB / 492.7 MB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.1661, allocations: 55.31 kB / 492.7 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000819/0.167, allocations: 372.6 kB / 493.1 MB, free: 7.902 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.167, allocations: 7.984 kB / 493.1 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.167, allocations: 0 / 493.1 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.167, allocations: 0 / 493.1 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005919/0.1676, allocations: 365.3 kB / 493.4 MB, free: 7.488 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.264e-05/0.1677, allocations: 35.98 kB / 493.5 MB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.1678, allocations: 27.91 kB / 493.5 MB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.034e-06/0.1678, allocations: 7.938 kB / 493.5 MB, free: 7.418 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.1679, allocations: 8 kB / 493.5 MB, free: 7.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/0.1679, allocations: 4 kB / 493.5 MB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1679, allocations: 0 / 493.5 MB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000887/0.1688, allocations: 0.5639 MB / 494.1 MB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.1689, allocations: 128.5 kB / 494.2 MB, free: 6.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.747e-05/0.169, allocations: 0 / 494.2 MB, free: 6.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002746/0.1693, allocations: 23.97 kB / 494.2 MB, free: 6.656 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.083e-05/0.1693, allocations: 23.92 kB / 494.3 MB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/0.1694, allocations: 8 kB / 494.3 MB, free: 6.625 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004688/0.1698, allocations: 379 kB / 494.6 MB, free: 6.262 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.1699, allocations: 7.938 kB / 494.6 MB, free: 6.254 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000541/0.1704, allocations: 111.9 kB / 494.7 MB, free: 6.145 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.0003083/0.1707, allocations: 155.1 kB / 494.9 MB, free: 5.984 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009716/0.1717, allocations: 0.5366 MB / 495.4 MB, free: 5.395 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1717, allocations: 3.938 kB / 495.4 MB, free: 5.391 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004844/0.1722, allocations: 383.7 kB / 495.8 MB, free: 4.961 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006547/0.1729, allocations: 101.8 kB / 495.9 MB, free: 4.859 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.1745, allocations: 0.8174 MB / 496.7 MB, free: 4.008 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005365/0.175, allocations: 0.8419 MB / 497.6 MB, free: 3.137 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001664/0.1752, allocations: 63.23 kB / 497.6 MB, free: 3.074 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.362e-05/0.1753, allocations: 27.42 kB / 497.7 MB, free: 3.047 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1753, allocations: 0 / 497.7 MB, free: 3.047 MB / 366.1 MB Notification: Performance of Templates: time 0.01356/0.1888, allocations: 7.175 MB / 0.493 GB, free: 11.96 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches