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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001386/0.001386, allocations: 86.09 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001365/0.001365, allocations: 157.1 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2746/0.2746, allocations: 34.25 MB / 294.8 MB, free: 14.55 MB / 286.1 MB " [Timeout remaining time 179] 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=5004,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=5004,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 442.7 MB, free: 5.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.259e-05/3.465e-05, allocations: 2.281 kB / 442.7 MB, free: 5.281 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003736/0.00377, allocations: 1.863 MB / 444.5 MB, free: 3.406 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.005357, allocations: 0.7711 MB / 445.3 MB, free: 2.633 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.727e-05/0.005424, allocations: 3.938 kB / 445.3 MB, free: 2.629 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002538/0.005678, allocations: 47.69 kB / 445.4 MB, free: 2.582 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003481/0.006026, allocations: 95.42 kB / 445.5 MB, free: 2.488 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.006347, allocations: 87.16 kB / 445.5 MB, free: 2.406 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003545/0.006702, allocations: 278.5 kB / 445.8 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.27e-05/0.006764, allocations: 8.594 kB / 445.8 MB, free: 2.121 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002804/0.007045, allocations: 139.5 kB / 446 MB, free: 1.984 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.007233, allocations: 107.6 kB / 446.1 MB, free: 1.879 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.897e-05/0.007261, allocations: 4 kB / 446.1 MB, free: 1.875 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002149/0.007476, allocations: 79.81 kB / 446.2 MB, free: 1.797 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.692e-05/0.007573, allocations: 67.7 kB / 446.2 MB, free: 1.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.007674, allocations: 63.78 kB / 446.3 MB, free: 1.668 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004714/0.008145, allocations: 294.8 kB / 446.6 MB, free: 1.379 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.008148, allocations: 0 / 446.6 MB, free: 1.379 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.00815, allocations: 0 / 446.6 MB, free: 1.379 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.008161, allocations: 4 kB / 446.6 MB, free: 1.375 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0009308/0.009091, allocations: 493.4 kB / 447.1 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.009127, allocations: 8.031 kB / 447.1 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.937e-05/0.009196, allocations: 28.75 kB / 447.1 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.009479, allocations: 181.4 kB / 447.3 MB, free: 0.625 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.009503, allocations: 20.88 kB / 447.3 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.674e-05/0.00955, allocations: 24.38 kB / 447.3 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006837/0.01023, allocations: 369.4 kB / 447.7 MB, free: 220 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.01025, allocations: 3.938 kB / 447.7 MB, free: 216 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.126e-05/0.01028, allocations: 19.98 kB / 447.7 MB, free: 196 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.516e-05/0.01033, allocations: 24.64 kB / 447.7 MB, free: 172 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2001/0.2104, allocations: 367.3 kB / 448.1 MB, free: 19.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/0.2116, allocations: 0.6842 MB / 448.8 MB, free: 19.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005262/0.2121, allocations: 252.9 kB / 449 MB, free: 19.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.2123, allocations: 93.36 kB / 449.1 MB, free: 19.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.2124, allocations: 6.344 kB / 449.1 MB, free: 19.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.2124, allocations: 39.44 kB / 449.1 MB, free: 19.13 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.512e-06/0.2124, allocations: 3.062 kB / 449.1 MB, free: 19.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008784/0.2133, allocations: 327.8 kB / 449.5 MB, free: 19.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.2133, allocations: 53.72 kB / 449.5 MB, free: 18.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.2135, allocations: 194 kB / 449.7 MB, free: 18.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.2135, allocations: 29.7 kB / 449.7 MB, free: 18.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.575e-05/0.2136, allocations: 185.6 kB / 449.9 MB, free: 18.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/0.2136, allocations: 62.97 kB / 450 MB, free: 18.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.398e-05/0.2137, allocations: 56.89 kB / 450 MB, free: 18.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.356e-05/0.2138, allocations: 329.8 kB / 450.4 MB, free: 18.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002288/0.214, allocations: 97.77 kB / 450.5 MB, free: 18.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/0.2143, allocations: 186.1 kB / 450.6 MB, free: 18.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005067/0.2148, allocations: 312 kB / 450.9 MB, free: 17.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.2148, allocations: 2.938 kB / 450.9 MB, free: 17.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006537/0.2155, allocations: 324.2 kB / 451.3 MB, free: 17.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.2155, allocations: 7.594 kB / 451.3 MB, free: 17.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.2155, allocations: 2.75 kB / 451.3 MB, free: 17.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.2155, allocations: 4.781 kB / 451.3 MB, free: 17.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006492/0.2162, allocations: 129.9 kB / 451.4 MB, free: 17.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001343/0.2175, allocations: 3.656 MB / 455.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.2177, allocations: 32.31 kB / 455.1 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.2177, allocations: 16.45 kB / 455.1 MB, free: 14.27 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.0002454/0.218, allocations: 170.3 kB / 455.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.218, allocations: 14.53 kB / 455.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000721/0.2187, allocations: 330 kB / 455.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.2187, allocations: 2.375 kB / 455.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2187, allocations: 0 / 455.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2188, allocations: 0.8906 kB / 455.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003103/0.2191, allocations: 229.3 kB / 455.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2191, allocations: 5.781 kB / 455.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004991/0.2196, allocations: 112.1 kB / 456 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.2196, allocations: 0 / 456 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.2196, allocations: 14.38 kB / 456 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001286/0.2209, allocations: 3.642 MB / 459.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.2209, allocations: 0 / 459.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005608/0.2214, allocations: 339 kB / 459.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.351e-05/0.2215, allocations: 16.88 kB / 460 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.2215, allocations: 5.688 kB / 460 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.2217, allocations: 8.047 kB / 460 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.283e-05/0.2217, allocations: 20.44 kB / 460 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.2217, allocations: 6.938 kB / 460 MB, free: 10.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.75e-05/0.2218, allocations: 137.4 kB / 460.1 MB, free: 10 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2218, allocations: 0 / 460.1 MB, free: 10 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004236/0.2223, allocations: 89.16 kB / 460.2 MB, free: 9.977 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.0002565/0.2225, allocations: 135.7 kB / 460.3 MB, free: 9.875 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009876/0.2235, allocations: 309.2 kB / 460.7 MB, free: 9.832 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2235, allocations: 5.656 kB / 460.7 MB, free: 9.828 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006146/0.2241, allocations: 196.6 kB / 460.8 MB, free: 9.797 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.2245, allocations: 25.77 kB / 460.9 MB, free: 9.785 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.2255, allocations: 0.533 MB / 461.4 MB, free: 9.508 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.2257, allocations: 190.1 kB / 461.6 MB, free: 9.422 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001673/0.2259, allocations: 62.59 kB / 461.7 MB, free: 9.414 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.638e-05/0.226, allocations: 18.64 kB / 461.7 MB, free: 9.402 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.226, allocations: 0 / 461.7 MB, free: 9.402 MB / 366.1 MB Notification: Performance of Templates: time 0.01068/0.2366, allocations: 4.052 MB / 465.7 MB, free: 9.055 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.372987199574709]