Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00112/0.00112, allocations: 115.1 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001305/0.001305, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 246.4 MB, free: 10.83 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2356/0.2356, allocations: 46.1 MB / 343.8 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 71.55 kB / 417.2 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1085, allocations: 62.44 MB / 479.6 MB, free: 5.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC): time 0.003836/0.1124, allocations: 2.218 MB / 481.8 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002948/0.1154, allocations: 1.826 MB / 483.7 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.1156, allocations: 4 kB / 483.7 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000357/0.1159, allocations: 71.62 kB / 483.7 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005323/0.1165, allocations: 127.4 kB / 483.9 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.1175, allocations: 318.3 kB / 484.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005649/0.1181, allocations: 473.8 kB / 484.6 MB, free: 500 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.927e-05/0.1182, allocations: 57.06 kB / 484.7 MB, free: 440 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003446/0.1186, allocations: 187 kB / 484.9 MB, free: 252 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003348/0.1189, allocations: 246.8 kB / 485.1 MB, free: 4 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.979e-05/0.119, allocations: 12.05 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009227/0.1199, allocations: 0.5693 MB / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001852/0.1201, allocations: 107.5 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002642/0.1204, allocations: 190.6 kB / 486 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.1216, allocations: 0.7398 MB / 486.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1216, allocations: 0 / 486.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1216, allocations: 0 / 486.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.511e-05/0.1216, allocations: 0 / 486.7 MB, free: 14.39 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001408/0.123, allocations: 0.7721 MB / 487.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.1231, allocations: 12.03 kB / 487.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001264/0.1232, allocations: 98.69 kB / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.1233, allocations: 56.22 kB / 487.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004325/0.1238, allocations: 310.9 kB / 488 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.428e-05/0.1238, allocations: 48.97 kB / 488 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.655e-05/0.1239, allocations: 43.94 kB / 488 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.125, allocations: 0.707 MB / 488.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.1251, allocations: 7.922 kB / 488.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.47e-05/0.1251, allocations: 20 kB / 488.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.668e-05/0.1252, allocations: 49.28 kB / 488.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.1264, allocations: 0.7467 MB / 489.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002278/0.1287, allocations: 1.434 MB / 491 MB, free: 9.934 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007722/0.1295, allocations: 454.2 kB / 491.5 MB, free: 9.484 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002873/0.1298, allocations: 157.2 kB / 491.6 MB, free: 9.328 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.494e-05/0.1299, allocations: 12.2 kB / 491.6 MB, free: 9.316 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.1299, allocations: 38.8 kB / 491.7 MB, free: 9.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 2.054e-06/0.1299, allocations: 0 / 491.7 MB, free: 9.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.001118/0.131, allocations: 0.5429 MB / 492.2 MB, free: 8.723 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.1311, allocations: 55.41 kB / 492.3 MB, free: 8.656 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005543/0.1316, allocations: 0.5367 MB / 492.8 MB, free: 8.117 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/0.1317, allocations: 25.7 kB / 492.8 MB, free: 8.086 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.1318, allocations: 248.1 kB / 493.1 MB, free: 7.836 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.96e-05/0.132, allocations: 90.66 kB / 493.1 MB, free: 7.746 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.1321, allocations: 106 kB / 493.3 MB, free: 7.633 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1322, allocations: 354.7 kB / 493.6 MB, free: 7.277 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003245/0.1326, allocations: 168.6 kB / 493.8 MB, free: 7.113 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003857/0.133, allocations: 297.6 kB / 494.1 MB, free: 6.766 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007496/0.1337, allocations: 496.6 kB / 494.5 MB, free: 6.223 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.1337, allocations: 4 kB / 494.5 MB, free: 6.219 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009541/0.1347, allocations: 0.5398 MB / 495.1 MB, free: 5.672 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.1347, allocations: 4 kB / 495.1 MB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.1347, allocations: 8 kB / 495.1 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.1348, allocations: 4 kB / 495.1 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009857/0.1358, allocations: 219.8 kB / 495.3 MB, free: 5.441 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003625/0.1394, allocations: 7.314 MB / 0.4908 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000359/0.1398, allocations: 63.2 kB / 0.4909 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.742e-05/0.1398, allocations: 28 kB / 0.4909 GB, free: 13.76 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (46): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000311/0.1401, allocations: 233.6 kB / 0.4912 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.621e-05/0.1402, allocations: 43.44 kB / 0.4912 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.1413, allocations: 0.5447 MB / 0.4917 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1413, allocations: 0 / 0.4917 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1413, allocations: 4 kB / 0.4917 GB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.1413, allocations: 3.984 kB / 0.4917 GB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005475/0.1419, allocations: 429.1 kB / 0.4921 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1419, allocations: 8 kB / 0.4922 GB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008698/0.1428, allocations: 199.9 kB / 0.4923 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.1428, allocations: 112 / 0.4923 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.463e-05/0.1428, allocations: 23.86 kB / 0.4924 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003857/0.1467, allocations: 7.294 MB / 0.4995 GB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1467, allocations: 0 / 0.4995 GB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008042/0.1475, allocations: 0.5114 MB / 0.5 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/0.1477, allocations: 120.6 kB / 0.5001 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.207e-05/0.1478, allocations: 11.98 kB / 0.5001 GB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.1481, allocations: 8.094 kB / 0.5001 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.792e-05/0.1482, allocations: 31.91 kB / 0.5002 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-05/0.1482, allocations: 15.98 kB / 0.5002 GB, free: 3.918 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004787/0.1487, allocations: 387 kB / 0.5005 GB, free: 3.539 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1487, allocations: 0 / 0.5005 GB, free: 3.539 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006933/0.1494, allocations: 171.8 kB / 0.5007 GB, free: 3.371 MB / 382.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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001561/0.151, allocations: 1.161 MB / 0.5018 GB, free: 2.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001625/0.1526, allocations: 0.6024 MB / 0.5024 GB, free: 1.578 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1526, allocations: 4 kB / 0.5024 GB, free: 1.574 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009818/0.1536, allocations: 348.1 kB / 0.5028 GB, free: 1.234 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005237/0.1542, allocations: 101.8 kB / 0.5029 GB, free: 1.137 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1995/0.3537, allocations: 5.55 MB / 0.5083 GB, free: 41.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004387/0.3542, allocations: 0.903 MB / 0.5092 GB, free: 40.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004554/0.3547, allocations: 141.9 kB / 0.5093 GB, free: 40.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.3549, allocations: 139.6 kB / 0.5094 GB, free: 40.65 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3549, allocations: 0 / 0.5094 GB, free: 40.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03403/0.3889, allocations: 14.49 MB / 0.5236 GB, free: 36.27 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/0.3892, allocations: 283.8 kB / 0.5238 GB, free: 35.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.287/2.676, allocations: 0 / 0.5238 GB, free: 35.89 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapOverall_KC/kc_evenGapOverall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches