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.001186/0.001186, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.00134/0.00134, allocations: 217.5 kB / 24.5 MB, free: 4.133 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.302/1.302, allocations: 230.5 MB / 258.1 MB, free: 8.008 MB / 206.1 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.2065/0.2065, allocations: 46.94 MB / 361.5 MB, free: 4.18 MB / 286.1 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.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 0.002185/0.002185, allocations: 75.88 kB / 0.4974 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2576, allocations: 66.08 MB / 0.562 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003156/0.2607, allocations: 1.912 MB / 0.5639 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.2621, allocations: 0.8655 MB / 0.5647 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.335e-05/0.2621, allocations: 0 / 0.5647 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000245/0.2624, allocations: 55.72 kB / 0.5647 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002775/0.2627, allocations: 83.58 kB / 0.5648 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002619/0.2629, allocations: 91.08 kB / 0.5649 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003024/0.2632, allocations: 258.7 kB / 0.5652 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.46e-05/0.2633, allocations: 8.594 kB / 0.5652 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/0.2635, allocations: 115.5 kB / 0.5653 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.2637, allocations: 123.4 kB / 0.5654 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.2637, allocations: 8 kB / 0.5654 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002195/0.2639, allocations: 123.8 kB / 0.5655 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.029e-05/0.264, allocations: 67.72 kB / 0.5656 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.2641, allocations: 107.2 kB / 0.5657 GB, free: 440 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003647/0.2645, allocations: 305 kB / 0.566 GB, free: 140 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.2645, allocations: 0 / 0.566 GB, free: 140 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2645, allocations: 0 / 0.566 GB, free: 140 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.2645, allocations: 3.938 kB / 0.566 GB, free: 136 kB / 398.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.0007907/0.2653, allocations: 493.4 kB / 0.5665 GB, free: 15.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.2653, allocations: 16.02 kB / 0.5665 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.827e-05/0.2654, allocations: 28.75 kB / 0.5665 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.2656, allocations: 188.8 kB / 0.5667 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.899e-05/0.2656, allocations: 16.88 kB / 0.5667 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.757e-05/0.2657, allocations: 28.12 kB / 0.5667 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005722/0.2663, allocations: 372.8 kB / 0.5671 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.2663, allocations: 0 / 0.5671 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.2663, allocations: 8 kB / 0.5671 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-05/0.2663, allocations: 28.64 kB / 0.5671 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005947/0.2669, allocations: 382.2 kB / 0.5675 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.2682, allocations: 0.8041 MB / 0.5683 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004452/0.2686, allocations: 246.3 kB / 0.5685 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.2688, allocations: 92.84 kB / 0.5686 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.862e-05/0.2689, allocations: 19.91 kB / 0.5686 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.2689, allocations: 34.5 kB / 0.5686 GB, free: 13.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=16): time 1.182e-06/0.2689, allocations: 0 / 0.5686 GB, free: 13.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006934/0.2696, allocations: 331.6 kB / 0.569 GB, free: 12.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.2696, allocations: 59.41 kB / 0.569 GB, free: 12.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003499/0.27, allocations: 340.1 kB / 0.5693 GB, free: 12.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.27, allocations: 25.7 kB / 0.5694 GB, free: 12.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.2701, allocations: 176.2 kB / 0.5695 GB, free: 12.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.168e-05/0.2702, allocations: 63.47 kB / 0.5696 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.632e-05/0.2703, allocations: 61.86 kB / 0.5696 GB, free: 12.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.2704, allocations: 338.8 kB / 0.57 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.2706, allocations: 96.38 kB / 0.5701 GB, free: 11.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/0.2709, allocations: 187.9 kB / 0.5702 GB, free: 11.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005001/0.2714, allocations: 306.8 kB / 0.5705 GB, free: 11.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2714, allocations: 0 / 0.5705 GB, free: 11.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005902/0.272, allocations: 357.7 kB / 0.5709 GB, free: 10.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.272, allocations: 4 kB / 0.5709 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.272, allocations: 4 kB / 0.5709 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.272, allocations: 4 kB / 0.5709 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005349/0.2726, allocations: 123.9 kB / 0.571 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002138/0.2747, allocations: 3.653 MB / 0.5746 GB, free: 6.934 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.2749, allocations: 39.73 kB / 0.5746 GB, free: 6.895 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/0.2749, allocations: 20.27 kB / 0.5746 GB, free: 6.875 MB / 414.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.0002342/0.2752, allocations: 185.6 kB / 0.5748 GB, free: 6.684 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.108e-05/0.2752, allocations: 23.86 kB / 0.5748 GB, free: 6.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006417/0.2759, allocations: 326.5 kB / 0.5751 GB, free: 6.336 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.2759, allocations: 4 kB / 0.5751 GB, free: 6.332 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.2759, allocations: 4 kB / 0.5751 GB, free: 6.328 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.2759, allocations: 0 / 0.5751 GB, free: 6.328 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003285/0.2762, allocations: 264.5 kB / 0.5754 GB, free: 6.027 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.2762, allocations: 0 / 0.5754 GB, free: 6.027 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004564/0.2767, allocations: 111.9 kB / 0.5755 GB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.2767, allocations: 3.984 kB / 0.5755 GB, free: 5.914 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.2767, allocations: 8 kB / 0.5755 GB, free: 5.906 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002136/0.2788, allocations: 3.645 MB / 0.5791 GB, free: 2.121 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.2788, allocations: 3.938 kB / 0.5791 GB, free: 2.117 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005253/0.2793, allocations: 359.3 kB / 0.5794 GB, free: 1.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.384e-05/0.2794, allocations: 27.8 kB / 0.5795 GB, free: 1.723 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.753e-05/0.2794, allocations: 0 / 0.5795 GB, free: 1.723 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.2796, allocations: 15.92 kB / 0.5795 GB, free: 1.707 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.2796, allocations: 15.97 kB / 0.5795 GB, free: 1.691 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.2797, allocations: 8 kB / 0.5795 GB, free: 1.684 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002482/0.2799, allocations: 247 kB / 0.5797 GB, free: 1.445 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2799, allocations: 0 / 0.5797 GB, free: 1.445 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003507/0.2803, allocations: 79.89 kB / 0.5798 GB, free: 1.367 MB / 414.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.0002316/0.2805, allocations: 131.1 kB / 0.5799 GB, free: 1.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008458/0.2813, allocations: 319.4 kB / 0.5802 GB, free: 0.918 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2813, allocations: 0 / 0.5802 GB, free: 0.918 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005287/0.2819, allocations: 184.5 kB / 0.5804 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.2823, allocations: 72.86 kB / 0.5805 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009718/0.2832, allocations: 0.5903 MB / 0.5811 GB, free: 36 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.2836, allocations: 0.7873 MB / 0.5818 GB, free: 15.22 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.299e-05/0.2837, allocations: 27.42 kB / 0.5818 GB, free: 15.2 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2837, allocations: 0 / 0.5818 GB, free: 15.2 MB / 430.1 MB Notification: Performance of Templates: time 0.01367/0.2974, allocations: 10.88 MB / 0.5925 GB, free: 4.344 MB / 430.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/jenkins1/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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.261474295053631]