Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test2.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.257/2.257, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004577/0.0004577, allocations: 16 kB / 282.7 MB, free: 9.555 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.4087, allocations: 48.7 MB / 331.4 MB, free: 6.422 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1483/0.557, allocations: 74.49 MB / 405.9 MB, free: 3.816 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/0.5574, allocations: 71.97 kB / 405.9 MB, free: 3.746 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01152/0.5689, allocations: 2.578 MB / 408.5 MB, free: 1.172 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.569, allocations: 0 / 408.5 MB, free: 1.172 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.611e-05/0.569, allocations: 4 kB / 408.5 MB, free: 1.168 MB / 330.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.0005926/0.5696, allocations: 404.9 kB / 408.9 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.5697, allocations: 8.031 kB / 408.9 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.65e-05/0.5697, allocations: 30.56 kB / 408.9 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.605e-05/0.5698, allocations: 11.89 kB / 409 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.5701, allocations: 198.7 kB / 409.1 MB, free: 436 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.5701, allocations: 4 kB / 409.2 MB, free: 432 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.5701, allocations: 0 / 409.2 MB, free: 432 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.5703, allocations: 53.67 kB / 409.2 MB, free: 372 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.5704, allocations: 0 / 409.2 MB, free: 372 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.5704, allocations: 4 kB / 409.2 MB, free: 368 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.5704, allocations: 4 kB / 409.2 MB, free: 364 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001567/0.5706, allocations: 27.92 kB / 409.2 MB, free: 336 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004926/0.5711, allocations: 276.9 kB / 409.5 MB, free: 8 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000302/0.5714, allocations: 46.56 kB / 409.6 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.5714, allocations: 0 / 409.6 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.5715, allocations: 42.58 kB / 409.6 MB, free: 15.9 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.5715, allocations: 0 / 409.6 MB, free: 15.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008768/0.5724, allocations: 157.4 kB / 409.8 MB, free: 15.74 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.543e-05/0.5724, allocations: 55.34 kB / 409.8 MB, free: 15.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.5726, allocations: 125.1 kB / 409.9 MB, free: 15.54 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.5727, allocations: 29.7 kB / 410 MB, free: 15.51 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.844e-05/0.5728, allocations: 162.5 kB / 410.1 MB, free: 15.35 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.5728, allocations: 11.81 kB / 410.1 MB, free: 15.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/0.5728, allocations: 0 / 410.1 MB, free: 15.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.573, allocations: 322.8 kB / 410.4 MB, free: 15.01 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/0.5732, allocations: 23.98 kB / 410.5 MB, free: 14.99 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.5733, allocations: 31.98 kB / 410.5 MB, free: 14.96 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.5735, allocations: 57.88 kB / 410.6 MB, free: 14.89 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5735, allocations: 0 / 410.6 MB, free: 14.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003883/0.5739, allocations: 119.4 kB / 410.7 MB, free: 14.77 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.155e-05/0.574, allocations: 37.64 kB / 410.7 MB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.574, allocations: 0 / 410.7 MB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.574, allocations: 7.938 kB / 410.7 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.5742, allocations: 19.92 kB / 410.7 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.5742, allocations: 0 / 410.7 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.37e-05/0.5743, allocations: 8 kB / 410.7 MB, free: 14.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.5743, allocations: 3.984 kB / 410.7 MB, free: 14.68 MB / 346.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 () * Number of clocked 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 0.0001235/0.5744, allocations: 125.8 kB / 410.9 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.16e-05/0.5745, allocations: 3.906 kB / 410.9 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004055/0.5749, allocations: 101.6 kB / 411 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.5749, allocations: 0 / 411 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.5749, allocations: 3.984 kB / 411 MB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.575, allocations: 0 / 411 MB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006827/0.5757, allocations: 366.5 kB / 411.3 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.5757, allocations: 0 / 411.3 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.5758, allocations: 15.98 kB / 411.3 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.5758, allocations: 4 kB / 411.4 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.5759, allocations: 0 / 411.4 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.5759, allocations: 4 kB / 411.4 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5759, allocations: 0 / 411.4 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003905/0.5763, allocations: 195.8 kB / 411.5 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.105e-05/0.5764, allocations: 81.02 kB / 411.6 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/0.5764, allocations: 20.05 kB / 411.6 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.5765, allocations: 7.984 kB / 411.7 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/0.5766, allocations: 0 / 411.7 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.5766, allocations: 4 kB / 411.7 MB, free: 13.67 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001058/0.5767, allocations: 99.27 kB / 411.8 MB, free: 13.57 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.5767, allocations: 0 / 411.8 MB, free: 13.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003483/0.5771, allocations: 23.92 kB / 411.8 MB, free: 13.55 MB / 346.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 (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.001316/0.5784, allocations: 0.8821 MB / 412.7 MB, free: 12.69 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004017/0.5788, allocations: 115.4 kB / 412.8 MB, free: 12.57 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.5789, allocations: 0 / 412.8 MB, free: 12.57 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.579, allocations: 31.98 kB / 412.8 MB, free: 12.54 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.5793, allocations: 15.31 kB / 412.8 MB, free: 12.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008511/0.5802, allocations: 424.9 kB / 413.2 MB, free: 12.05 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.5805, allocations: 0.6965 MB / 413.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.323e-05/0.5806, allocations: 23.42 kB / 414 MB, free: 11.3 MB / 346.7 MB Notification: Performance of SimCode: time 9.31e-07/0.5806, allocations: 0 / 414 MB, free: 11.3 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.767/3.348, allocations: 1.521 MB / 415.5 MB, free: 9.781 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test2_res.mat does not exist to compare? outputFormat=mat