Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.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.TestMatrices,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_TestMatrices",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.01106/0.01106, allocations: 107.2 kB / 15.06 MB, free: 6.035 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.00128/0.001279, allocations: 182.1 kB / 15.95 MB, free: 5.957 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.993/1.993, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.3183/0.3183, allocations: 40.04 MB / 296.5 MB, free: 6.293 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004722/0.0004723, allocations: 12 kB / 361.1 MB, free: 9.551 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1258, allocations: 54.88 MB / 416 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.0008251/0.1267, allocations: 224.4 kB / 416.2 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00404/0.1307, allocations: 1.501 MB / 417.7 MB, free: 0.832 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.185e-05/0.1308, allocations: 0 / 417.7 MB, free: 0.832 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.364e-05/0.1308, allocations: 3.938 kB / 417.7 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.131e-06/0.1309, allocations: 0 / 417.7 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001463/0.1323, allocations: 231.5 kB / 418 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.848e-05/0.1324, allocations: 8 kB / 418 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.444e-05/0.1325, allocations: 0 / 418 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.199e-05/0.1325, allocations: 7.938 kB / 418 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.835e-05/0.1326, allocations: 3.984 kB / 418 MB, free: 0.582 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.255e-06/0.1326, allocations: 0 / 418 MB, free: 0.582 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001361/0.134, allocations: 415.2 kB / 418.4 MB, free: 180 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.155e-06/0.134, allocations: 0 / 418.4 MB, free: 180 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.873e-05/0.1341, allocations: 25.7 kB / 418.4 MB, free: 148 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007527/0.1349, allocations: 219.7 kB / 418.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1349, allocations: 0 / 418.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1349, allocations: 0 / 418.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1349, allocations: 0 / 418.6 MB, free: 15.93 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.0005172/0.1355, allocations: 365.1 kB / 419 MB, free: 15.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.999e-05/0.1356, allocations: 12.03 kB / 419 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.243e-05/0.1356, allocations: 34.5 kB / 419 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.1357, allocations: 0 / 419 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.1358, allocations: 163.1 kB / 419.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.1359, allocations: 3.953 kB / 419.2 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.1359, allocations: 8 kB / 419.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.136, allocations: 29.64 kB / 419.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1361, allocations: 0 / 419.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.1361, allocations: 0 / 419.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1361, allocations: 0 / 419.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.08e-05/0.1362, allocations: 4 kB / 419.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000213/0.1364, allocations: 149.7 kB / 419.4 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.484e-05/0.1365, allocations: 26.62 kB / 419.4 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.1365, allocations: 4 kB / 419.4 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001111/0.1366, allocations: 60.2 kB / 419.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 2.725e-06/0.1367, allocations: 0 / 419.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002719/0.137, allocations: 67.39 kB / 419.5 MB, free: 14.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.368e-05/0.1371, allocations: 77.11 kB / 419.6 MB, free: 14.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.725e-05/0.1371, allocations: 89.86 kB / 419.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.1372, allocations: 25.7 kB / 419.7 MB, free: 14.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.462e-05/0.1372, allocations: 84.27 kB / 419.8 MB, free: 14.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.1373, allocations: 7.906 kB / 419.8 MB, free: 14.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-06/0.1373, allocations: 0 / 419.8 MB, free: 14.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.1375, allocations: 310.8 kB / 420.1 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.679e-05/0.1375, allocations: 3.938 kB / 420.1 MB, free: 14.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.521e-05/0.1376, allocations: 3.938 kB / 420.1 MB, free: 14.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.312e-05/0.1376, allocations: 29.7 kB / 420.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.1376, allocations: 0 / 420.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001583/0.1378, allocations: 71.45 kB / 420.2 MB, free: 14.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.139e-05/0.1379, allocations: 36.47 kB / 420.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1379, allocations: 0 / 420.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.138, allocations: 0 / 420.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.964e-06/0.138, allocations: 0 / 420.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.138, allocations: 0 / 420.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.106e-05/0.138, allocations: 0 / 420.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.1381, allocations: 4 kB / 420.3 MB, free: 14.03 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.0001484/0.1382, allocations: 135.5 kB / 420.4 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.222e-05/0.1383, allocations: 15.95 kB / 420.4 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.998e-05/0.1383, allocations: 7.078 kB / 420.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1383, allocations: 0 / 420.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1384, allocations: 0 / 420.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1384, allocations: 0 / 420.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.1385, allocations: 145.7 kB / 420.6 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.1386, allocations: 0 / 420.6 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.719e-06/0.1386, allocations: 7.984 kB / 420.6 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.1386, allocations: 0 / 420.6 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.1386, allocations: 7.938 kB / 420.6 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.715e-06/0.1387, allocations: 3.953 kB / 420.6 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1387, allocations: 4 kB / 420.6 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.1389, allocations: 86.84 kB / 420.7 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.045e-05/0.139, allocations: 81.09 kB / 420.7 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.139, allocations: 0 / 420.7 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.05e-05/0.139, allocations: 0 / 420.7 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.937e-05/0.1391, allocations: 7.953 kB / 420.8 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.1391, allocations: 0 / 420.8 MB, free: 13.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.448e-05/0.1392, allocations: 79.31 kB / 420.8 MB, free: 13.35 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.1392, allocations: 0 / 420.8 MB, free: 13.35 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006761/0.1399, allocations: 63.98 kB / 420.9 MB, free: 13.29 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.001388/0.1413, allocations: 0.721 MB / 421.6 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001427/0.1415, allocations: 55.41 kB / 421.7 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/0.1415, allocations: 4.062 kB / 421.7 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.593e-05/0.1416, allocations: 55.41 kB / 421.7 MB, free: 12.4 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.1418, allocations: 15 kB / 421.7 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005809/0.1424, allocations: 132.3 kB / 421.9 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.1428, allocations: 0.677 MB / 422.6 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.147e-06/0.1428, allocations: 0 / 422.6 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.079e-05/0.1428, allocations: 7.438 kB / 422.6 MB, free: 11.51 MB / 362.7 MB Notification: Performance of SimCode: time 1.353e-06/0.1428, allocations: 0 / 422.6 MB, free: 11.51 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0225/0.1654, allocations: 1.855 MB / 424.4 MB, free: 9.711 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002237/0.1656, allocations: 202.8 kB / 424.6 MB, free: 9.473 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.481/2.647, allocations: 0 / 424.6 MB, free: 9.473 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices_res.mat does not exist to compare? outputFormat=mat