Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01912/0.01913, allocations: 107.1 kB / 15.06 MB, free: 5.551 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.002015/0.002015, allocations: 177.6 kB / 15.95 MB, free: 5.516 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.417/2.417, allocations: 194.6 MB / 211.3 MB, free: 11 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2769/0.2769, allocations: 40.04 MB / 296.5 MB, free: 6.293 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004875/0.0004875, allocations: 8 kB / 361.2 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1181, allocations: 54.88 MB / 416 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.002781/0.1209, allocations: 1.548 MB / 417.6 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002236/0.1232, allocations: 1.03 MB / 418.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.1233, allocations: 0 / 418.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000307/0.1236, allocations: 55.72 kB / 418.7 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000265/0.1239, allocations: 71.78 kB / 418.7 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005734/0.1245, allocations: 139.6 kB / 418.9 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005257/0.1251, allocations: 319.3 kB / 419.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.1252, allocations: 49.03 kB / 419.2 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.1254, allocations: 139.3 kB / 419.4 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000259/0.1257, allocations: 155.3 kB / 419.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.321e-05/0.1257, allocations: 8 kB / 419.5 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006564/0.1264, allocations: 271.6 kB / 419.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.1266, allocations: 95.64 kB / 419.9 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.1267, allocations: 85.52 kB / 420 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006583/0.1274, allocations: 363.3 kB / 420.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.1274, allocations: 0 / 420.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1274, allocations: 0 / 420.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1274, allocations: 0 / 420.3 MB, free: 14.23 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001224/0.1286, allocations: 0.6435 MB / 421 MB, free: 13.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.1287, allocations: 12.03 kB / 421 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001628/0.1289, allocations: 94.52 kB / 421.1 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.129, allocations: 51.44 kB / 421.1 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005242/0.1295, allocations: 286.4 kB / 421.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.022e-05/0.1296, allocations: 41.3 kB / 421.4 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.1297, allocations: 51.94 kB / 421.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.1313, allocations: 0.6271 MB / 422.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.1313, allocations: 3.938 kB / 422.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.862e-05/0.1314, allocations: 23.98 kB / 422.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.059e-05/0.1315, allocations: 37.3 kB / 422.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.1329, allocations: 0.5008 MB / 422.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003943/0.1368, allocations: 1.422 MB / 424.1 MB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/0.1385, allocations: 458.2 kB / 424.6 MB, free: 9.828 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.426e-05/0.1386, allocations: 11.94 kB / 424.6 MB, free: 9.816 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.1386, allocations: 42.56 kB / 424.6 MB, free: 9.766 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 3.567e-06/0.1386, allocations: 0 / 424.6 MB, free: 9.766 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.001628/0.1403, allocations: 497.1 kB / 425.1 MB, free: 9.273 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.1403, allocations: 55.41 kB / 425.2 MB, free: 9.207 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009899/0.1413, allocations: 0.5523 MB / 425.7 MB, free: 8.645 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.185e-05/0.1414, allocations: 25.7 kB / 425.7 MB, free: 8.613 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/0.1417, allocations: 232.1 kB / 426 MB, free: 8.379 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.1418, allocations: 82.81 kB / 426 MB, free: 8.297 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/0.1418, allocations: 4 kB / 426 MB, free: 8.293 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.142, allocations: 358.8 kB / 426.4 MB, free: 7.934 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004865/0.1425, allocations: 156 kB / 426.5 MB, free: 7.777 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005879/0.1431, allocations: 256.7 kB / 426.8 MB, free: 7.484 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005803/0.1437, allocations: 185.2 kB / 427 MB, free: 7.305 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.1438, allocations: 0 / 427 MB, free: 7.305 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001797/0.1456, allocations: 0.5026 MB / 427.5 MB, free: 6.797 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/0.1456, allocations: 7.938 kB / 427.5 MB, free: 6.789 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001842/0.1458, allocations: 43.95 kB / 427.5 MB, free: 6.746 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.835e-05/0.1459, allocations: 4 kB / 427.5 MB, free: 6.742 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000461/0.1464, allocations: 35.92 kB / 427.6 MB, free: 6.707 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.96e-05/0.1464, allocations: 7.938 kB / 427.6 MB, free: 6.699 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006715/0.1471, allocations: 63.3 kB / 427.6 MB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.1472, allocations: 20 kB / 427.7 MB, free: 6.617 MB / 362.7 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (41): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006417/0.1479, allocations: 226.8 kB / 427.9 MB, free: 6.387 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/0.1481, allocations: 43.44 kB / 427.9 MB, free: 6.344 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00227/0.1503, allocations: 0.5441 MB / 428.5 MB, free: 5.793 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-05/0.1504, allocations: 4 kB / 428.5 MB, free: 5.789 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.1504, allocations: 3.938 kB / 428.5 MB, free: 5.785 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.1504, allocations: 0 / 428.5 MB, free: 5.785 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/0.1518, allocations: 437.1 kB / 428.9 MB, free: 5.309 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001594/0.152, allocations: 39.97 kB / 428.9 MB, free: 5.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003885/0.1524, allocations: 23.98 kB / 429 MB, free: 5.246 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-06/0.1524, allocations: 0 / 429 MB, free: 5.246 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-05/0.1525, allocations: 15.98 kB / 429 MB, free: 5.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.083e-05/0.1525, allocations: 4 kB / 429 MB, free: 5.227 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1526, allocations: 0 / 429 MB, free: 5.227 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002616/0.1552, allocations: 0.7068 MB / 429.7 MB, free: 4.504 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002938/0.1555, allocations: 128.6 kB / 429.8 MB, free: 4.359 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001781/0.1557, allocations: 11.98 kB / 429.8 MB, free: 4.348 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005228/0.1563, allocations: 4 kB / 429.8 MB, free: 4.344 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.1564, allocations: 27.97 kB / 429.9 MB, free: 4.316 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.329e-05/0.1566, allocations: 12 kB / 429.9 MB, free: 4.305 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001128/0.1577, allocations: 399 kB / 430.3 MB, free: 3.918 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.1577, allocations: 0 / 430.3 MB, free: 3.918 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001319/0.1591, allocations: 147.8 kB / 430.4 MB, free: 3.773 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dimlesslength) * 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: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003532/0.1626, allocations: 1.314 MB / 431.7 MB, free: 2.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001847/0.1645, allocations: 0.6681 MB / 432.4 MB, free: 1.688 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.1646, allocations: 0 / 432.4 MB, free: 1.688 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000939/0.1655, allocations: 492.2 kB / 432.9 MB, free: 1.133 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009544/0.1665, allocations: 86.61 kB / 432.9 MB, free: 1.051 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01211/0.1787, allocations: 5.245 MB / 438.2 MB, free: 11.69 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008624/0.1796, allocations: 0.8938 MB / 439.1 MB, free: 10.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006791/0.1803, allocations: 116.2 kB / 439.2 MB, free: 10.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004089/0.1807, allocations: 143.4 kB / 439.3 MB, free: 10.52 MB / 378.7 MB Notification: Performance of SimCode: time 1.393e-06/0.1808, allocations: 0 / 439.3 MB, free: 10.52 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3846/0.5654, allocations: 11.65 MB / 451 MB, free: 58.73 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002378/0.5657, allocations: 224.6 kB / 451.2 MB, free: 58.5 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.124/3.69, allocations: 0 / 451.2 MB, free: 58.5 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat does not exist to compare? outputFormat=mat