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.001301/0.001301, allocations: 109.1 kB / 21.84 MB, free: 88 kB / 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.001455/0.001455, allocations: 219.8 kB / 25.13 MB, free: 3.609 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.454/1.454, allocations: 230.4 MB / 258.7 MB, free: 8.039 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.229/0.229, allocations: 46.94 MB / 362 MB, free: 4.223 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.002327/0.002327, allocations: 79.86 kB / 0.4978 GB, free: 7.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3281, allocations: 66.09 MB / 0.5624 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003386/0.3315, allocations: 2.046 MB / 0.5644 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00192/0.3334, allocations: 1.165 MB / 0.5655 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.662e-05/0.3335, allocations: 0 / 0.5655 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002548/0.3338, allocations: 67.59 kB / 0.5656 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002083/0.334, allocations: 75.53 kB / 0.5656 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000556/0.3345, allocations: 187.3 kB / 0.5658 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004085/0.3349, allocations: 322.5 kB / 0.5661 GB, free: 396 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.554e-05/0.335, allocations: 12.94 kB / 0.5661 GB, free: 380 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002219/0.3352, allocations: 127.3 kB / 0.5663 GB, free: 252 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.3354, allocations: 143.4 kB / 0.5664 GB, free: 108 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.457e-05/0.3355, allocations: 16 kB / 0.5664 GB, free: 92 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003282/0.3358, allocations: 151.9 kB / 0.5665 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.3359, allocations: 75.53 kB / 0.5666 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.336, allocations: 127.1 kB / 0.5667 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005115/0.3366, allocations: 392.8 kB / 0.5671 GB, free: 15.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3366, allocations: 0 / 0.5671 GB, free: 15.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3366, allocations: 0 / 0.5671 GB, free: 15.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.3366, allocations: 0 / 0.5671 GB, free: 15.36 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.001094/0.3377, allocations: 0.5635 MB / 0.5677 GB, free: 14.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.3377, allocations: 8.031 kB / 0.5677 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003776/0.3381, allocations: 68.66 kB / 0.5677 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.3384, allocations: 213.7 kB / 0.5679 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.3384, allocations: 20.66 kB / 0.568 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.35e-05/0.3385, allocations: 28 kB / 0.568 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007631/0.3393, allocations: 426.6 kB / 0.5684 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.3393, allocations: 0 / 0.5684 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.3393, allocations: 12 kB / 0.5684 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.723e-05/0.3393, allocations: 24.58 kB / 0.5684 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007059/0.34, allocations: 322.3 kB / 0.5687 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001657/0.3417, allocations: 1.066 MB / 0.5698 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000512/0.3422, allocations: 227.7 kB / 0.57 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/0.3425, allocations: 110.5 kB / 0.5701 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.719e-05/0.3425, allocations: 11.97 kB / 0.5701 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.3426, allocations: 38.5 kB / 0.5701 GB, free: 12.08 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/0.3426, allocations: 0 / 0.5701 GB, free: 12.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.001017/0.3436, allocations: 365.1 kB / 0.5705 GB, free: 11.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.146e-05/0.3437, allocations: 110.7 kB / 0.5706 GB, free: 11.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004577/0.3441, allocations: 405.6 kB / 0.571 GB, free: 11.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.3442, allocations: 25.7 kB / 0.571 GB, free: 11.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.3443, allocations: 200.2 kB / 0.5712 GB, free: 10.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.798e-05/0.3444, allocations: 51.56 kB / 0.5713 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.3445, allocations: 61.89 kB / 0.5713 GB, free: 10.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.3446, allocations: 346.8 kB / 0.5716 GB, free: 10.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00031/0.3449, allocations: 112.1 kB / 0.5718 GB, free: 10.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004165/0.3454, allocations: 238.3 kB / 0.572 GB, free: 10.08 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007043/0.3461, allocations: 375 kB / 0.5723 GB, free: 9.656 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3461, allocations: 0 / 0.5723 GB, free: 9.656 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008372/0.3469, allocations: 392.9 kB / 0.5727 GB, free: 9.266 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.3469, allocations: 8 kB / 0.5727 GB, free: 9.258 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.257e-05/0.347, allocations: 28.52 kB / 0.5727 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.347, allocations: 8 kB / 0.5728 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002562/0.3473, allocations: 51.89 kB / 0.5728 GB, free: 9.172 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.3473, allocations: 15.81 kB / 0.5728 GB, free: 9.156 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002704/0.3475, allocations: 55.61 kB / 0.5729 GB, free: 9.102 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.685e-05/0.3476, allocations: 23.98 kB / 0.5729 GB, free: 9.078 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.000197/0.3478, allocations: 177.1 kB / 0.5731 GB, free: 8.898 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.08e-05/0.3479, allocations: 27.81 kB / 0.5731 GB, free: 8.871 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006227/0.3485, allocations: 292.2 kB / 0.5734 GB, free: 8.582 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.3485, allocations: 4 kB / 0.5734 GB, free: 8.578 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.3485, allocations: 3.938 kB / 0.5734 GB, free: 8.574 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3485, allocations: 0 / 0.5734 GB, free: 8.574 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004809/0.349, allocations: 276.6 kB / 0.5736 GB, free: 8.262 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.573e-05/0.349, allocations: 16 kB / 0.5737 GB, free: 8.246 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.3492, allocations: 28.06 kB / 0.5737 GB, free: 8.219 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.3492, allocations: 7.938 kB / 0.5737 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.3492, allocations: 8 kB / 0.5737 GB, free: 8.203 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.3492, allocations: 3.984 kB / 0.5737 GB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3492, allocations: 3.938 kB / 0.5737 GB, free: 8.195 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007144/0.3499, allocations: 0.5055 MB / 0.5742 GB, free: 7.672 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.747e-05/0.35, allocations: 35.7 kB / 0.5742 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.509e-05/0.35, allocations: 8 kB / 0.5742 GB, free: 7.629 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.3503, allocations: 15.97 kB / 0.5743 GB, free: 7.613 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.832e-05/0.3504, allocations: 23.92 kB / 0.5743 GB, free: 7.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.3504, allocations: 11.98 kB / 0.5743 GB, free: 7.578 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003073/0.3507, allocations: 287.1 kB / 0.5746 GB, free: 7.301 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3507, allocations: 0 / 0.5746 GB, free: 7.301 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005119/0.3512, allocations: 99.86 kB / 0.5747 GB, free: 7.203 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.0002772/0.3515, allocations: 155 kB / 0.5748 GB, free: 7.039 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007736/0.3523, allocations: 426.6 kB / 0.5752 GB, free: 6.586 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3523, allocations: 0 / 0.5752 GB, free: 6.586 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004028/0.3527, allocations: 274 kB / 0.5755 GB, free: 6.281 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005775/0.3532, allocations: 78 kB / 0.5755 GB, free: 6.207 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.3544, allocations: 0.6087 MB / 0.5761 GB, free: 5.559 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004322/0.3548, allocations: 0.7948 MB / 0.5769 GB, free: 4.738 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00016/0.3549, allocations: 66.92 kB / 0.577 GB, free: 4.676 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.753e-05/0.355, allocations: 23.42 kB / 0.577 GB, free: 4.652 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.355, allocations: 0 / 0.577 GB, free: 4.652 MB / 414.1 MB Notification: Performance of Templates: time 0.01123/0.3662, allocations: 5.947 MB / 0.5828 GB, free: 14.79 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 -s gbode -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/jenkins1/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/jenkins1/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.198857345851138]