Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices3.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.Math.TestMatrices3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_TestMatrices3",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.01167/0.01168, allocations: 105.2 kB / 15.06 MB, free: 6.027 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.00127/0.00127, allocations: 181.8 kB / 15.95 MB, free: 5.953 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 1.932/1.932, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.265/0.265, allocations: 40.03 MB / 296.5 MB, free: 6.297 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006183/0.0006186, allocations: 12 kB / 361.1 MB, free: 4 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1173, allocations: 54.87 MB / 416 MB, free: 9.043 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.0006742/0.118, allocations: 224.4 kB / 416.2 MB, free: 8.82 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002792/0.1209, allocations: 1.469 MB / 417.7 MB, free: 7.332 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.655e-05/0.1209, allocations: 0 / 417.7 MB, free: 7.332 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.084e-05/0.1209, allocations: 0 / 417.7 MB, free: 7.332 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 5.36e-06/0.1209, allocations: 4 kB / 417.7 MB, free: 7.328 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009696/0.1219, allocations: 195.5 kB / 417.9 MB, free: 7.137 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 2.919e-05/0.122, allocations: 3.984 kB / 417.9 MB, free: 7.133 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.719e-05/0.122, allocations: 0 / 417.9 MB, free: 7.133 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.526e-05/0.122, allocations: 0 / 417.9 MB, free: 7.133 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.881e-05/0.1221, allocations: 3.984 kB / 417.9 MB, free: 7.129 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.541e-06/0.1221, allocations: 0 / 417.9 MB, free: 7.129 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001452/0.1235, allocations: 0.6558 MB / 418.6 MB, free: 6.473 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.222e-06/0.1236, allocations: 0 / 418.6 MB, free: 6.473 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.65e-05/0.1236, allocations: 33.7 kB / 418.6 MB, free: 6.434 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007517/0.1244, allocations: 451.3 kB / 419 MB, free: 5.992 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.1244, allocations: 0 / 419 MB, free: 5.992 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1244, allocations: 0 / 419 MB, free: 5.992 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.1244, allocations: 0 / 419 MB, free: 5.992 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004822/0.1249, allocations: 357.1 kB / 419.4 MB, free: 5.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.1249, allocations: 12.03 kB / 419.4 MB, free: 5.578 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.532e-05/0.125, allocations: 34.56 kB / 419.4 MB, free: 5.535 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.392e-05/0.125, allocations: 3.906 kB / 419.4 MB, free: 5.531 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.1251, allocations: 163.1 kB / 419.6 MB, free: 5.332 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.1252, allocations: 0 / 419.6 MB, free: 5.332 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.1252, allocations: 3.938 kB / 419.6 MB, free: 5.328 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.27e-05/0.1253, allocations: 37.64 kB / 419.6 MB, free: 5.285 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.1253, allocations: 0 / 419.6 MB, free: 5.285 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.1253, allocations: 0 / 419.6 MB, free: 5.285 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1253, allocations: 0 / 419.6 MB, free: 5.285 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.002e-05/0.1253, allocations: 4 kB / 419.6 MB, free: 5.281 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001455/0.1255, allocations: 145.7 kB / 419.8 MB, free: 5.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.207e-05/0.1256, allocations: 22.52 kB / 419.8 MB, free: 5.059 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.1256, allocations: 8.031 kB / 419.8 MB, free: 5.051 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.219e-05/0.1256, allocations: 60.25 kB / 419.9 MB, free: 4.977 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 1.603e-06/0.1257, allocations: 0 / 419.9 MB, free: 4.977 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001808/0.1258, allocations: 67.36 kB / 419.9 MB, free: 4.898 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.1259, allocations: 77.11 kB / 420 MB, free: 4.805 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.877e-05/0.126, allocations: 89.86 kB / 420.1 MB, free: 4.707 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.126, allocations: 29.83 kB / 420.1 MB, free: 4.672 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/0.126, allocations: 84.08 kB / 420.2 MB, free: 4.586 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.1261, allocations: 0 / 420.2 MB, free: 4.586 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.6e-06/0.1261, allocations: 4 kB / 420.2 MB, free: 4.582 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1262, allocations: 314.8 kB / 420.5 MB, free: 4.266 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.281e-05/0.1263, allocations: 0 / 420.5 MB, free: 4.266 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.076e-05/0.1263, allocations: 3.938 kB / 420.5 MB, free: 4.262 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.529e-05/0.1263, allocations: 29.7 kB / 420.5 MB, free: 4.227 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1263, allocations: 4.062 kB / 420.5 MB, free: 4.223 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.874e-05/0.1264, allocations: 59.41 kB / 420.6 MB, free: 4.152 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.234e-05/0.1265, allocations: 40.34 kB / 420.6 MB, free: 4.109 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1265, allocations: 0 / 420.6 MB, free: 4.109 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.1265, allocations: 0 / 420.6 MB, free: 4.109 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.403e-06/0.1265, allocations: 0 / 420.6 MB, free: 4.109 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1265, allocations: 3.953 kB / 420.6 MB, free: 4.105 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.898e-05/0.1266, allocations: 0 / 420.6 MB, free: 4.105 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.1266, allocations: 0 / 420.6 MB, free: 4.105 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.0001017/0.1267, allocations: 139.6 kB / 420.8 MB, free: 3.953 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.297e-06/0.1267, allocations: 0 / 420.8 MB, free: 3.953 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.558e-06/0.1267, allocations: 3.125 kB / 420.8 MB, free: 3.953 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1268, allocations: 4 kB / 420.8 MB, free: 3.949 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1268, allocations: 0 / 420.8 MB, free: 3.949 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.1268, allocations: 7.938 kB / 420.8 MB, free: 3.941 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.1269, allocations: 145.7 kB / 420.9 MB, free: 3.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1269, allocations: 0 / 420.9 MB, free: 3.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.156e-06/0.1269, allocations: 0 / 420.9 MB, free: 3.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1269, allocations: 3.938 kB / 420.9 MB, free: 3.746 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.1269, allocations: 4 kB / 420.9 MB, free: 3.742 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.127, allocations: 4 kB / 421 MB, free: 3.738 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.127, allocations: 7.922 kB / 421 MB, free: 3.73 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.1271, allocations: 90.78 kB / 421 MB, free: 3.617 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.23e-05/0.1272, allocations: 81.11 kB / 421.1 MB, free: 3.52 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.1272, allocations: 0 / 421.1 MB, free: 3.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.415e-05/0.1272, allocations: 4 kB / 421.1 MB, free: 3.516 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.864e-05/0.1272, allocations: 3.984 kB / 421.1 MB, free: 3.512 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.1272, allocations: 4.031 kB / 421.1 MB, free: 3.508 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.405e-05/0.1273, allocations: 79.28 kB / 421.2 MB, free: 3.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1273, allocations: 0 / 421.2 MB, free: 3.43 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006011/0.1279, allocations: 116 kB / 421.3 MB, free: 3.316 MB / 314.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.001359/0.1293, allocations: 0.7045 MB / 422 MB, free: 2.582 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001138/0.1294, allocations: 63.39 kB / 422.1 MB, free: 2.508 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1294, allocations: 0 / 422.1 MB, free: 2.508 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.935e-05/0.1295, allocations: 59.47 kB / 422.2 MB, free: 2.438 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001077/0.1296, allocations: 10.91 kB / 422.2 MB, free: 2.43 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004589/0.1301, allocations: 128.3 kB / 422.3 MB, free: 2.266 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.1304, allocations: 0.6731 MB / 423 MB, free: 1.566 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.332e-06/0.1304, allocations: 0 / 423 MB, free: 1.566 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.472e-05/0.1305, allocations: 7.438 kB / 423 MB, free: 1.559 MB / 314.7 MB Notification: Performance of SimCode: time 7.41e-07/0.1305, allocations: 0 / 423 MB, free: 1.559 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3454/0.4758, allocations: 4.73 MB / 427.7 MB, free: 14.47 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002359/0.4761, allocations: 207 kB / 427.9 MB, free: 14.23 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.672/3.148, allocations: 0 / 427.9 MB, free: 14.23 MB / 314.7 MB