Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001905/0.001905, 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.00154/0.00154, 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.46/1.46, allocations: 207.7 MB / 234.6 MB, free: 9.809 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.22/0.22, allocations: 44.26 MB / 331.1 MB, free: 9.309 MB / 270.1 MB " [Timeout remaining time 180] 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.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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") [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.002688/0.002688, allocations: 71.89 kB / 468.8 MB, free: 3.816 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1266, allocations: 61.04 MB / 0.5174 GB, free: 6.648 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003304/0.1299, allocations: 1.763 MB / 0.5191 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.1314, allocations: 0.7682 MB / 0.5199 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.62e-05/0.1314, allocations: 0 / 0.5199 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002722/0.1317, allocations: 39.75 kB / 0.5199 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002757/0.132, allocations: 71.64 kB / 0.52 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.1322, allocations: 79.73 kB / 0.5201 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.1325, allocations: 147.3 kB / 0.5202 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.118e-05/0.1325, allocations: 9.297 kB / 0.5202 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.1326, allocations: 67.7 kB / 0.5203 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.1328, allocations: 79.66 kB / 0.5203 GB, free: 3.605 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.1328, allocations: 4 kB / 0.5203 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001675/0.133, allocations: 59.91 kB / 0.5204 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.921e-05/0.1331, allocations: 47.77 kB / 0.5205 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.785e-05/0.1331, allocations: 43.73 kB / 0.5205 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003013/0.1334, allocations: 171.2 kB / 0.5207 GB, free: 3.285 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1334, allocations: 0 / 0.5207 GB, free: 3.285 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1334, allocations: 0 / 0.5207 GB, free: 3.285 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.1334, allocations: 0 / 0.5207 GB, free: 3.285 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007046/0.1341, allocations: 377.6 kB / 0.521 GB, free: 2.887 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.1342, allocations: 8.031 kB / 0.521 GB, free: 2.879 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.602e-05/0.1342, allocations: 16.84 kB / 0.521 GB, free: 2.863 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.1345, allocations: 150.3 kB / 0.5212 GB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.1345, allocations: 12.36 kB / 0.5212 GB, free: 2.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.1345, allocations: 16.11 kB / 0.5212 GB, free: 2.664 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003498/0.1349, allocations: 170.4 kB / 0.5214 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.1349, allocations: 0 / 0.5214 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.1349, allocations: 3.984 kB / 0.5214 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.568e-05/0.1349, allocations: 23.94 kB / 0.5214 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003483/0.1353, allocations: 159.8 kB / 0.5216 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007363/0.136, allocations: 392.1 kB / 0.5219 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003151/0.1363, allocations: 150.3 kB / 0.5221 GB, free: 1.738 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.1365, allocations: 52.86 kB / 0.5221 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.1365, allocations: 4 kB / 0.5221 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.1365, allocations: 30.56 kB / 0.5222 GB, free: 1.641 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.1365, allocations: 0 / 0.5222 GB, free: 1.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005479/0.1371, allocations: 201.4 kB / 0.5223 GB, free: 1.438 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.1371, allocations: 51.41 kB / 0.5224 GB, free: 1.375 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.1373, allocations: 146.1 kB / 0.5225 GB, free: 1.219 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.1373, allocations: 25.7 kB / 0.5226 GB, free: 1.188 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.642e-05/0.1374, allocations: 119.9 kB / 0.5227 GB, free: 1.066 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.772e-05/0.1374, allocations: 35.67 kB / 0.5227 GB, free: 1.031 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.919e-05/0.1375, allocations: 33.7 kB / 0.5227 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1376, allocations: 314.8 kB / 0.523 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.1377, allocations: 55.88 kB / 0.5231 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.1379, allocations: 74.52 kB / 0.5232 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002964/0.1382, allocations: 126.4 kB / 0.5233 GB, free: 416 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1382, allocations: 3.938 kB / 0.5233 GB, free: 412 kB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003565/0.1385, allocations: 157.5 kB / 0.5234 GB, free: 248 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.1386, allocations: 13 kB / 0.5235 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1386, allocations: 3.984 kB / 0.5235 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1386, allocations: 0 / 0.5235 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002909/0.1389, allocations: 47.92 kB / 0.5235 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008238/0.1397, allocations: 1.223 MB / 0.5247 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.1398, allocations: 20.34 kB / 0.5247 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.1398, allocations: 7.938 kB / 0.5247 GB, free: 14.88 MB / 414.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.0002127/0.14, allocations: 130 kB / 0.5248 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.1401, allocations: 15.88 kB / 0.5249 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004304/0.1405, allocations: 182.2 kB / 0.525 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1405, allocations: 0 / 0.525 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1405, allocations: 0 / 0.525 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1405, allocations: 0 / 0.525 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.1407, allocations: 157.3 kB / 0.5252 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.1407, allocations: 0 / 0.5252 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.141, allocations: 43.97 kB / 0.5252 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.141, allocations: 4.094 kB / 0.5252 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.141, allocations: 19.88 kB / 0.5252 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007466/0.1417, allocations: 1.215 MB / 0.5264 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.1417, allocations: 3.938 kB / 0.5264 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004021/0.1421, allocations: 247.3 kB / 0.5267 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.267e-05/0.1422, allocations: 7.953 kB / 0.5267 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.1422, allocations: 12.12 kB / 0.5267 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.1423, allocations: 7.984 kB / 0.5267 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.563e-05/0.1424, allocations: 11.92 kB / 0.5267 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.1424, allocations: 0 / 0.5267 GB, free: 12.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.457e-05/0.1425, allocations: 113.8 kB / 0.5268 GB, free: 12.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1425, allocations: 0 / 0.5268 GB, free: 12.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003181/0.1428, allocations: 47.83 kB / 0.5269 GB, free: 12.58 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 (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.0002535/0.143, allocations: 143.1 kB / 0.527 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000496/0.1435, allocations: 139.8 kB / 0.5271 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1435, allocations: 0 / 0.5271 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002765/0.1438, allocations: 88.05 kB / 0.5272 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.1441, allocations: 15.98 kB / 0.5272 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007093/0.1448, allocations: 366.2 kB / 0.5276 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.1449, allocations: 121.7 kB / 0.5277 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.097e-05/0.145, allocations: 19.42 kB / 0.5277 GB, free: 11.64 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.145, allocations: 0 / 0.5277 GB, free: 11.64 MB / 414.1 MB Notification: Performance of Templates: time 0.005849/0.1508, allocations: 3.294 MB / 0.5309 GB, free: 8.352 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent_KC/kc_evenGapTurbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.359566384926438]