Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.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.001401/0.001401, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001585/0.001585, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.435/1.435, allocations: 230.5 MB / 258.1 MB, free: 7.789 MB / 206.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.2351/0.2351, allocations: 46.95 MB / 361.6 MB, free: 3.918 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.HelicalPipe.kc_turbulent,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,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.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,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.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002556/0.002556, allocations: 83.88 kB / 0.4974 GB, free: 7.012 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3174, allocations: 66.09 MB / 0.5619 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.004026/0.3214, allocations: 2.048 MB / 0.5639 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002291/0.3237, allocations: 1.114 MB / 0.565 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001951/0.3239, allocations: 0 / 0.565 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003383/0.3242, allocations: 67.59 kB / 0.5651 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003251/0.3245, allocations: 95.38 kB / 0.5652 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006507/0.3252, allocations: 183.3 kB / 0.5654 GB, free: 468 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005259/0.3257, allocations: 438 kB / 0.5658 GB, free: 28 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.775e-05/0.3258, allocations: 16.94 kB / 0.5658 GB, free: 8 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003027/0.3261, allocations: 163.2 kB / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002475/0.3263, allocations: 183 kB / 0.5661 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.001e-05/0.3264, allocations: 19.94 kB / 0.5661 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003044/0.3267, allocations: 127.9 kB / 0.5663 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.3268, allocations: 91.53 kB / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.3269, allocations: 143.1 kB / 0.5665 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006267/0.3276, allocations: 488.1 kB / 0.567 GB, free: 14.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.3276, allocations: 0 / 0.567 GB, free: 14.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3276, allocations: 0 / 0.567 GB, free: 14.82 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.116e-06/0.3276, allocations: 0 / 0.567 GB, free: 14.82 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001248/0.3288, allocations: 0.6416 MB / 0.5676 GB, free: 14.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.3289, allocations: 8.031 kB / 0.5676 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003944/0.3293, allocations: 80.61 kB / 0.5677 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004444/0.3297, allocations: 238.8 kB / 0.5679 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.3297, allocations: 25.38 kB / 0.5679 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.472e-05/0.3298, allocations: 36.38 kB / 0.568 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009683/0.3308, allocations: 0.578 MB / 0.5685 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.3308, allocations: 7.938 kB / 0.5685 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.473e-05/0.3308, allocations: 12 kB / 0.5685 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.313e-05/0.3309, allocations: 28.98 kB / 0.5686 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000835/0.3317, allocations: 419.6 kB / 0.569 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001813/0.3335, allocations: 1.153 MB / 0.5701 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005557/0.3341, allocations: 263.5 kB / 0.5703 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003178/0.3344, allocations: 130.4 kB / 0.5705 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.939e-05/0.3344, allocations: 15.98 kB / 0.5705 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.3345, allocations: 30.56 kB / 0.5705 GB, free: 11.01 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.973e-06/0.3345, allocations: 0 / 0.5705 GB, free: 11.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001163/0.3356, allocations: 437.1 kB / 0.5709 GB, free: 10.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.359e-05/0.3357, allocations: 110.7 kB / 0.571 GB, free: 10.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.3359, allocations: 215.8 kB / 0.5712 GB, free: 10.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.336, allocations: 29.95 kB / 0.5713 GB, free: 10.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.3361, allocations: 236.2 kB / 0.5715 GB, free: 9.949 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.17e-05/0.3362, allocations: 59.47 kB / 0.5716 GB, free: 9.891 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.717e-05/0.3363, allocations: 53.7 kB / 0.5716 GB, free: 9.832 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3364, allocations: 330.8 kB / 0.5719 GB, free: 9.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003222/0.3368, allocations: 123.9 kB / 0.572 GB, free: 9.379 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003761/0.3371, allocations: 169 kB / 0.5722 GB, free: 9.195 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007052/0.3378, allocations: 307.6 kB / 0.5725 GB, free: 8.879 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3378, allocations: 0 / 0.5725 GB, free: 8.879 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008222/0.3387, allocations: 361.1 kB / 0.5728 GB, free: 8.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.3387, allocations: 4 kB / 0.5728 GB, free: 8.516 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.9e-05/0.3388, allocations: 47.84 kB / 0.5729 GB, free: 8.469 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.3388, allocations: 3.938 kB / 0.5729 GB, free: 8.465 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.339, allocations: 32.12 kB / 0.5729 GB, free: 8.434 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.339, allocations: 4 kB / 0.5729 GB, free: 8.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.3392, allocations: 31.86 kB / 0.573 GB, free: 8.398 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.15e-05/0.3392, allocations: 12 kB / 0.573 GB, free: 8.387 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002294/0.3395, allocations: 185.7 kB / 0.5731 GB, free: 8.195 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.477e-05/0.3395, allocations: 15.91 kB / 0.5732 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00075/0.3403, allocations: 366.5 kB / 0.5735 GB, free: 7.816 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.3403, allocations: 4 kB / 0.5735 GB, free: 7.812 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3403, allocations: 4 kB / 0.5735 GB, free: 7.809 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.3403, allocations: 4 kB / 0.5735 GB, free: 7.805 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004901/0.3408, allocations: 277 kB / 0.5738 GB, free: 7.504 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.759e-05/0.3409, allocations: 36 kB / 0.5738 GB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.341, allocations: 27.91 kB / 0.5738 GB, free: 7.441 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.341, allocations: 0 / 0.5738 GB, free: 7.441 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.341, allocations: 15.98 kB / 0.5739 GB, free: 7.426 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.341, allocations: 3.938 kB / 0.5739 GB, free: 7.422 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.341, allocations: 0 / 0.5739 GB, free: 7.422 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008886/0.3419, allocations: 0.5524 MB / 0.5744 GB, free: 6.852 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.768e-05/0.342, allocations: 19.86 kB / 0.5744 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.149e-05/0.342, allocations: 11.88 kB / 0.5744 GB, free: 6.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/0.3423, allocations: 19.97 kB / 0.5745 GB, free: 6.801 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.853e-05/0.3424, allocations: 19.92 kB / 0.5745 GB, free: 6.781 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.847e-05/0.3424, allocations: 15.98 kB / 0.5745 GB, free: 6.766 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001601/0.3425, allocations: 160.2 kB / 0.5746 GB, free: 6.609 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3425, allocations: 0 / 0.5746 GB, free: 6.609 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005666/0.3431, allocations: 135.5 kB / 0.5748 GB, free: 6.477 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002988/0.3434, allocations: 157.2 kB / 0.5749 GB, free: 6.316 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009193/0.3443, allocations: 0.5141 MB / 0.5754 GB, free: 5.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3443, allocations: 0 / 0.5754 GB, free: 5.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005355/0.3449, allocations: 379.5 kB / 0.5758 GB, free: 5.324 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005536/0.3454, allocations: 32.47 kB / 0.5758 GB, free: 5.293 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.347, allocations: 0.7882 MB / 0.5766 GB, free: 4.461 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.3473, allocations: 242.8 kB / 0.5768 GB, free: 4.207 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.876e-05/0.3474, allocations: 19.44 kB / 0.5768 GB, free: 4.191 MB / 414.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3474, allocations: 4 kB / 0.5768 GB, free: 4.188 MB / 414.1 MB Notification: Performance of Templates: time 0.009061/0.3564, allocations: 5.586 MB / 0.5823 GB, free: 14.6 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.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.013502799905837]