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.General.kc_approxForcedConvection_KC.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.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",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.01162/0.01162, allocations: 106.3 kB / 15.06 MB, free: 5.555 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.002147/0.002147, allocations: 180.6 kB / 15.95 MB, free: 5.52 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.052/2.052, allocations: 194.5 MB / 211.3 MB, free: 10.95 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.2844/0.2844, allocations: 40.04 MB / 296.5 MB, free: 6.246 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005025/0.0005026, allocations: 12 kB / 361.2 MB, free: 9.516 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.116, allocations: 54.88 MB / 416 MB, free: 2.527 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.0033/0.1193, allocations: 1.605 MB / 417.6 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002041/0.1214, allocations: 0.7457 MB / 418.4 MB, free: 152 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.1216, allocations: 0 / 418.4 MB, free: 152 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003444/0.1219, allocations: 59.7 kB / 418.5 MB, free: 92 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003633/0.1223, allocations: 79.78 kB / 418.5 MB, free: 12 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.1226, allocations: 67.88 kB / 418.6 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000346/0.123, allocations: 187.5 kB / 418.8 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.405e-05/0.1231, allocations: 32.38 kB / 418.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.1233, allocations: 91.62 kB / 418.9 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/0.1236, allocations: 111.5 kB / 419 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.936e-05/0.1236, allocations: 8 kB / 419 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004339/0.1241, allocations: 119.8 kB / 419.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001448/0.1242, allocations: 59.81 kB / 419.2 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.1244, allocations: 61.58 kB / 419.3 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004622/0.1248, allocations: 227.6 kB / 419.5 MB, free: 15.06 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.1249, allocations: 0 / 419.5 MB, free: 15.06 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1249, allocations: 0 / 419.5 MB, free: 15.06 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1249, allocations: 0 / 419.5 MB, free: 15.06 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001165/0.1261, allocations: 0.5222 MB / 420 MB, free: 14.49 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.1261, allocations: 12.03 kB / 420 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001113/0.1262, allocations: 62.53 kB / 420.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.187e-05/0.1263, allocations: 27.72 kB / 420.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003818/0.1267, allocations: 243.2 kB / 420.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.1268, allocations: 16.55 kB / 420.4 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.336e-05/0.1269, allocations: 27.95 kB / 420.4 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.1279, allocations: 401.2 kB / 420.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.1279, allocations: 0 / 420.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.507e-05/0.128, allocations: 7.984 kB / 420.8 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-05/0.1281, allocations: 32.64 kB / 420.8 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.1293, allocations: 418.3 kB / 421.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002195/0.1316, allocations: 0.8852 MB / 422.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.1327, allocations: 298.3 kB / 422.4 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.787e-05/0.1327, allocations: 12.06 kB / 422.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.1328, allocations: 42.5 kB / 422.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 2.635e-06/0.1328, allocations: 0 / 422.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.001377/0.1342, allocations: 377.2 kB / 422.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.1342, allocations: 51.41 kB / 422.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005749/0.1348, allocations: 347.3 kB / 423.2 MB, free: 11.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.776e-05/0.1349, allocations: 29.7 kB / 423.2 MB, free: 11.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.135, allocations: 164.1 kB / 423.4 MB, free: 10.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.934e-05/0.1351, allocations: 55.19 kB / 423.4 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.398e-05/0.1352, allocations: 4 kB / 423.5 MB, free: 10.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1353, allocations: 342.8 kB / 423.8 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003828/0.1357, allocations: 100.3 kB / 423.9 MB, free: 10.42 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004623/0.1362, allocations: 157.3 kB / 424 MB, free: 10.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006059/0.1368, allocations: 120.4 kB / 424.2 MB, free: 10.13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.1369, allocations: 0 / 424.2 MB, free: 10.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001087/0.1379, allocations: 328.9 kB / 424.5 MB, free: 9.805 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.138, allocations: 4 kB / 424.5 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.138, allocations: 7.984 kB / 424.5 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.1381, allocations: 192 / 424.5 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.1391, allocations: 119.8 kB / 424.6 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002918/0.1421, allocations: 3.707 MB / 428.3 MB, free: 5.828 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004081/0.1425, allocations: 31.67 kB / 428.3 MB, free: 5.797 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.395e-05/0.1426, allocations: 12 kB / 428.4 MB, free: 5.785 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003144/0.1429, allocations: 169.7 kB / 428.5 MB, free: 5.609 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.918e-05/0.143, allocations: 31.56 kB / 428.6 MB, free: 5.578 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/0.1443, allocations: 355.5 kB / 428.9 MB, free: 5.227 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.1444, allocations: 0 / 428.9 MB, free: 5.227 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.1444, allocations: 3.953 kB / 428.9 MB, free: 5.223 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.1444, allocations: 0 / 428.9 MB, free: 5.223 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006216/0.145, allocations: 309.4 kB / 429.2 MB, free: 4.871 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.1451, allocations: 0 / 429.2 MB, free: 4.871 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.1461, allocations: 115.8 kB / 429.3 MB, free: 4.758 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.1461, allocations: 0 / 429.3 MB, free: 4.758 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.365e-05/0.1462, allocations: 4 kB / 429.3 MB, free: 4.754 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002881/0.1491, allocations: 3.704 MB / 433 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.1491, allocations: 3.953 kB / 433 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.1505, allocations: 387.5 kB / 433.4 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001731/0.1507, allocations: 104.8 kB / 433.5 MB, free: 400 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.846e-05/0.1508, allocations: 0 / 433.5 MB, free: 400 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004265/0.1512, allocations: 15.98 kB / 433.5 MB, free: 384 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.1513, allocations: 15.94 kB / 433.5 MB, free: 368 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-05/0.1514, allocations: 7.984 kB / 433.6 MB, free: 360 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005588/0.152, allocations: 257.9 kB / 433.8 MB, free: 104 kB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.152, allocations: 0 / 433.8 MB, free: 104 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008453/0.1529, allocations: 67.91 kB / 433.9 MB, free: 36 kB / 362.7 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 (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001957/0.1548, allocations: 0.9313 MB / 434.8 MB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002297/0.1572, allocations: 335.5 kB / 435.1 MB, free: 14.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.1572, allocations: 0 / 435.1 MB, free: 14.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001608/0.1588, allocations: 212.1 kB / 435.3 MB, free: 14.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007076/0.1596, allocations: 60.38 kB / 435.4 MB, free: 14.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007049/0.1667, allocations: 2.888 MB / 438.3 MB, free: 11.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006699/0.1674, allocations: 0.8066 MB / 439.1 MB, free: 10.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004538/0.1679, allocations: 66.22 kB / 439.2 MB, free: 10.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002558/0.1681, allocations: 75.41 kB / 439.2 MB, free: 10.54 MB / 378.7 MB Notification: Performance of SimCode: time 1.312e-06/0.1682, allocations: 0 / 439.2 MB, free: 10.54 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07323/0.2414, allocations: 7.645 MB / 446.9 MB, free: 3 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003068/0.2418, allocations: 268.2 kB / 447.1 MB, free: 2.641 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.062/3.304, allocations: 0 / 447.1 MB, free: 2.641 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat does not exist to compare? outputFormat=mat