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_evenGapOverall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001146, allocations: 104.4 kB / 16.64 MB, free: 6.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 194.5 kB / 17.56 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.198/0.198, allocations: 43.52 MB / 314.3 MB, free: 0.7148 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 69.66 kB / 382.9 MB, free: 56.89 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0909/0.09255, allocations: 57.79 MB / 440.7 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall): time 0.003329/0.09591, allocations: 2.257 MB / 442.9 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002383/0.09833, allocations: 2.084 MB / 445 MB, free: 2.969 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001807/0.09853, allocations: 0 / 445 MB, free: 2.969 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003343/0.09888, allocations: 63.66 kB / 445.1 MB, free: 2.906 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002572/0.09918, allocations: 91.42 kB / 445.2 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.1004, allocations: 374.3 kB / 445.5 MB, free: 2.453 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005047/0.1009, allocations: 0.5016 MB / 446 MB, free: 1.949 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.8e-05/0.101, allocations: 68.92 kB / 446.1 MB, free: 1.879 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002492/0.1012, allocations: 179 kB / 446.3 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002355/0.1015, allocations: 210.9 kB / 446.5 MB, free: 1.496 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.56e-05/0.1015, allocations: 16 kB / 446.5 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008036/0.1024, allocations: 0.6395 MB / 447.2 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.1025, allocations: 107.5 kB / 447.3 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.1026, allocations: 198.7 kB / 447.4 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005899/0.1032, allocations: 0.522 MB / 448 MB, free: 16 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.1032, allocations: 7.984 kB / 448 MB, free: 8 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1033, allocations: 0 / 448 MB, free: 8 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.1033, allocations: 0 / 448 MB, free: 8 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.0015/0.1048, allocations: 0.8032 MB / 448.8 MB, free: 15.15 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.1048, allocations: 11.89 kB / 448.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.1049, allocations: 52.28 kB / 448.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003773/0.1053, allocations: 311.5 kB / 449.1 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.234e-05/0.1054, allocations: 37.38 kB / 449.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.768e-05/0.1054, allocations: 52.12 kB / 449.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.1065, allocations: 0.6962 MB / 449.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.1066, allocations: 0 / 449.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.178e-05/0.1066, allocations: 20 kB / 450 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.056e-05/0.1067, allocations: 24.98 kB / 450 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009315/0.1076, allocations: 499.8 kB / 450.5 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002206/0.1098, allocations: 1.507 MB / 452 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006184/0.1104, allocations: 323.6 kB / 452.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003334/0.1108, allocations: 154.4 kB / 452.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.098e-05/0.1109, allocations: 16.11 kB / 452.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.1109, allocations: 38.56 kB / 452.5 MB, free: 11.28 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 2.155e-06/0.1109, allocations: 0 / 452.5 MB, free: 11.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.001266/0.1122, allocations: 0.5165 MB / 453 MB, free: 10.76 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.333e-05/0.1123, allocations: 106.8 kB / 453.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006399/0.1129, allocations: 0.5643 MB / 453.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.1129, allocations: 25.7 kB / 453.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.1131, allocations: 232.1 kB / 453.9 MB, free: 9.789 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.807e-05/0.1132, allocations: 78.91 kB / 454 MB, free: 9.711 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.1134, allocations: 77.59 kB / 454.1 MB, free: 9.629 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.1135, allocations: 362.8 kB / 454.4 MB, free: 9.266 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003652/0.1139, allocations: 151.8 kB / 454.6 MB, free: 9.117 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000421/0.1143, allocations: 249.9 kB / 454.8 MB, free: 8.828 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008023/0.1151, allocations: 437.5 kB / 455.3 MB, free: 8.355 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.1152, allocations: 0 / 455.3 MB, free: 8.355 MB / 334.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001002/0.1162, allocations: 480.4 kB / 455.7 MB, free: 7.879 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.1162, allocations: 12.56 kB / 455.7 MB, free: 7.867 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.74e-05/0.1163, allocations: 43.98 kB / 455.8 MB, free: 7.824 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.1163, allocations: 4.438 kB / 455.8 MB, free: 7.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/0.1166, allocations: 43.89 kB / 455.8 MB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.1166, allocations: 7.938 kB / 455.8 MB, free: 7.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003242/0.1169, allocations: 63.36 kB / 455.9 MB, free: 7.707 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.893e-05/0.117, allocations: 23.98 kB / 455.9 MB, free: 7.684 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,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 (30): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0002431/0.1172, allocations: 213.6 kB / 456.1 MB, free: 7.465 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.1174, allocations: 55.36 kB / 456.2 MB, free: 7.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009209/0.1183, allocations: 457.4 kB / 456.6 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.1183, allocations: 8 kB / 456.6 MB, free: 6.949 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1183, allocations: 0 / 456.6 MB, free: 6.949 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1183, allocations: 3.938 kB / 456.6 MB, free: 6.945 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006425/0.119, allocations: 413.2 kB / 457 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.584e-05/0.1191, allocations: 39.98 kB / 457.1 MB, free: 6.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.1192, allocations: 31.91 kB / 457.1 MB, free: 6.422 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1192, allocations: 0 / 457.1 MB, free: 6.422 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.419e-05/0.1193, allocations: 16 kB / 457.1 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.1193, allocations: 4 kB / 457.1 MB, free: 6.402 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1193, allocations: 0 / 457.1 MB, free: 6.402 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009195/0.1202, allocations: 0.6207 MB / 457.8 MB, free: 5.766 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.1204, allocations: 140.4 kB / 457.9 MB, free: 5.609 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.935e-05/0.1204, allocations: 0 / 457.9 MB, free: 5.609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003026/0.1207, allocations: 19.98 kB / 457.9 MB, free: 5.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.421e-05/0.1208, allocations: 35.84 kB / 457.9 MB, free: 5.555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/0.1209, allocations: 12 kB / 458 MB, free: 5.543 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004477/0.1213, allocations: 414.8 kB / 458.4 MB, free: 5.141 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1213, allocations: 0 / 458.4 MB, free: 5.141 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006587/0.122, allocations: 167.8 kB / 458.5 MB, free: 4.977 MB / 334.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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0004796/0.1225, allocations: 231 kB / 458.8 MB, free: 4.738 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.1236, allocations: 0.6913 MB / 459.4 MB, free: 3.973 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1236, allocations: 0 / 459.4 MB, free: 3.973 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005594/0.1242, allocations: 493.2 kB / 459.9 MB, free: 3.418 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007521/0.1249, allocations: 105.3 kB / 460 MB, free: 3.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/0.1269, allocations: 1.079 MB / 461.1 MB, free: 2.199 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005402/0.1274, allocations: 0.8779 MB / 462 MB, free: 1.297 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.107e-05/0.1275, allocations: 31.44 kB / 462 MB, free: 1.266 MB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1275, allocations: 0 / 462 MB, free: 1.266 MB / 334.1 MB Notification: Performance of Templates: time 0.01412/0.1416, allocations: 8.768 MB / 470.8 MB, free: 8.504 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_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_evenGapOverall/kc_evenGapOverall.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches