Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.479/2.479, allocations: 235.1 MB / 243 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.109e-05/2.118e-05, allocations: 7.938 kB / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3721, allocations: 54.85 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1483/0.5205, allocations: 80.23 MB / 438.4 MB, free: 14.51 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/0.5209, allocations: 71.91 kB / 438.4 MB, free: 14.44 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01246/0.5333, allocations: 3.077 MB / 441.5 MB, free: 11.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5334, allocations: 0 / 441.5 MB, free: 11.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.5334, allocations: 4 kB / 441.5 MB, free: 11.35 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005092/0.5339, allocations: 408 kB / 441.9 MB, free: 10.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.534, allocations: 12.03 kB / 441.9 MB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.074e-05/0.5341, allocations: 11.86 kB / 441.9 MB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.5344, allocations: 193 kB / 442.1 MB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.475e-06/0.5344, allocations: 4 kB / 442.1 MB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.5344, allocations: 3.938 kB / 442.1 MB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001187/0.5346, allocations: 19.94 kB / 442.1 MB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.895e-05/0.5347, allocations: 45.69 kB / 442.2 MB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.5347, allocations: 0 / 442.2 MB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.5347, allocations: 0 / 442.2 MB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.5347, allocations: 3.953 kB / 442.2 MB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003935/0.5351, allocations: 257.5 kB / 442.4 MB, free: 10.28 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.5354, allocations: 34.58 kB / 442.5 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.464e-05/0.5354, allocations: 20.8 kB / 442.5 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.5354, allocations: 0 / 442.5 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.5355, allocations: 32.38 kB / 442.5 MB, free: 10.17 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.5355, allocations: 0 / 442.5 MB, free: 10.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004913/0.536, allocations: 109.3 kB / 442.6 MB, free: 10.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.536, allocations: 51.41 kB / 442.7 MB, free: 9.996 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/0.5363, allocations: 178.2 kB / 442.9 MB, free: 9.812 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.5363, allocations: 25.7 kB / 442.9 MB, free: 9.781 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.548e-05/0.5364, allocations: 162.5 kB / 443 MB, free: 9.621 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.5365, allocations: 19.75 kB / 443.1 MB, free: 9.602 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-06/0.5365, allocations: 0 / 443.1 MB, free: 9.602 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.5366, allocations: 310.8 kB / 443.4 MB, free: 9.289 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.034e-05/0.5367, allocations: 12 kB / 443.4 MB, free: 9.277 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.393e-05/0.5367, allocations: 8 kB / 443.4 MB, free: 9.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.566e-05/0.5368, allocations: 15.98 kB / 443.4 MB, free: 9.254 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.5368, allocations: 4 kB / 443.4 MB, free: 9.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001622/0.537, allocations: 65.55 kB / 443.5 MB, free: 9.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.307e-05/0.537, allocations: 37.69 kB / 443.5 MB, free: 9.137 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.537, allocations: 0 / 443.5 MB, free: 9.137 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.537, allocations: 0 / 443.5 MB, free: 9.137 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.5372, allocations: 15.95 kB / 443.5 MB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.5372, allocations: 0 / 443.5 MB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.91e-05/0.5373, allocations: 7.984 kB / 443.5 MB, free: 9.113 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.5373, allocations: 11.94 kB / 443.5 MB, free: 9.102 MB / 378.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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 7.861e-05/0.5374, allocations: 103 kB / 443.6 MB, free: 8.996 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001475/0.5376, allocations: 61.59 kB / 443.7 MB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.342e-05/0.5376, allocations: 8.047 kB / 443.7 MB, free: 8.922 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001993/0.5378, allocations: 78.34 kB / 443.8 MB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.5378, allocations: 3.938 kB / 443.8 MB, free: 8.836 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.5379, allocations: 4.047 kB / 443.8 MB, free: 8.832 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.5379, allocations: 4 kB / 443.8 MB, free: 8.828 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004524/0.5383, allocations: 315.2 kB / 444.1 MB, free: 8.477 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5384, allocations: 0 / 444.1 MB, free: 8.477 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.5385, allocations: 15.98 kB / 444.1 MB, free: 8.461 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.5385, allocations: 7.891 kB / 444.1 MB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.5385, allocations: 0 / 444.1 MB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.5385, allocations: 0 / 444.1 MB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.5385, allocations: 4 kB / 444.1 MB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.5387, allocations: 163.4 kB / 444.3 MB, free: 8.273 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.497e-05/0.5388, allocations: 89.02 kB / 444.4 MB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.5389, allocations: 3.953 kB / 444.4 MB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.539, allocations: 7.984 kB / 444.4 MB, free: 8.156 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.5391, allocations: 4 kB / 444.4 MB, free: 8.152 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.5391, allocations: 0 / 444.4 MB, free: 8.152 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001651/0.5392, allocations: 143.1 kB / 444.5 MB, free: 8.012 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5393, allocations: 0 / 444.5 MB, free: 8.012 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003396/0.5396, allocations: 19.91 kB / 444.6 MB, free: 7.992 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.001088/0.5407, allocations: 0.864 MB / 445.4 MB, free: 7.141 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001741/0.5409, allocations: 83.41 kB / 445.5 MB, free: 7.047 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5409, allocations: 0 / 445.5 MB, free: 7.047 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.021e-05/0.541, allocations: 15.98 kB / 445.5 MB, free: 7.031 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.5412, allocations: 11.95 kB / 445.5 MB, free: 7.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006517/0.5419, allocations: 223.4 kB / 445.7 MB, free: 6.758 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.5422, allocations: 0.708 MB / 446.5 MB, free: 6.023 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.047e-05/0.5423, allocations: 23.44 kB / 446.5 MB, free: 6.004 MB / 378.7 MB Notification: Performance of SimCode: time 9.51e-07/0.5423, allocations: 0 / 446.5 MB, free: 6.004 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.725/3.267, allocations: 1.823 MB / 448.3 MB, free: 4.18 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat does not exist to compare? outputFormat=mat