Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.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.001414/0.001414, allocations: 123.4 kB / 17.79 MB, free: 5.246 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: 208.3 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.585/1.585, allocations: 230.6 MB / 254.1 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2656/0.2656, allocations: 46.93 MB / 357.1 MB, free: 10.32 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 63.91 kB / 0.4914 GB, free: 7.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1435, allocations: 66 MB / 0.5559 GB, free: 5.34 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003519/0.147, allocations: 1.796 MB / 0.5576 GB, free: 3.527 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.1485, allocations: 0.8489 MB / 0.5585 GB, free: 2.676 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.658e-05/0.1486, allocations: 0 / 0.5585 GB, free: 2.676 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002699/0.1488, allocations: 47.73 kB / 0.5585 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002879/0.1491, allocations: 71.66 kB / 0.5586 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.1494, allocations: 71.73 kB / 0.5586 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.1496, allocations: 155.3 kB / 0.5588 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5e-05/0.1497, allocations: 8.875 kB / 0.5588 GB, free: 2.328 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.1498, allocations: 75.62 kB / 0.5589 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.15, allocations: 75.67 kB / 0.5589 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.15, allocations: 8 kB / 0.5589 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000288/0.1503, allocations: 163.8 kB / 0.5591 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.442e-05/0.1504, allocations: 43.81 kB / 0.5591 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.873e-05/0.1504, allocations: 51.61 kB / 0.5592 GB, free: 1.918 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003355/0.1508, allocations: 211.1 kB / 0.5594 GB, free: 1.711 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1508, allocations: 4 kB / 0.5594 GB, free: 1.707 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1508, allocations: 0 / 0.5594 GB, free: 1.707 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1508, allocations: 0 / 0.5594 GB, free: 1.707 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.0007534/0.1515, allocations: 450.7 kB / 0.5598 GB, free: 1.219 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.1516, allocations: 8.031 kB / 0.5598 GB, free: 1.211 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.555e-05/0.1516, allocations: 16.84 kB / 0.5599 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.1519, allocations: 204.1 kB / 0.56 GB, free: 0.957 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.1519, allocations: 12.36 kB / 0.5601 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.1519, allocations: 12.11 kB / 0.5601 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003795/0.1523, allocations: 173.6 kB / 0.5602 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1523, allocations: 4 kB / 0.5602 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.1524, allocations: 7.984 kB / 0.5602 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.129e-05/0.1524, allocations: 15.98 kB / 0.5603 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003834/0.1528, allocations: 163.8 kB / 0.5604 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008643/0.1536, allocations: 488.2 kB / 0.5609 GB, free: 44 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004546/0.1541, allocations: 158.4 kB / 0.561 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.1543, allocations: 52.81 kB / 0.5611 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.033e-05/0.1543, allocations: 8 kB / 0.5611 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.1543, allocations: 30.56 kB / 0.5611 GB, free: 15.78 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.1543, allocations: 0 / 0.5611 GB, free: 15.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005996/0.1549, allocations: 201.3 kB / 0.5613 GB, free: 15.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.155, allocations: 55.41 kB / 0.5614 GB, free: 15.51 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.1552, allocations: 203.4 kB / 0.5616 GB, free: 15.29 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.1552, allocations: 29.7 kB / 0.5616 GB, free: 15.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.94e-05/0.1553, allocations: 112.1 kB / 0.5617 GB, free: 15.14 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.1553, allocations: 31.7 kB / 0.5617 GB, free: 15.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-05/0.1554, allocations: 29.7 kB / 0.5618 GB, free: 15.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.1556, allocations: 330.8 kB / 0.5621 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.1557, allocations: 51.89 kB / 0.5621 GB, free: 14.69 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.1559, allocations: 74.45 kB / 0.5622 GB, free: 14.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003156/0.1562, allocations: 130.4 kB / 0.5623 GB, free: 14.47 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1562, allocations: 8 kB / 0.5623 GB, free: 14.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004164/0.1566, allocations: 157.5 kB / 0.5625 GB, free: 14.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.1566, allocations: 5.875 kB / 0.5625 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1566, allocations: 0 / 0.5625 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.1567, allocations: 4 kB / 0.5625 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002907/0.1569, allocations: 43.97 kB / 0.5625 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000862/0.1578, allocations: 1.223 MB / 0.5637 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.1579, allocations: 24.38 kB / 0.5637 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.1579, allocations: 4 kB / 0.5637 GB, free: 12.96 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.0001815/0.1581, allocations: 140.1 kB / 0.5639 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.245e-05/0.1582, allocations: 19.89 kB / 0.5639 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004853/0.1587, allocations: 182.8 kB / 0.5641 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.1587, allocations: 0 / 0.5641 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1587, allocations: 0 / 0.5641 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.1587, allocations: 3.984 kB / 0.5641 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/0.159, allocations: 221.6 kB / 0.5643 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.159, allocations: 3.938 kB / 0.5643 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002433/0.1592, allocations: 43.97 kB / 0.5643 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1592, allocations: 4.094 kB / 0.5643 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.1592, allocations: 15.94 kB / 0.5644 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008654/0.1601, allocations: 1.219 MB / 0.5655 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1601, allocations: 0 / 0.5655 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004308/0.1605, allocations: 251.5 kB / 0.5658 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.089e-05/0.1606, allocations: 92.95 kB / 0.5659 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/0.1606, allocations: 11.88 kB / 0.5659 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.1608, allocations: 7.984 kB / 0.5659 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/0.1608, allocations: 7.984 kB / 0.5659 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.1608, allocations: 4 kB / 0.5659 GB, free: 10.6 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001541/0.161, allocations: 153.2 kB / 0.566 GB, free: 10.45 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.161, allocations: 4 kB / 0.5661 GB, free: 10.45 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000326/0.1613, allocations: 39.94 kB / 0.5661 GB, free: 10.41 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.00026/0.1616, allocations: 135.1 kB / 0.5662 GB, free: 10.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005228/0.1621, allocations: 143.8 kB / 0.5664 GB, free: 10.12 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1621, allocations: 0 / 0.5664 GB, free: 10.12 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000304/0.1624, allocations: 83.94 kB / 0.5664 GB, free: 10.04 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.1627, allocations: 36.17 kB / 0.5665 GB, free: 10.01 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000716/0.1634, allocations: 357.4 kB / 0.5668 GB, free: 9.641 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.1638, allocations: 0.7279 MB / 0.5675 GB, free: 8.887 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001007/0.1639, allocations: 29.06 kB / 0.5676 GB, free: 8.859 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.914e-05/0.164, allocations: 19.42 kB / 0.5676 GB, free: 8.84 MB / 430.1 MB Notification: Performance of SimCode: time 4.4e-07/0.164, allocations: 4 kB / 0.5676 GB, free: 8.836 MB / 430.1 MB Notification: Performance of Templates: time 0.006739/0.1707, allocations: 2.67 MB / 0.5702 GB, free: 6.215 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 5.384439785033464]