Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.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.TestMatrices2b,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_TestMatrices2b",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.01638/0.01638, allocations: 106.2 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.002098/0.002097, allocations: 178.2 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.027/2.027, allocations: 194.5 MB / 211.3 MB, free: 10.97 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.2779/0.2779, allocations: 40.04 MB / 296.5 MB, free: 6.281 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006442/0.0006445, allocations: 16 kB / 361.1 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1172, allocations: 54.87 MB / 416 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.0006841/0.1179, allocations: 224.4 kB / 416.2 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005069/0.123, allocations: 2 MB / 418.2 MB, free: 344 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.324e-05/0.1231, allocations: 0 / 418.2 MB, free: 344 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.204e-05/0.1231, allocations: 0 / 418.2 MB, free: 344 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.121e-06/0.1232, allocations: 0 / 418.2 MB, free: 344 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002943/0.1261, allocations: 0.612 MB / 418.8 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 3.773e-05/0.1262, allocations: 0 / 418.8 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.865e-05/0.1262, allocations: 4 kB / 418.8 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.744e-05/0.1263, allocations: 0 / 418.8 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.51e-05/0.1263, allocations: 0 / 418.8 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.372e-06/0.1263, allocations: 0 / 418.8 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002818/0.1291, allocations: 1.28 MB / 420.1 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.041e-05/0.1292, allocations: 3.984 kB / 420.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.849e-05/0.1292, allocations: 25.7 kB / 420.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001942/0.1312, allocations: 1.154 MB / 421.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1312, allocations: 0 / 421.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1313, allocations: 0 / 421.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.1313, allocations: 0 / 421.3 MB, free: 13.25 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0008473/0.1321, allocations: 417 kB / 421.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/0.1322, allocations: 12.03 kB / 421.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.556e-05/0.1322, allocations: 30.56 kB / 421.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.043e-05/0.1323, allocations: 3.984 kB / 421.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.1324, allocations: 167 kB / 421.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.1324, allocations: 0 / 421.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.1325, allocations: 0 / 421.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.1326, allocations: 37.64 kB / 422 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.1326, allocations: 0 / 422 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.1326, allocations: 0 / 422 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1326, allocations: 4 kB / 422 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.501e-05/0.1327, allocations: 4 kB / 422 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001741/0.1328, allocations: 149.7 kB / 422.1 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.914e-05/0.1329, allocations: 18.53 kB / 422.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.1329, allocations: 4.094 kB / 422.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.103e-05/0.133, allocations: 56.27 kB / 422.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.733e-06/0.133, allocations: 3.938 kB / 422.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002158/0.1332, allocations: 71.39 kB / 422.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/0.1333, allocations: 77.11 kB / 422.3 MB, free: 12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.502e-05/0.1334, allocations: 93.77 kB / 422.4 MB, free: 11.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.1334, allocations: 25.7 kB / 422.5 MB, free: 11.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/0.1335, allocations: 88.02 kB / 422.5 MB, free: 11.78 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.1335, allocations: 0 / 422.5 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.1335, allocations: 0 / 422.5 MB, free: 11.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1337, allocations: 314.8 kB / 422.8 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.113e-05/0.1337, allocations: 4.125 kB / 422.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.416e-06/0.1337, allocations: 0 / 422.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.854e-05/0.1337, allocations: 33.7 kB / 422.9 MB, free: 11.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1338, allocations: 0 / 422.9 MB, free: 11.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001027/0.1339, allocations: 67.28 kB / 423 MB, free: 11.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.646e-05/0.1339, allocations: 33.7 kB / 423 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1339, allocations: 0 / 423 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.134, allocations: 0 / 423 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.854e-06/0.134, allocations: 0 / 423 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.134, allocations: 4.094 kB / 423 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.324e-05/0.134, allocations: 0 / 423 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.134, allocations: 0 / 423 MB, free: 11.3 MB / 362.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.0001229/0.1342, allocations: 139.5 kB / 423.1 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.84e-05/0.1342, allocations: 3.953 kB / 423.1 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.732e-05/0.1342, allocations: 7.125 kB / 423.1 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1343, allocations: 0 / 423.1 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1343, allocations: 4 kB / 423.1 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.1343, allocations: 0 / 423.1 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.1344, allocations: 146 kB / 423.3 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.1344, allocations: 3.984 kB / 423.3 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.162e-06/0.1344, allocations: 0 / 423.3 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.1345, allocations: 0 / 423.3 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.1345, allocations: 7.953 kB / 423.3 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1345, allocations: 0 / 423.3 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1345, allocations: 0 / 423.3 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.1346, allocations: 90.77 kB / 423.4 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.963e-05/0.1347, allocations: 85.14 kB / 423.5 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.1347, allocations: 0 / 423.5 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.454e-05/0.1347, allocations: 3.953 kB / 423.5 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.615e-05/0.1348, allocations: 0 / 423.5 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.1348, allocations: 0 / 423.5 MB, free: 10.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.085e-05/0.1348, allocations: 79.28 kB / 423.5 MB, free: 10.63 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1348, allocations: 3.938 kB / 423.6 MB, free: 10.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001388/0.1362, allocations: 275.9 kB / 423.8 MB, free: 10.36 MB / 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: 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.002571/0.1388, allocations: 0.9389 MB / 424.8 MB, free: 9.395 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001248/0.139, allocations: 55.41 kB / 424.8 MB, free: 9.328 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.139, allocations: 0 / 424.8 MB, free: 9.328 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.755e-05/0.1391, allocations: 59.39 kB / 424.9 MB, free: 9.258 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001082/0.1392, allocations: 7.953 kB / 424.9 MB, free: 9.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007107/0.1399, allocations: 168.5 kB / 425 MB, free: 9.047 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.1402, allocations: 0.6692 MB / 425.7 MB, free: 8.352 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.401e-06/0.1402, allocations: 0 / 425.7 MB, free: 8.352 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.12e-05/0.1403, allocations: 11.44 kB / 425.7 MB, free: 8.34 MB / 362.7 MB Notification: Performance of SimCode: time 7.81e-07/0.1403, allocations: 0 / 425.7 MB, free: 8.34 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03637/0.1767, allocations: 8.29 MB / 434 MB, free: 100 kB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003439/0.1771, allocations: 205 kB / 434.2 MB, free: 15.86 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.092/3.269, allocations: 64 / 434.2 MB, free: 15.86 MB / 378.7 MB