Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.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.StraightPipe.kc_turbulent_KC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001377/0.001377, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001622/0.001622, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.363/2.363, allocations: 227.4 MB / 246.9 MB, free: 9.031 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4273/0.4273, allocations: 46.11 MB / 344.3 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 76 kB / 417.5 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1913, allocations: 62.43 MB / 480 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.005592/0.1969, allocations: 1.946 MB / 481.9 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.1989, allocations: 0.8491 MB / 482.7 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.599e-05/0.199, allocations: 0 / 482.7 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003649/0.1993, allocations: 51.73 kB / 482.8 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003844/0.1998, allocations: 79.62 kB / 482.9 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003181/0.2001, allocations: 75.67 kB / 483 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004862/0.2006, allocations: 366.6 kB / 483.3 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.2007, allocations: 28.38 kB / 483.3 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000252/0.201, allocations: 91.52 kB / 483.4 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002532/0.2013, allocations: 131.4 kB / 483.6 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.209e-05/0.2013, allocations: 4 kB / 483.6 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003226/0.2017, allocations: 127.8 kB / 483.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.2018, allocations: 63.69 kB / 483.7 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.2019, allocations: 95.3 kB / 483.8 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003617/0.2023, allocations: 211.7 kB / 484 MB, free: 1.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.2023, allocations: 0 / 484 MB, free: 1.578 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2023, allocations: 0 / 484 MB, free: 1.578 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.2024, allocations: 0 / 484 MB, free: 1.578 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001163/0.2035, allocations: 0.5576 MB / 484.6 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.2036, allocations: 15.97 kB / 484.6 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.717e-05/0.2037, allocations: 32.56 kB / 484.6 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003602/0.2041, allocations: 239.9 kB / 484.9 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.2041, allocations: 16.94 kB / 484.9 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.907e-05/0.2042, allocations: 28.12 kB / 484.9 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008422/0.205, allocations: 377.2 kB / 485.3 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.2051, allocations: 0 / 485.3 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.367e-05/0.2051, allocations: 8 kB / 485.3 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.663e-05/0.2052, allocations: 32.58 kB / 485.3 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008709/0.2061, allocations: 378.3 kB / 485.7 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00177/0.2078, allocations: 0.8384 MB / 486.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006864/0.2085, allocations: 265.4 kB / 486.8 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002847/0.2088, allocations: 96.83 kB / 486.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.369e-05/0.2089, allocations: 3.938 kB / 486.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.2089, allocations: 38.56 kB / 486.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.974e-06/0.2089, allocations: 0 / 486.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001108/0.2101, allocations: 333.2 kB / 487.3 MB, free: 14.19 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.2101, allocations: 55.41 kB / 487.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005048/0.2106, allocations: 338.9 kB / 487.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.2107, allocations: 25.7 kB / 487.7 MB, free: 13.76 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.2109, allocations: 164 kB / 487.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.953e-05/0.2109, allocations: 59.19 kB / 487.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.2111, allocations: 69.86 kB / 488 MB, free: 13.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.2113, allocations: 342.8 kB / 488.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003112/0.2116, allocations: 96.36 kB / 488.4 MB, free: 13.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003899/0.212, allocations: 184 kB / 488.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000744/0.2128, allocations: 306.8 kB / 488.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.2128, allocations: 0 / 488.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009109/0.2137, allocations: 347.4 kB / 489.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.2138, allocations: 11.98 kB / 489.2 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.2138, allocations: 4 kB / 489.2 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.2138, allocations: 4.375 kB / 489.2 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008189/0.2146, allocations: 127.9 kB / 489.4 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002816/0.2175, allocations: 3.641 MB / 493 MB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003313/0.2178, allocations: 47.61 kB / 493 MB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.326e-05/0.2179, allocations: 19.94 kB / 493.1 MB, free: 8.125 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003885/0.2183, allocations: 177.2 kB / 493.2 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.833e-05/0.2184, allocations: 27.62 kB / 493.3 MB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009762/0.2194, allocations: 327.5 kB / 493.6 MB, free: 7.586 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.2194, allocations: 4 kB / 493.6 MB, free: 7.582 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.2194, allocations: 0 / 493.6 MB, free: 7.582 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.2194, allocations: 11.86 kB / 493.6 MB, free: 7.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005438/0.22, allocations: 301.3 kB / 493.9 MB, free: 7.227 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.22, allocations: 0 / 493.9 MB, free: 7.227 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006774/0.2207, allocations: 103.9 kB / 494 MB, free: 7.125 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.2207, allocations: 0 / 494 MB, free: 7.125 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.201e-05/0.2208, allocations: 8 kB / 494 MB, free: 7.117 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002592/0.2234, allocations: 3.653 MB / 497.7 MB, free: 3.324 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/0.2234, allocations: 7.938 kB / 497.7 MB, free: 3.316 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007667/0.2241, allocations: 347.2 kB / 498 MB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.2243, allocations: 104.8 kB / 498.1 MB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.951e-05/0.2244, allocations: 8 kB / 498.1 MB, free: 2.832 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/0.2246, allocations: 11.92 kB / 498.1 MB, free: 2.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.481e-05/0.2247, allocations: 15.98 kB / 498.1 MB, free: 2.805 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.764e-05/0.2248, allocations: 4 kB / 498.1 MB, free: 2.801 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003769/0.2252, allocations: 249.9 kB / 498.4 MB, free: 2.559 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2252, allocations: 0 / 498.4 MB, free: 2.559 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006563/0.2259, allocations: 79.94 kB / 498.5 MB, free: 2.48 MB / 366.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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000368/0.2262, allocations: 131.1 kB / 498.6 MB, free: 2.344 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001299/0.2275, allocations: 314.2 kB / 498.9 MB, free: 2.039 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.2276, allocations: 0 / 498.9 MB, free: 2.039 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008428/0.2284, allocations: 196.5 kB / 499.1 MB, free: 1.848 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006979/0.2291, allocations: 56.78 kB / 499.1 MB, free: 1.793 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.2307, allocations: 0.6687 MB / 499.8 MB, free: 1.098 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005076/0.2312, allocations: 0.7873 MB / 0.4889 GB, free: 292 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.2314, allocations: 27.42 kB / 0.4889 GB, free: 264 kB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2314, allocations: 0 / 0.4889 GB, free: 264 kB / 366.1 MB Notification: Performance of Templates: time 0.02169/0.2531, allocations: 10.81 MB / 0.4995 GB, free: 5.465 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.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/StraightPipe/kc_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches