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.001623/0.001627, allocations: 115.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00177/0.00177, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2114/0.2114, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 72.08 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1279, allocations: 62.45 MB / 481.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.003161/0.1311, allocations: 2.129 MB / 483.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.1328, allocations: 1.226 MB / 484.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.801e-05/0.1329, allocations: 4 kB / 484.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002791/0.1332, allocations: 63.59 kB / 484.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.1335, allocations: 91.38 kB / 485 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004915/0.134, allocations: 179.3 kB / 485.2 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004546/0.1344, allocations: 441.9 kB / 485.6 MB, free: 384 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.975e-05/0.1345, allocations: 48.7 kB / 485.7 MB, free: 336 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002334/0.1348, allocations: 155.2 kB / 485.8 MB, free: 180 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002317/0.135, allocations: 183.1 kB / 486 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.233e-05/0.135, allocations: 12 kB / 486 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003647/0.1354, allocations: 227.6 kB / 486.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.723e-05/0.1355, allocations: 91.53 kB / 486.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.1357, allocations: 170.8 kB / 486.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005364/0.1362, allocations: 0.4904 MB / 487 MB, free: 15.01 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1362, allocations: 0 / 487 MB, free: 15.01 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1362, allocations: 0 / 487 MB, free: 15.01 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.1363, allocations: 0 / 487 MB, free: 15.01 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.001139/0.1374, allocations: 0.7019 MB / 487.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.1375, allocations: 12.03 kB / 487.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003906/0.1379, allocations: 76.42 kB / 487.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003947/0.1383, allocations: 300.3 kB / 488 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.1383, allocations: 29.38 kB / 488.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.994e-05/0.1384, allocations: 36.38 kB / 488.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008509/0.1392, allocations: 0.5819 MB / 488.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.1392, allocations: 0 / 488.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.1393, allocations: 16 kB / 488.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.625e-05/0.1393, allocations: 24.94 kB / 488.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007681/0.1401, allocations: 435.5 kB / 489.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001749/0.1419, allocations: 1.367 MB / 490.5 MB, free: 11.28 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004987/0.1424, allocations: 271.6 kB / 490.8 MB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/0.1427, allocations: 134.5 kB / 490.9 MB, free: 10.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.906e-05/0.1427, allocations: 15.97 kB / 490.9 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.1428, allocations: 42.5 kB / 491 MB, free: 10.78 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.493e-06/0.1428, allocations: 0 / 491 MB, free: 10.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001089/0.1439, allocations: 455.9 kB / 491.4 MB, free: 10.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.1439, allocations: 106.8 kB / 491.5 MB, free: 10.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005246/0.1445, allocations: 0.5095 MB / 492 MB, free: 9.688 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.1445, allocations: 25.7 kB / 492.1 MB, free: 9.656 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.1447, allocations: 204.2 kB / 492.3 MB, free: 9.453 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.535e-05/0.1447, allocations: 55.2 kB / 492.3 MB, free: 9.398 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.387e-05/0.1448, allocations: 49.7 kB / 492.4 MB, free: 9.344 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.145, allocations: 358.8 kB / 492.7 MB, free: 8.984 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003185/0.1453, allocations: 123.8 kB / 492.8 MB, free: 8.863 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003253/0.1456, allocations: 172.6 kB / 493 MB, free: 8.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006023/0.1462, allocations: 304.8 kB / 493.3 MB, free: 8.363 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.1462, allocations: 112 / 493.3 MB, free: 8.363 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007478/0.147, allocations: 380.7 kB / 493.7 MB, free: 7.984 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.147, allocations: 7.938 kB / 493.7 MB, free: 7.977 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.706e-05/0.1471, allocations: 32.16 kB / 493.7 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.1471, allocations: 4 kB / 493.7 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.1473, allocations: 43.89 kB / 493.8 MB, free: 7.898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.1473, allocations: 0 / 493.8 MB, free: 7.898 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.1476, allocations: 59.45 kB / 493.8 MB, free: 7.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.962e-05/0.1476, allocations: 11.98 kB / 493.8 MB, free: 7.828 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.0001745/0.1478, allocations: 181.8 kB / 494 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.1479, allocations: 51.36 kB / 494.1 MB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007044/0.1486, allocations: 387.2 kB / 494.4 MB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.1486, allocations: 7.984 kB / 494.4 MB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1486, allocations: 0 / 494.4 MB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1486, allocations: 4 kB / 494.4 MB, free: 7.191 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005042/0.1491, allocations: 361.3 kB / 494.8 MB, free: 6.789 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.011e-05/0.1492, allocations: 31.98 kB / 494.8 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.1494, allocations: 23.97 kB / 494.9 MB, free: 6.734 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.1494, allocations: 11.94 kB / 494.9 MB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.1494, allocations: 4 kB / 494.9 MB, free: 6.719 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.1494, allocations: 4 kB / 494.9 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.1494, allocations: 0 / 494.9 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000789/0.1502, allocations: 0.5737 MB / 495.4 MB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.1503, allocations: 128.5 kB / 495.6 MB, free: 5.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.182e-05/0.1504, allocations: 0 / 495.6 MB, free: 5.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000283/0.1507, allocations: 23.97 kB / 495.6 MB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.881e-05/0.1508, allocations: 19.92 kB / 495.6 MB, free: 5.938 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/0.1508, allocations: 8 kB / 495.6 MB, free: 5.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003753/0.1512, allocations: 383 kB / 496 MB, free: 5.562 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1512, allocations: 0 / 496 MB, free: 5.562 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004777/0.1517, allocations: 111.9 kB / 496.1 MB, free: 5.453 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.0002638/0.1519, allocations: 159.1 kB / 496.3 MB, free: 5.289 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008162/0.1527, allocations: 0.5107 MB / 496.8 MB, free: 4.723 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1528, allocations: 0 / 496.8 MB, free: 4.723 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000445/0.1532, allocations: 391.4 kB / 497.2 MB, free: 4.285 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006263/0.1538, allocations: 101.4 kB / 497.3 MB, free: 4.184 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.1551, allocations: 0.8058 MB / 498.1 MB, free: 3.344 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.1555, allocations: 0.8458 MB / 498.9 MB, free: 2.473 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001343/0.1556, allocations: 63.25 kB / 499 MB, free: 2.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.916e-05/0.1557, allocations: 27.44 kB / 499 MB, free: 2.383 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1557, allocations: 0 / 499 MB, free: 2.383 MB / 366.1 MB Notification: Performance of Templates: time 0.01129/0.167, allocations: 7.169 MB / 0.4943 GB, free: 11.3 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 -s cvode -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/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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches