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.Channel.kc_evenGapTurbulent_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.001333/0.001333, allocations: 112.9 kB / 19.17 MB, free: 3.891 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.001439/0.001439, allocations: 210.5 kB / 22.13 MB, free: 0.9375 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.61/1.61, allocations: 230.2 MB / 255.1 MB, free: 15.25 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.2295/0.2295, allocations: 46.89 MB / 358.1 MB, free: 10.6 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.Channel.kc_evenGapTurbulent_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|velocity.1.|velocity.2.|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow.1.|m_flow.2.|kc_OUT_1.1.|kc_OUT_1.2.|Re.1.|Re.2.|input_Nu.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|velocity.1.|velocity.2.|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow.1.|m_flow.2.|kc_OUT_1.1.|kc_OUT_1.2.|Re.1.|Re.2.|input_Nu.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") [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.002249/0.002249, allocations: 83.86 kB / 0.4924 GB, free: 8.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.131, allocations: 65.99 MB / 0.5568 GB, free: 5.957 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003198/0.1342, allocations: 1.8 MB / 0.5586 GB, free: 4.137 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001499/0.1357, allocations: 0.8528 MB / 0.5594 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.069e-05/0.1357, allocations: 0 / 0.5594 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002749/0.136, allocations: 39.75 kB / 0.5594 GB, free: 3.242 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000275/0.1363, allocations: 79.58 kB / 0.5595 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002695/0.1366, allocations: 79.72 kB / 0.5596 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.1368, allocations: 143.3 kB / 0.5597 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.324e-05/0.1368, allocations: 12.88 kB / 0.5597 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.137, allocations: 75.64 kB / 0.5598 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.1372, allocations: 79.66 kB / 0.5599 GB, free: 2.781 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.1372, allocations: 7.984 kB / 0.5599 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003051/0.1375, allocations: 163.8 kB / 0.5601 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.82e-05/0.1376, allocations: 39.83 kB / 0.5601 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.438e-05/0.1376, allocations: 51.62 kB / 0.5601 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003971/0.138, allocations: 207.2 kB / 0.5603 GB, free: 2.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.138, allocations: 0 / 0.5603 GB, free: 2.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.138, allocations: 0 / 0.5603 GB, free: 2.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.822e-06/0.138, allocations: 4 kB / 0.5603 GB, free: 2.316 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0009606/0.139, allocations: 450.6 kB / 0.5608 GB, free: 1.828 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.1391, allocations: 12.03 kB / 0.5608 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.106e-05/0.1391, allocations: 16.83 kB / 0.5608 GB, free: 1.801 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.1394, allocations: 206.3 kB / 0.561 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.1394, allocations: 4.375 kB / 0.561 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.298e-05/0.1395, allocations: 16.12 kB / 0.561 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004145/0.1399, allocations: 177.5 kB / 0.5612 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.1399, allocations: 0 / 0.5612 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.1399, allocations: 0 / 0.5612 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-05/0.1399, allocations: 15.98 kB / 0.5612 GB, free: 1.348 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004034/0.1403, allocations: 171.8 kB / 0.5614 GB, free: 1.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009264/0.1413, allocations: 488.2 kB / 0.5618 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004433/0.1417, allocations: 158.4 kB / 0.562 GB, free: 500 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.1419, allocations: 52.81 kB / 0.562 GB, free: 444 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.1419, allocations: 0 / 0.562 GB, free: 444 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.1419, allocations: 34.55 kB / 0.5621 GB, free: 400 kB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.1419, allocations: 0 / 0.5621 GB, free: 400 kB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006161/0.1425, allocations: 213.3 kB / 0.5623 GB, free: 180 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.1426, allocations: 51.41 kB / 0.5623 GB, free: 116 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.1428, allocations: 199.5 kB / 0.5625 GB, free: 15.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/0.1429, allocations: 25.7 kB / 0.5625 GB, free: 15.87 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.831e-05/0.1429, allocations: 112.1 kB / 0.5626 GB, free: 15.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.143, allocations: 35.69 kB / 0.5627 GB, free: 15.72 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.027e-05/0.143, allocations: 25.72 kB / 0.5627 GB, free: 15.69 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.1432, allocations: 334.7 kB / 0.563 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.1434, allocations: 55.94 kB / 0.5631 GB, free: 15.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.1435, allocations: 74.45 kB / 0.5631 GB, free: 15.21 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003129/0.1438, allocations: 122.5 kB / 0.5633 GB, free: 15.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1438, allocations: 0 / 0.5633 GB, free: 15.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003833/0.1442, allocations: 165.4 kB / 0.5634 GB, free: 14.92 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.1442, allocations: 11.98 kB / 0.5634 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.1442, allocations: 0 / 0.5634 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.1443, allocations: 0 / 0.5634 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002817/0.1445, allocations: 52.05 kB / 0.5635 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008746/0.1454, allocations: 1.223 MB / 0.5647 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.1455, allocations: 19.91 kB / 0.5647 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.1456, allocations: 4.656 kB / 0.5647 GB, free: 13.56 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002207/0.1458, allocations: 141.8 kB / 0.5648 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/0.1458, allocations: 11.89 kB / 0.5648 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004835/0.1463, allocations: 182.8 kB / 0.565 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1463, allocations: 0 / 0.565 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1463, allocations: 4 kB / 0.565 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1463, allocations: 0 / 0.565 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000281/0.1466, allocations: 229.6 kB / 0.5652 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1466, allocations: 7.938 kB / 0.5653 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.1468, allocations: 39.98 kB / 0.5653 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.1468, allocations: 3.984 kB / 0.5653 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.1468, allocations: 96 / 0.5653 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008232/0.1477, allocations: 1.223 MB / 0.5665 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1477, allocations: 4.031 kB / 0.5665 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004225/0.1481, allocations: 247.3 kB / 0.5667 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.313e-05/0.1482, allocations: 100.9 kB / 0.5668 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.1482, allocations: 7.938 kB / 0.5668 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.1483, allocations: 12.08 kB / 0.5668 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.1484, allocations: 8 kB / 0.5668 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.1484, allocations: 0 / 0.5668 GB, free: 11.21 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001423/0.1485, allocations: 149.2 kB / 0.567 GB, free: 11.06 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1485, allocations: 0 / 0.567 GB, free: 11.06 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003178/0.1488, allocations: 43.94 kB / 0.567 GB, free: 11.02 MB / 430.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002623/0.1491, allocations: 135.1 kB / 0.5672 GB, free: 10.88 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00053/0.1496, allocations: 139.8 kB / 0.5673 GB, free: 10.74 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1496, allocations: 0 / 0.5673 GB, free: 10.74 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003107/0.15, allocations: 91.98 kB / 0.5674 GB, free: 10.65 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.1503, allocations: 36.38 kB / 0.5674 GB, free: 10.62 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008018/0.1511, allocations: 380.6 kB / 0.5678 GB, free: 10.21 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004054/0.1515, allocations: 0.7279 MB / 0.5685 GB, free: 9.457 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.199e-05/0.1515, allocations: 11.44 kB / 0.5685 GB, free: 9.445 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1515, allocations: 0 / 0.5685 GB, free: 9.445 MB / 430.1 MB Notification: Performance of Templates: time 0.006529/0.1581, allocations: 3.53 MB / 0.572 GB, free: 5.926 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent_KC/kc_evenGapTurbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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: 8.36963530187495]