Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.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_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00179/0.001797, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002062/0.002062, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.4 MB / 247.1 MB, free: 8.977 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2317/0.2317, allocations: 46.12 MB / 344.5 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 81.27 kB / 417.8 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1194, allocations: 62.45 MB / 480.2 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.003589/0.123, allocations: 2.086 MB / 482.3 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.1246, allocations: 0.9308 MB / 483.3 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.026e-05/0.1248, allocations: 0 / 483.3 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003014/0.1251, allocations: 59.72 kB / 483.3 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003506/0.1255, allocations: 111.5 kB / 483.4 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000298/0.1258, allocations: 87.23 kB / 483.5 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004371/0.1262, allocations: 386.2 kB / 483.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.419e-05/0.1263, allocations: 40.72 kB / 483.9 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002687/0.1266, allocations: 155.2 kB / 484.1 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002582/0.1269, allocations: 199 kB / 484.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/0.1269, allocations: 12 kB / 484.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002704/0.1272, allocations: 151.7 kB / 484.4 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.1273, allocations: 99.53 kB / 484.5 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.1275, allocations: 154.9 kB / 484.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003989/0.1279, allocations: 311.4 kB / 485 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1279, allocations: 0 / 485 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1279, allocations: 0 / 485 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.1279, allocations: 0 / 485 MB, free: 0.7305 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001095/0.129, allocations: 0.6514 MB / 485.6 MB, free: 32 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1291, allocations: 8.031 kB / 485.7 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.1292, allocations: 44.52 kB / 485.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/0.1295, allocations: 279.6 kB / 486 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.1296, allocations: 25.36 kB / 486 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.613e-05/0.1296, allocations: 40.31 kB / 486 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009151/0.1305, allocations: 0.5571 MB / 486.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.1306, allocations: 0 / 486.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.078e-05/0.1306, allocations: 23.92 kB / 486.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-05/0.1307, allocations: 48.91 kB / 486.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009545/0.1317, allocations: 0.5659 MB / 487.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001818/0.1335, allocations: 1.175 MB / 488.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006936/0.1342, allocations: 374.2 kB / 488.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002769/0.1345, allocations: 132.9 kB / 488.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.477e-05/0.1345, allocations: 15.91 kB / 488.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/0.1346, allocations: 38.56 kB / 488.9 MB, free: 12.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.963e-06/0.1346, allocations: 0 / 488.9 MB, free: 12.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001019/0.1356, allocations: 464.2 kB / 489.4 MB, free: 12.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.1357, allocations: 55.41 kB / 489.5 MB, free: 12.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005466/0.1362, allocations: 453.6 kB / 489.9 MB, free: 11.63 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.342e-05/0.1363, allocations: 29.7 kB / 489.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.1364, allocations: 192.3 kB / 490.1 MB, free: 11.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.087e-05/0.1365, allocations: 74.91 kB / 490.2 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.73e-05/0.1366, allocations: 49.7 kB / 490.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.1368, allocations: 354.7 kB / 490.6 MB, free: 10.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002449/0.1371, allocations: 115.9 kB / 490.7 MB, free: 10.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.1373, allocations: 119.9 kB / 490.8 MB, free: 10.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005203/0.1378, allocations: 264.2 kB / 491.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1379, allocations: 3.984 kB / 491.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006713/0.1385, allocations: 340.9 kB / 491.4 MB, free: 10.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.1386, allocations: 8 kB / 491.4 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.1386, allocations: 3.938 kB / 491.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.1386, allocations: 0 / 491.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007477/0.1394, allocations: 151.9 kB / 491.6 MB, free: 9.926 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003639/0.143, allocations: 5.524 MB / 497.1 MB, free: 4.191 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002503/0.1433, allocations: 47.39 kB / 497.1 MB, free: 4.145 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.831e-05/0.1433, allocations: 12 kB / 497.2 MB, free: 4.133 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002517/0.1436, allocations: 194 kB / 497.3 MB, free: 3.934 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.787e-05/0.1436, allocations: 31.62 kB / 497.4 MB, free: 3.902 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009215/0.1446, allocations: 456.4 kB / 497.8 MB, free: 3.449 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.1446, allocations: 4 kB / 497.8 MB, free: 3.445 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.1446, allocations: 11.88 kB / 497.8 MB, free: 3.434 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1446, allocations: 0 / 497.8 MB, free: 3.434 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005034/0.1451, allocations: 381.2 kB / 498.2 MB, free: 3.012 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1451, allocations: 0 / 498.2 MB, free: 3.012 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006987/0.1458, allocations: 155.9 kB / 498.4 MB, free: 2.859 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.1459, allocations: 7.922 kB / 498.4 MB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/0.1459, allocations: 8 kB / 498.4 MB, free: 2.844 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003599/0.1495, allocations: 5.509 MB / 0.4921 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.1495, allocations: 3.938 kB / 0.4921 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007502/0.1503, allocations: 450.2 kB / 0.4925 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.1504, allocations: 120.6 kB / 0.4926 GB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.618e-05/0.1505, allocations: 8.094 kB / 0.4926 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.1507, allocations: 7.984 kB / 0.4926 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.055e-05/0.1508, allocations: 27.91 kB / 0.4927 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.852e-05/0.1508, allocations: 12 kB / 0.4927 GB, free: 12.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003954/0.1512, allocations: 339.1 kB / 0.493 GB, free: 12.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1512, allocations: 0 / 0.493 GB, free: 12.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000399/0.1516, allocations: 95.94 kB / 0.4931 GB, free: 12.05 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002906/0.1519, allocations: 135.2 kB / 0.4932 GB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001265/0.1532, allocations: 439.5 kB / 0.4936 GB, free: 11.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1532, allocations: 4 kB / 0.4936 GB, free: 11.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008402/0.1541, allocations: 283.6 kB / 0.4939 GB, free: 11.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005373/0.1546, allocations: 88.5 kB / 0.494 GB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.1561, allocations: 0.914 MB / 0.4949 GB, free: 10.17 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005066/0.1566, allocations: 0.8504 MB / 0.4957 GB, free: 9.289 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.987e-05/0.1567, allocations: 31.42 kB / 0.4957 GB, free: 9.258 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1567, allocations: 0 / 0.4957 GB, free: 9.258 MB / 382.1 MB Notification: Performance of Templates: time 0.1892/0.3459, allocations: 19.18 MB / 0.5145 GB, free: 41.2 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_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/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches