Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.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,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001447/0.001447, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00169/0.00169, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2182/0.2182, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 77.56 kB / 417.7 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1101, allocations: 62.44 MB / 480.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall): time 0.003599/0.1138, allocations: 2.227 MB / 482.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002893/0.1167, allocations: 2.153 MB / 484.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.1169, allocations: 0 / 484.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002908/0.1172, allocations: 75.52 kB / 484.6 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002142/0.1174, allocations: 99.3 kB / 484.7 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.1185, allocations: 445.7 kB / 485.1 MB, free: 132 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005093/0.1191, allocations: 0.5054 MB / 485.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.707e-05/0.1192, allocations: 61.05 kB / 485.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002523/0.1194, allocations: 175 kB / 485.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/0.1196, allocations: 214.9 kB / 486.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.117e-05/0.1197, allocations: 12 kB / 486.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009698/0.1207, allocations: 0.6629 MB / 486.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.1208, allocations: 111.4 kB / 486.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001853/0.121, allocations: 186.7 kB / 487 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009923/0.122, allocations: 0.8022 MB / 487.9 MB, free: 13.4 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.122, allocations: 8 kB / 487.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.122, allocations: 0 / 487.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.122, allocations: 0 / 487.9 MB, free: 13.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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001261/0.1233, allocations: 0.8032 MB / 488.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.1234, allocations: 15.97 kB / 488.7 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.913e-05/0.1235, allocations: 94.7 kB / 488.8 MB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003854/0.1239, allocations: 84.33 kB / 488.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000356/0.1242, allocations: 316.2 kB / 489.2 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/0.1243, allocations: 37.38 kB / 489.2 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.188e-05/0.1243, allocations: 51.94 kB / 489.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.1254, allocations: 0.6962 MB / 489.9 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.1254, allocations: 3.938 kB / 489.9 MB, free: 11.19 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.067e-05/0.1254, allocations: 23.94 kB / 490 MB, free: 11.17 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.434e-05/0.1255, allocations: 24.98 kB / 490 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008552/0.1263, allocations: 499.9 kB / 490.5 MB, free: 10.65 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002008/0.1284, allocations: 1.503 MB / 492 MB, free: 9.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006309/0.129, allocations: 319.6 kB / 492.3 MB, free: 8.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003425/0.1294, allocations: 154.5 kB / 492.5 MB, free: 8.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.319e-05/0.1294, allocations: 24.08 kB / 492.5 MB, free: 8.566 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.1295, allocations: 34.56 kB / 492.5 MB, free: 8.523 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 3.557e-06/0.1295, allocations: 0 / 492.5 MB, free: 8.523 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.001263/0.1307, allocations: 0.5203 MB / 493 MB, free: 7.996 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/0.1308, allocations: 106.8 kB / 493.1 MB, free: 7.867 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000599/0.1314, allocations: 0.5643 MB / 493.7 MB, free: 7.293 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.1315, allocations: 25.7 kB / 493.7 MB, free: 7.262 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.1316, allocations: 240.1 kB / 494 MB, free: 7.023 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.88e-05/0.1317, allocations: 74.91 kB / 494 MB, free: 6.949 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.1318, allocations: 77.69 kB / 494.1 MB, free: 6.867 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.132, allocations: 362.8 kB / 494.5 MB, free: 6.504 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000339/0.1323, allocations: 147.8 kB / 494.6 MB, free: 6.359 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004038/0.1327, allocations: 256.4 kB / 494.9 MB, free: 6.062 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007948/0.1335, allocations: 431.9 kB / 495.3 MB, free: 5.598 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1336, allocations: 0 / 495.3 MB, free: 5.598 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000994/0.1346, allocations: 488.3 kB / 495.8 MB, free: 5.113 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.805e-05/0.1346, allocations: 11.94 kB / 495.8 MB, free: 5.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-05/0.1347, allocations: 40.42 kB / 495.8 MB, free: 5.062 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.1347, allocations: 12 kB / 495.8 MB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.1349, allocations: 35.89 kB / 495.9 MB, free: 5.016 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.135, allocations: 4 kB / 495.9 MB, free: 5.012 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002924/0.1353, allocations: 59.42 kB / 495.9 MB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.972e-05/0.1353, allocations: 23.98 kB / 495.9 MB, free: 4.93 MB / 366.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.000263/0.1356, allocations: 217.6 kB / 496.2 MB, free: 4.707 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.1357, allocations: 51.36 kB / 496.2 MB, free: 4.656 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009165/0.1366, allocations: 469.3 kB / 496.7 MB, free: 4.188 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.1366, allocations: 8 kB / 496.7 MB, free: 4.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1367, allocations: 0 / 496.7 MB, free: 4.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.1367, allocations: 3.938 kB / 496.7 MB, free: 4.176 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000583/0.1373, allocations: 409.2 kB / 497.1 MB, free: 3.727 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.334e-05/0.1373, allocations: 43.98 kB / 497.1 MB, free: 3.684 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.1375, allocations: 27.97 kB / 497.1 MB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1375, allocations: 0 / 497.1 MB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.1375, allocations: 12 kB / 497.2 MB, free: 3.645 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.1375, allocations: 4 kB / 497.2 MB, free: 3.641 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.1376, allocations: 7.938 kB / 497.2 MB, free: 3.633 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009048/0.1385, allocations: 0.6226 MB / 497.8 MB, free: 2.992 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.1386, allocations: 128.5 kB / 497.9 MB, free: 2.848 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.739e-05/0.1387, allocations: 4 kB / 497.9 MB, free: 2.844 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000281/0.139, allocations: 15.98 kB / 497.9 MB, free: 2.828 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.1391, allocations: 39.84 kB / 498 MB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.428e-05/0.1391, allocations: 8 kB / 498 MB, free: 2.781 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004356/0.1396, allocations: 414.8 kB / 498.4 MB, free: 2.379 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1396, allocations: 0 / 498.4 MB, free: 2.379 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007293/0.1403, allocations: 179.8 kB / 498.6 MB, free: 2.203 MB / 366.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.001617/0.1419, allocations: 1.296 MB / 499.9 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.143, allocations: 0.695 MB / 0.4888 GB, free: 112 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1431, allocations: 4 kB / 0.4888 GB, free: 108 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005848/0.1437, allocations: 493.2 kB / 0.4893 GB, free: 15.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006957/0.1444, allocations: 93.34 kB / 0.4894 GB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007358/0.1517, allocations: 5.546 MB / 0.4948 GB, free: 9.738 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/0.1522, allocations: 0.8857 MB / 0.4957 GB, free: 8.824 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002076/0.1524, allocations: 79.34 kB / 0.4957 GB, free: 8.746 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.1526, allocations: 131.4 kB / 0.4959 GB, free: 8.621 MB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1526, allocations: 0 / 0.4959 GB, free: 8.621 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2224/0.3751, allocations: 14.07 MB / 0.5096 GB, free: 41.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.186/8.561, allocations: 12.33 kB / 0.5096 GB, free: 41.92 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapOverall/kc_evenGapOverall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches