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.001274/0.001274, allocations: 87.67 kB / 21.19 MB, free: 3.367 MB / 18.57 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.001502/0.001502, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 18.57 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.006/1.006, allocations: 177 MB / 204.8 MB, free: 5.168 MB / 186.7 MB " [Timeout remaining time 179] 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.2893/0.2893, allocations: 34.86 MB / 296.3 MB, free: 484 kB / 266.7 MB " [Timeout remaining time 180] 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.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Nu.[0-9,]+.|m_flow_1.[0-9,]+.|m_flow_2.[0-9,]+.|kc.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|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.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Nu.[0-9,]+.|m_flow_1.[0-9,]+.|m_flow_2.[0-9,]+.|kc.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 378.8 MB, free: 2.023 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.575e-05/1.716e-05, allocations: 4.141 kB / 378.8 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.005569/0.005586, allocations: 1.935 MB / 380.7 MB, free: 68 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.006742, allocations: 0.8255 MB / 381.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.857e-05/0.0068, allocations: 4 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002503/0.007051, allocations: 47.69 kB / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002697/0.00732, allocations: 87.5 kB / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003285/0.01061, allocations: 95.55 kB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002843/0.01089, allocations: 270.6 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.321e-05/0.01093, allocations: 12.58 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002238/0.01116, allocations: 139.4 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.01131, allocations: 119.6 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.01133, allocations: 4 kB / 382.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.0115, allocations: 67.95 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.742e-05/0.01158, allocations: 67.7 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.484e-05/0.01165, allocations: 67.72 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003176/0.01197, allocations: 266.9 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.01197, allocations: 0 / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.01197, allocations: 0 / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.01198, allocations: 0 / 382.8 MB, free: 14.01 MB / 362.7 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.0006514/0.01263, allocations: 0.5972 MB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.01266, allocations: 8.031 kB / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.296e-05/0.01274, allocations: 48.75 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.01293, allocations: 176.2 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.01295, allocations: 20.88 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.231e-05/0.01299, allocations: 24.38 kB / 383.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003308/0.01332, allocations: 218.2 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.01333, allocations: 7.938 kB / 383.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.01335, allocations: 4 kB / 383.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00306/0.01641, allocations: 28.64 kB / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001983/0.01661, allocations: 143.8 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00077/0.01738, allocations: 0.6793 MB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.01756, allocations: 109.9 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.033e-05/0.01762, allocations: 35.73 kB / 384.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.01764, allocations: 7.984 kB / 384.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.01766, allocations: 37.39 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.01767, allocations: 0 / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002901/0.01796, allocations: 149.6 kB / 385.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.01799, allocations: 59.34 kB / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.01812, allocations: 249.8 kB / 385.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.01814, allocations: 33.7 kB / 385.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.01824, allocations: 239.1 kB / 385.6 MB, free: 10.99 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.01828, allocations: 59.52 kB / 385.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.685e-05/0.01835, allocations: 71.53 kB / 385.8 MB, free: 10.85 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.01846, allocations: 0.504 MB / 386.3 MB, free: 10.33 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.194e-05/0.01851, allocations: 20.45 kB / 386.3 MB, free: 10.31 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.01862, allocations: 160.8 kB / 386.4 MB, free: 10.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.0188, allocations: 212.6 kB / 386.6 MB, free: 9.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.0188, allocations: 0 / 386.6 MB, free: 9.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002401/0.01904, allocations: 211.9 kB / 386.8 MB, free: 9.629 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.01905, allocations: 4 kB / 386.9 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.01906, allocations: 4 kB / 386.9 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.01907, allocations: 7.938 kB / 386.9 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004037/0.01947, allocations: 123.9 kB / 387 MB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/0.02127, allocations: 5.415 MB / 392.4 MB, free: 3.906 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.02139, allocations: 27.78 kB / 392.4 MB, free: 3.879 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.02142, allocations: 16 kB / 392.4 MB, free: 3.863 MB / 362.7 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.0001187/0.02153, allocations: 176.8 kB / 392.6 MB, free: 3.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.857e-05/0.02158, allocations: 27.84 kB / 392.6 MB, free: 3.652 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003259/0.02191, allocations: 183.2 kB / 392.8 MB, free: 3.469 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.02191, allocations: 4 kB / 392.8 MB, free: 3.465 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.02192, allocations: 0 / 392.8 MB, free: 3.465 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.02192, allocations: 0 / 392.8 MB, free: 3.465 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.02217, allocations: 244.4 kB / 393.1 MB, free: 3.191 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.02217, allocations: 0 / 393.1 MB, free: 3.191 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003329/0.0255, allocations: 107.9 kB / 393.2 MB, free: 3.086 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.0255, allocations: 11.94 kB / 393.2 MB, free: 3.074 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.02552, allocations: 3.984 kB / 393.2 MB, free: 3.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00174/0.02726, allocations: 5.415 MB / 398.6 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.02726, allocations: 0 / 398.6 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002675/0.02753, allocations: 283.7 kB / 398.9 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.678e-05/0.02754, allocations: 15.84 kB / 398.9 MB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.02757, allocations: 0 / 398.9 MB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.811e-05/0.02766, allocations: 8 kB / 398.9 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.673e-05/0.02771, allocations: 19.97 kB / 398.9 MB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.02773, allocations: 4 kB / 398.9 MB, free: 13.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.9e-05/0.02781, allocations: 168.2 kB / 399.1 MB, free: 12.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02781, allocations: 0 / 399.1 MB, free: 12.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003572/0.02816, allocations: 87.78 kB / 399.2 MB, free: 12.89 MB / 378.7 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.003219/0.03138, allocations: 135.1 kB / 399.3 MB, free: 12.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005159/0.0319, allocations: 218 kB / 399.5 MB, free: 12.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.0319, allocations: 4 kB / 399.5 MB, free: 12.53 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000317/0.03222, allocations: 139.5 kB / 399.7 MB, free: 12.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.03253, allocations: 37.33 kB / 399.7 MB, free: 12.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009904/0.03352, allocations: 481.6 kB / 400.2 MB, free: 11.85 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.751e-05/0.0336, allocations: 111.9 kB / 400.3 MB, free: 11.72 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001325/0.03374, allocations: 53.41 kB / 400.3 MB, free: 11.67 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.03e-05/0.03379, allocations: 20.48 kB / 400.3 MB, free: 11.65 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.03379, allocations: 4 kB / 400.4 MB, free: 11.65 MB / 378.7 MB Notification: Performance of Templates: time 0.0166/0.05039, allocations: 4.573 MB / 404.9 MB, free: 7.172 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.457838920876384]