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.00169/0.00169, allocations: 111.9 kB / 19.18 MB, free: 3.762 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.001957/0.001957, allocations: 208.9 kB / 22.13 MB, free: 0.8125 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.601/1.601, allocations: 230.2 MB / 255.2 MB, free: 15.23 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.2353/0.2353, allocations: 46.89 MB / 358.1 MB, free: 10.59 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.00227/0.00227, allocations: 88.05 kB / 0.4924 GB, free: 8.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1304, allocations: 65.98 MB / 0.5568 GB, free: 5.918 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003459/0.1339, allocations: 2.035 MB / 0.5588 GB, free: 3.867 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001902/0.1358, allocations: 1.164 MB / 0.56 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.7e-05/0.1359, allocations: 0 / 0.56 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002747/0.1361, allocations: 59.61 kB / 0.56 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002106/0.1363, allocations: 83.5 kB / 0.5601 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005666/0.1369, allocations: 175.4 kB / 0.5603 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004101/0.1373, allocations: 326.5 kB / 0.5606 GB, free: 2.066 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.872e-05/0.1374, allocations: 24.75 kB / 0.5606 GB, free: 2.043 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000221/0.1376, allocations: 119.4 kB / 0.5607 GB, free: 1.926 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.1378, allocations: 143.3 kB / 0.5608 GB, free: 1.785 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.559e-05/0.1379, allocations: 12 kB / 0.5609 GB, free: 1.773 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004143/0.1383, allocations: 215.7 kB / 0.5611 GB, free: 1.562 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.674e-05/0.1384, allocations: 71.67 kB / 0.5611 GB, free: 1.492 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.1385, allocations: 123.2 kB / 0.5613 GB, free: 1.371 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000551/0.1391, allocations: 406.3 kB / 0.5616 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1391, allocations: 4 kB / 0.5616 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1391, allocations: 0 / 0.5616 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.1391, allocations: 0 / 0.5616 GB, free: 0.9688 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.001164/0.1402, allocations: 0.6331 MB / 0.5623 GB, free: 292 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.1403, allocations: 16.02 kB / 0.5623 GB, free: 276 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003843/0.1407, allocations: 68.67 kB / 0.5623 GB, free: 208 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003515/0.141, allocations: 267.6 kB / 0.5626 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.141, allocations: 16.56 kB / 0.5626 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.859e-05/0.1411, allocations: 28 kB / 0.5626 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007778/0.1419, allocations: 437.8 kB / 0.5631 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.1419, allocations: 3.984 kB / 0.5631 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.008e-05/0.1419, allocations: 12 kB / 0.5631 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.015e-05/0.1419, allocations: 16.5 kB / 0.5631 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007175/0.1427, allocations: 325.9 kB / 0.5634 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.1442, allocations: 1.104 MB / 0.5645 GB, free: 13.9 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005282/0.1448, allocations: 231.7 kB / 0.5647 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003001/0.1451, allocations: 114.4 kB / 0.5648 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.016e-05/0.1451, allocations: 11.97 kB / 0.5648 GB, free: 13.51 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.1451, allocations: 38.56 kB / 0.5649 GB, free: 13.46 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.773e-06/0.1451, allocations: 0 / 0.5649 GB, free: 13.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.001081/0.1462, allocations: 353.3 kB / 0.5652 GB, free: 13.11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.307e-05/0.1463, allocations: 114.8 kB / 0.5653 GB, free: 12.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004679/0.1468, allocations: 401.6 kB / 0.5657 GB, free: 12.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/0.1468, allocations: 29.7 kB / 0.5657 GB, free: 12.54 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.147, allocations: 200 kB / 0.5659 GB, free: 12.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.611e-05/0.147, allocations: 43.58 kB / 0.5659 GB, free: 12.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.1472, allocations: 69.88 kB / 0.566 GB, free: 12.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.1473, allocations: 342.8 kB / 0.5663 GB, free: 11.87 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003478/0.1477, allocations: 124.1 kB / 0.5665 GB, free: 11.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004153/0.1481, allocations: 231.7 kB / 0.5667 GB, free: 11.47 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007545/0.1488, allocations: 363 kB / 0.567 GB, free: 11.06 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1489, allocations: 0 / 0.567 GB, free: 11.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009258/0.1498, allocations: 401.2 kB / 0.5674 GB, free: 10.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.1498, allocations: 8 kB / 0.5674 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.006e-05/0.1499, allocations: 27.92 kB / 0.5674 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.1499, allocations: 4 kB / 0.5674 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.1501, allocations: 47.91 kB / 0.5675 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.1501, allocations: 15.92 kB / 0.5675 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002835/0.1504, allocations: 59.83 kB / 0.5676 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-05/0.1505, allocations: 19.98 kB / 0.5676 GB, free: 10.48 MB / 430.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.0002105/0.1507, allocations: 172.7 kB / 0.5677 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.461e-05/0.1508, allocations: 27.81 kB / 0.5678 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006774/0.1514, allocations: 292.2 kB / 0.5681 GB, free: 9.984 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.1515, allocations: 7.984 kB / 0.5681 GB, free: 9.977 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/0.1515, allocations: 7.938 kB / 0.5681 GB, free: 9.969 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1515, allocations: 96 / 0.5681 GB, free: 9.969 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004932/0.152, allocations: 301.4 kB / 0.5684 GB, free: 9.625 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.551e-05/0.152, allocations: 23.98 kB / 0.5684 GB, free: 9.602 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.1522, allocations: 23.97 kB / 0.5684 GB, free: 9.578 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1522, allocations: 0 / 0.5684 GB, free: 9.578 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.1522, allocations: 8 kB / 0.5684 GB, free: 9.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1522, allocations: 0 / 0.5684 GB, free: 9.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.1522, allocations: 11.88 kB / 0.5684 GB, free: 9.559 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000793/0.153, allocations: 0.4977 MB / 0.5689 GB, free: 9.043 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.1531, allocations: 120.8 kB / 0.569 GB, free: 8.906 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.515e-05/0.1531, allocations: 4 kB / 0.569 GB, free: 8.902 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002741/0.1534, allocations: 19.97 kB / 0.569 GB, free: 8.883 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.299e-05/0.1535, allocations: 19.92 kB / 0.5691 GB, free: 8.863 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/0.1535, allocations: 11.98 kB / 0.5691 GB, free: 8.852 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003316/0.1538, allocations: 291.1 kB / 0.5694 GB, free: 8.566 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1538, allocations: 0 / 0.5694 GB, free: 8.566 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005216/0.1544, allocations: 91.88 kB / 0.5694 GB, free: 8.477 MB / 430.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.000313/0.1547, allocations: 155 kB / 0.5696 GB, free: 8.312 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008698/0.1555, allocations: 421.8 kB / 0.57 GB, free: 7.863 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1555, allocations: 1.062 kB / 0.57 GB, free: 7.863 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004221/0.156, allocations: 274 kB / 0.5703 GB, free: 7.559 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000607/0.1566, allocations: 73.14 kB / 0.5703 GB, free: 7.492 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.1578, allocations: 0.6447 MB / 0.571 GB, free: 6.809 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004635/0.1582, allocations: 0.7948 MB / 0.5717 GB, free: 5.988 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8e-05/0.1583, allocations: 23.44 kB / 0.5717 GB, free: 5.965 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1583, allocations: 0 / 0.5717 GB, free: 5.965 MB / 430.1 MB Notification: Performance of Templates: time 0.009248/0.1676, allocations: 5.602 MB / 0.5772 GB, free: 400 kB / 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/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: 8.212557049002498]