Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.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.001352/0.001352, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001418/0.001418, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.531/1.531, allocations: 230.3 MB / 258 MB, free: 8.223 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2342/0.2342, allocations: 46.94 MB / 361.4 MB, free: 4.383 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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,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.|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.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,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.|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.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002342/0.002342, allocations: 79.86 kB / 0.4972 GB, free: 7.465 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3228, allocations: 66.04 MB / 0.5617 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003846/0.3266, allocations: 2.054 MB / 0.5637 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002335/0.329, allocations: 1.165 MB / 0.5648 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002024/0.3292, allocations: 0 / 0.5648 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004101/0.3296, allocations: 63.66 kB / 0.5649 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004036/0.33, allocations: 83.45 kB / 0.565 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008741/0.3308, allocations: 179.4 kB / 0.5651 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006624/0.3315, allocations: 322.5 kB / 0.5655 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.237e-05/0.3316, allocations: 12.92 kB / 0.5655 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003907/0.332, allocations: 127.4 kB / 0.5656 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003568/0.3323, allocations: 147.3 kB / 0.5657 GB, free: 356 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.847e-05/0.3324, allocations: 12 kB / 0.5657 GB, free: 344 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005276/0.3329, allocations: 211.7 kB / 0.5659 GB, free: 132 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.3331, allocations: 75.67 kB / 0.566 GB, free: 56 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002213/0.3333, allocations: 123.1 kB / 0.5661 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007219/0.334, allocations: 400.8 kB / 0.5665 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.334, allocations: 3.984 kB / 0.5665 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.334, allocations: 4 kB / 0.5665 GB, free: 15.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.334, allocations: 0 / 0.5665 GB, free: 15.54 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001248/0.3353, allocations: 0.5635 MB / 0.5671 GB, free: 14.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.3353, allocations: 8.031 kB / 0.5671 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004259/0.3357, allocations: 76.66 kB / 0.5672 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003824/0.3361, allocations: 202.3 kB / 0.5673 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.3362, allocations: 20.66 kB / 0.5674 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.825e-05/0.3362, allocations: 28 kB / 0.5674 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008789/0.3371, allocations: 434.6 kB / 0.5678 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.3371, allocations: 0 / 0.5678 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/0.3371, allocations: 11.94 kB / 0.5678 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.149e-05/0.3372, allocations: 24.64 kB / 0.5678 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008061/0.338, allocations: 330.2 kB / 0.5682 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001774/0.3397, allocations: 1.058 MB / 0.5692 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005277/0.3403, allocations: 235.7 kB / 0.5694 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002967/0.3406, allocations: 106.5 kB / 0.5695 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.896e-05/0.3406, allocations: 7.938 kB / 0.5695 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/0.3407, allocations: 38.55 kB / 0.5696 GB, free: 12.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.663e-06/0.3407, allocations: 0 / 0.5696 GB, free: 12.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.001083/0.3417, allocations: 353.5 kB / 0.5699 GB, free: 11.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.467e-05/0.3418, allocations: 110.7 kB / 0.57 GB, free: 11.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000493/0.3423, allocations: 405.6 kB / 0.5704 GB, free: 11.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.3424, allocations: 33.7 kB / 0.5704 GB, free: 11.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.3425, allocations: 196.2 kB / 0.5706 GB, free: 11.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.477e-05/0.3426, allocations: 55.56 kB / 0.5707 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.3427, allocations: 65.88 kB / 0.5707 GB, free: 10.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.3429, allocations: 342.8 kB / 0.571 GB, free: 10.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003162/0.3432, allocations: 116.1 kB / 0.5712 GB, free: 10.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004026/0.3436, allocations: 238.1 kB / 0.5714 GB, free: 10.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007072/0.3443, allocations: 366.9 kB / 0.5717 GB, free: 9.836 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.3443, allocations: 4 kB / 0.5717 GB, free: 9.832 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008844/0.3452, allocations: 400.8 kB / 0.5721 GB, free: 9.434 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.3452, allocations: 8.531 kB / 0.5721 GB, free: 9.426 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-05/0.3453, allocations: 23.98 kB / 0.5722 GB, free: 9.402 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.3453, allocations: 12 kB / 0.5722 GB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002712/0.3455, allocations: 47.84 kB / 0.5722 GB, free: 9.344 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.3456, allocations: 7.938 kB / 0.5722 GB, free: 9.336 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003005/0.3459, allocations: 63.59 kB / 0.5723 GB, free: 9.273 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.344e-05/0.3459, allocations: 16 kB / 0.5723 GB, free: 9.258 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0002085/0.3461, allocations: 177.7 kB / 0.5725 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.862e-05/0.3462, allocations: 35.81 kB / 0.5725 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006483/0.3468, allocations: 288.2 kB / 0.5728 GB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/0.3469, allocations: 0 / 0.5728 GB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.3469, allocations: 7.938 kB / 0.5728 GB, free: 8.746 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.3469, allocations: 3.984 kB / 0.5728 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005179/0.3474, allocations: 264.7 kB / 0.573 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.536e-05/0.3474, allocations: 35.92 kB / 0.5731 GB, free: 8.406 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.3476, allocations: 23.97 kB / 0.5731 GB, free: 8.383 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.3476, allocations: 0 / 0.5731 GB, free: 8.383 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.3476, allocations: 8 kB / 0.5731 GB, free: 8.375 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.3476, allocations: 4 kB / 0.5731 GB, free: 8.371 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.3476, allocations: 3.938 kB / 0.5731 GB, free: 8.367 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007736/0.3484, allocations: 0.5094 MB / 0.5736 GB, free: 7.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.958e-05/0.3485, allocations: 39.69 kB / 0.5736 GB, free: 7.801 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.776e-05/0.3485, allocations: 0 / 0.5736 GB, free: 7.801 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002759/0.3488, allocations: 23.97 kB / 0.5737 GB, free: 7.777 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.07e-05/0.3489, allocations: 19.92 kB / 0.5737 GB, free: 7.758 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.3489, allocations: 8 kB / 0.5737 GB, free: 7.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003775/0.3493, allocations: 295.1 kB / 0.574 GB, free: 7.465 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3493, allocations: 0 / 0.574 GB, free: 7.465 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005412/0.3498, allocations: 91.88 kB / 0.5741 GB, free: 7.375 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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0003942/0.3502, allocations: 155 kB / 0.5742 GB, free: 7.211 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008923/0.3511, allocations: 426.4 kB / 0.5746 GB, free: 6.758 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3511, allocations: 0 / 0.5746 GB, free: 6.758 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004233/0.3515, allocations: 266 kB / 0.5749 GB, free: 6.461 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006185/0.3522, allocations: 74.27 kB / 0.5749 GB, free: 6.391 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.3536, allocations: 0.6126 MB / 0.5755 GB, free: 5.738 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005803/0.3541, allocations: 0.7987 MB / 0.5763 GB, free: 4.914 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001974/0.3543, allocations: 70.89 kB / 0.5764 GB, free: 4.848 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.94e-05/0.3544, allocations: 23.44 kB / 0.5764 GB, free: 4.824 MB / 414.1 MB Notification: Performance of SimCode: time 1.253e-06/0.3544, allocations: 0 / 0.5764 GB, free: 4.824 MB / 414.1 MB Notification: Performance of Templates: time 0.01367/0.3681, allocations: 5.947 MB / 0.5822 GB, free: 14.96 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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_turbulent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.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: 5.406358694657683]