Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.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.001608/0.001608, allocations: 117.1 kB / 19.13 MB, free: 3.945 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.001931/0.001931, allocations: 202.6 kB / 22.07 MB, free: 1 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.451/1.451, allocations: 227.5 MB / 252.3 MB, free: 88 kB / 190.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.2492/0.2492, allocations: 46.16 MB / 351.8 MB, free: 14.32 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.StraightPipe.kc_turbulent_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002451/0.002451, allocations: 85.38 kB / 490.9 MB, free: 28.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1163, allocations: 62.45 MB / 0.5404 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003536/0.1199, allocations: 1.889 MB / 0.5422 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.1216, allocations: 0.8412 MB / 0.543 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.1217, allocations: 0 / 0.543 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002953/0.122, allocations: 55.66 kB / 0.5431 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003385/0.1224, allocations: 87.56 kB / 0.5432 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003413/0.1228, allocations: 82.34 kB / 0.5433 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003715/0.1231, allocations: 262.7 kB / 0.5435 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.14e-05/0.1232, allocations: 32.38 kB / 0.5435 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002463/0.1235, allocations: 99.5 kB / 0.5436 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.1237, allocations: 123.4 kB / 0.5438 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.519e-05/0.1238, allocations: 8 kB / 0.5438 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002871/0.124, allocations: 119.8 kB / 0.5439 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.1242, allocations: 63.69 kB / 0.5439 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.1243, allocations: 107.3 kB / 0.544 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004727/0.1248, allocations: 306.6 kB / 0.5443 GB, free: 204 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1248, allocations: 3.938 kB / 0.5443 GB, free: 200 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1248, allocations: 0 / 0.5443 GB, free: 200 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.1248, allocations: 0 / 0.5443 GB, free: 200 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001019/0.1258, allocations: 0.5678 MB / 0.5449 GB, free: 15.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1259, allocations: 15.97 kB / 0.5449 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.134e-05/0.126, allocations: 28.75 kB / 0.5449 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/0.1263, allocations: 236 kB / 0.5452 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.1263, allocations: 24.92 kB / 0.5452 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.946e-05/0.1264, allocations: 24.12 kB / 0.5452 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006637/0.127, allocations: 373.2 kB / 0.5456 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1271, allocations: 7.938 kB / 0.5456 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.047e-05/0.1271, allocations: 15.98 kB / 0.5456 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.444e-05/0.1271, allocations: 24.64 kB / 0.5456 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006749/0.1278, allocations: 374.3 kB / 0.546 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.1293, allocations: 0.835 MB / 0.5468 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000531/0.1298, allocations: 262.3 kB / 0.547 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/0.13, allocations: 92.83 kB / 0.5471 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.796e-05/0.1301, allocations: 7.938 kB / 0.5471 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.1301, allocations: 30.56 kB / 0.5472 GB, free: 13.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=16): time 1.803e-06/0.1301, allocations: 0 / 0.5472 GB, free: 13.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008578/0.131, allocations: 346.9 kB / 0.5475 GB, free: 12.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.131, allocations: 51.41 kB / 0.5475 GB, free: 12.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004017/0.1314, allocations: 338.9 kB / 0.5479 GB, free: 12.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.699e-05/0.1315, allocations: 29.7 kB / 0.5479 GB, free: 12.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.1316, allocations: 172.2 kB / 0.548 GB, free: 12.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.476e-05/0.1317, allocations: 59.48 kB / 0.5481 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.1318, allocations: 57.92 kB / 0.5482 GB, free: 12.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.132, allocations: 342.8 kB / 0.5485 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/0.1322, allocations: 100.4 kB / 0.5486 GB, free: 11.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003196/0.1326, allocations: 184 kB / 0.5488 GB, free: 11.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005687/0.1331, allocations: 304.2 kB / 0.549 GB, free: 11.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.1332, allocations: 4 kB / 0.5491 GB, free: 11.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006957/0.1339, allocations: 347.2 kB / 0.5494 GB, free: 10.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.1339, allocations: 15.92 kB / 0.5494 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1339, allocations: 0 / 0.5494 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.1339, allocations: 4.375 kB / 0.5494 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000579/0.1345, allocations: 123.9 kB / 0.5495 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002538/0.1371, allocations: 3.653 MB / 0.5531 GB, free: 6.773 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002428/0.1373, allocations: 47.75 kB / 0.5531 GB, free: 6.727 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/0.1374, allocations: 12 kB / 0.5531 GB, free: 6.715 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002823/0.1377, allocations: 177.7 kB / 0.5533 GB, free: 6.531 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.32e-05/0.1377, allocations: 31.8 kB / 0.5533 GB, free: 6.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007443/0.1385, allocations: 335.4 kB / 0.5537 GB, free: 6.164 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1385, allocations: 0 / 0.5537 GB, free: 6.164 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1385, allocations: 0 / 0.5537 GB, free: 6.164 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.1385, allocations: 4 kB / 0.5537 GB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003908/0.1389, allocations: 309.3 kB / 0.554 GB, free: 5.809 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.1389, allocations: 4 kB / 0.554 GB, free: 5.805 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004646/0.1394, allocations: 103.9 kB / 0.5541 GB, free: 5.703 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.1394, allocations: 0 / 0.5541 GB, free: 5.703 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/0.1394, allocations: 8 kB / 0.5541 GB, free: 5.695 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002235/0.1417, allocations: 3.649 MB / 0.5576 GB, free: 1.906 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.1417, allocations: 3.938 kB / 0.5576 GB, free: 1.902 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005836/0.1423, allocations: 349.9 kB / 0.558 GB, free: 1.547 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.1424, allocations: 108.8 kB / 0.5581 GB, free: 1.422 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.889e-05/0.1425, allocations: 4 kB / 0.5581 GB, free: 1.418 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.1426, allocations: 11.92 kB / 0.5581 GB, free: 1.406 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.284e-05/0.1427, allocations: 15.98 kB / 0.5581 GB, free: 1.391 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.1427, allocations: 4 kB / 0.5581 GB, free: 1.387 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002818/0.143, allocations: 253.9 kB / 0.5584 GB, free: 1.141 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.143, allocations: 0 / 0.5584 GB, free: 1.141 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004084/0.1434, allocations: 71.94 kB / 0.5584 GB, free: 1.07 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002798/0.1437, allocations: 135.1 kB / 0.5586 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009672/0.1447, allocations: 315.6 kB / 0.5589 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1447, allocations: 0 / 0.5589 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006203/0.1454, allocations: 192.5 kB / 0.559 GB, free: 444 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.1458, allocations: 60.78 kB / 0.5591 GB, free: 380 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.1469, allocations: 0.5954 MB / 0.5597 GB, free: 15.74 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004567/0.1474, allocations: 0.7834 MB / 0.5604 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.535e-05/0.1475, allocations: 27.42 kB / 0.5605 GB, free: 14.91 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1475, allocations: 0 / 0.5605 GB, free: 14.91 MB / 430.1 MB Notification: Performance of Templates: time 0.01602/0.1635, allocations: 10.85 MB / 0.5711 GB, free: 4.082 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.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: 9.251523977029137]