Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 100.4 kB / 20.45 MB, free: 1.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 211.9 kB / 23.74 MB, free: 4.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 207.7 MB / 234.6 MB, free: 9.812 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2368/0.2368, allocations: 44.25 MB / 331.1 MB, free: 9.414 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002331/0.002331, allocations: 67.91 kB / 468.8 MB, free: 3.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1311, allocations: 61.06 MB / 0.5174 GB, free: 6.645 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003703/0.1348, allocations: 1.954 MB / 0.5193 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.1367, allocations: 1.018 MB / 0.5203 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.714e-05/0.1367, allocations: 7.875 kB / 0.5203 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002918/0.137, allocations: 55.69 kB / 0.5204 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002246/0.1373, allocations: 75.52 kB / 0.5205 GB, free: 3.516 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006018/0.1379, allocations: 163.4 kB / 0.5206 GB, free: 3.355 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004583/0.1383, allocations: 334.4 kB / 0.5209 GB, free: 3.027 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.85e-05/0.1384, allocations: 12.92 kB / 0.5209 GB, free: 3.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002325/0.1386, allocations: 119.4 kB / 0.5211 GB, free: 2.895 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002408/0.1389, allocations: 139.3 kB / 0.5212 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.438e-05/0.1389, allocations: 12 kB / 0.5212 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003236/0.1392, allocations: 131.8 kB / 0.5213 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.1394, allocations: 71.66 kB / 0.5214 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.1395, allocations: 103.3 kB / 0.5215 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000592/0.1401, allocations: 378.3 kB / 0.5219 GB, free: 2.074 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1401, allocations: 0 / 0.5219 GB, free: 2.074 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1401, allocations: 0 / 0.5219 GB, free: 2.074 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.1401, allocations: 0 / 0.5219 GB, free: 2.074 MB / 398.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.001214/0.1413, allocations: 0.552 MB / 0.5224 GB, free: 1.492 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.1414, allocations: 12.03 kB / 0.5224 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.256e-05/0.1414, allocations: 36.64 kB / 0.5224 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.1418, allocations: 209.8 kB / 0.5226 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.1418, allocations: 16.66 kB / 0.5227 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.007e-05/0.1419, allocations: 28 kB / 0.5227 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007871/0.1427, allocations: 426.6 kB / 0.5231 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.1427, allocations: 4 kB / 0.5231 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.778e-05/0.1427, allocations: 12 kB / 0.5231 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.073e-05/0.1428, allocations: 16.66 kB / 0.5231 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007202/0.1435, allocations: 322.3 kB / 0.5234 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/0.145, allocations: 0.9422 MB / 0.5243 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005266/0.1455, allocations: 243.7 kB / 0.5246 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/0.1458, allocations: 110.4 kB / 0.5247 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.98e-05/0.1459, allocations: 4 kB / 0.5247 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.1459, allocations: 34.56 kB / 0.5247 GB, free: 14.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 2.395e-06/0.1459, allocations: 0 / 0.5247 GB, free: 14.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.00105/0.147, allocations: 341.2 kB / 0.525 GB, free: 14.63 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/0.147, allocations: 114.6 kB / 0.5252 GB, free: 14.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003084/0.1473, allocations: 256.7 kB / 0.5254 GB, free: 14.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.1474, allocations: 29.7 kB / 0.5254 GB, free: 14.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.1475, allocations: 212.2 kB / 0.5256 GB, free: 13.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.582e-05/0.1476, allocations: 55.84 kB / 0.5257 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.1477, allocations: 65.97 kB / 0.5257 GB, free: 13.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.1479, allocations: 334.8 kB / 0.5261 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003217/0.1482, allocations: 116.1 kB / 0.5262 GB, free: 13.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004084/0.1486, allocations: 232.7 kB / 0.5264 GB, free: 13.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007405/0.1494, allocations: 367 kB / 0.5267 GB, free: 12.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1494, allocations: 0 / 0.5267 GB, free: 12.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008608/0.1502, allocations: 385 kB / 0.5271 GB, free: 12.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.071e-05/0.1503, allocations: 8.531 kB / 0.5271 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.946e-05/0.1503, allocations: 23.98 kB / 0.5271 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.785e-05/0.1504, allocations: 12 kB / 0.5272 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/0.1506, allocations: 51.91 kB / 0.5272 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.1506, allocations: 11.92 kB / 0.5272 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002403/0.1509, allocations: 47.7 kB / 0.5273 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/0.1509, allocations: 12 kB / 0.5273 GB, free: 12.18 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.0002366/0.1511, allocations: 185.5 kB / 0.5275 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.322e-05/0.1512, allocations: 23.86 kB / 0.5275 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006214/0.1518, allocations: 271.4 kB / 0.5277 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.1519, allocations: 4 kB / 0.5277 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1519, allocations: 0 / 0.5277 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1519, allocations: 3.938 kB / 0.5277 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004683/0.1523, allocations: 237.1 kB / 0.528 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.69e-05/0.1524, allocations: 19.98 kB / 0.528 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.1525, allocations: 27.97 kB / 0.528 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.1525, allocations: 4 kB / 0.528 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.1525, allocations: 4 kB / 0.528 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.1525, allocations: 0 / 0.528 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.1525, allocations: 3.938 kB / 0.528 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007855/0.1533, allocations: 0.5016 MB / 0.5285 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.561e-05/0.1534, allocations: 19.91 kB / 0.5285 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.876e-05/0.1534, allocations: 4 kB / 0.5285 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.1537, allocations: 19.97 kB / 0.5286 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.306e-05/0.1537, allocations: 15.92 kB / 0.5286 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.1538, allocations: 11.98 kB / 0.5286 GB, free: 10.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001861/0.1539, allocations: 176.5 kB / 0.5288 GB, free: 10.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1539, allocations: 0 / 0.5288 GB, free: 10.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005533/0.1545, allocations: 111.7 kB / 0.5289 GB, free: 10.48 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.0002984/0.1548, allocations: 155 kB / 0.529 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000829/0.1556, allocations: 421.8 kB / 0.5294 GB, free: 9.875 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1556, allocations: 0 / 0.5294 GB, free: 9.875 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004918/0.1561, allocations: 271.1 kB / 0.5297 GB, free: 9.574 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005379/0.1567, allocations: 40.77 kB / 0.5297 GB, free: 9.535 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.1579, allocations: 0.6103 MB / 0.5303 GB, free: 8.883 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/0.1581, allocations: 185.4 kB / 0.5305 GB, free: 8.684 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.745e-05/0.1582, allocations: 27.42 kB / 0.5305 GB, free: 8.656 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1582, allocations: 0 / 0.5305 GB, free: 8.656 MB / 414.1 MB Notification: Performance of Templates: time 0.008107/0.1663, allocations: 4.765 MB / 0.5352 GB, free: 3.891 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.055853228084743]