Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.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.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.943/1.943, allocations: 209.2 MB / 224.8 MB, free: 0.6055 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004452/0.0004452, allocations: 23.92 kB / 282.7 MB, free: 9.52 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1104, allocations: 48.69 MB / 331.4 MB, free: 8.734 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5036/0.6141, allocations: 75.86 MB / 407.2 MB, free: 9.066 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003688/0.6145, allocations: 75.95 kB / 407.3 MB, free: 8.992 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02574/0.6403, allocations: 4.202 MB / 411.5 MB, free: 4.805 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.6403, allocations: 0 / 411.5 MB, free: 4.805 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.443e-05/0.6404, allocations: 7.938 kB / 411.5 MB, free: 4.797 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0008514/0.6412, allocations: 451.6 kB / 412 MB, free: 4.305 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.337e-05/0.6413, allocations: 12.03 kB / 412 MB, free: 4.293 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.782e-05/0.6414, allocations: 30.56 kB / 412 MB, free: 4.254 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.337e-05/0.6415, allocations: 7.906 kB / 412 MB, free: 4.246 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004199/0.6419, allocations: 198.8 kB / 412.2 MB, free: 4.012 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.642, allocations: 8 kB / 412.2 MB, free: 4.004 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.6e-05/0.642, allocations: 4 kB / 412.2 MB, free: 4 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.6422, allocations: 45.67 kB / 412.3 MB, free: 3.949 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.6422, allocations: 3.938 kB / 412.3 MB, free: 3.945 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.6422, allocations: 0 / 412.3 MB, free: 3.945 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.6423, allocations: 4 kB / 412.3 MB, free: 3.941 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.6424, allocations: 15.98 kB / 412.3 MB, free: 3.926 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006741/0.6431, allocations: 296.8 kB / 412.6 MB, free: 3.586 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000331/0.6434, allocations: 46.56 kB / 412.6 MB, free: 3.531 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.6435, allocations: 7.922 kB / 412.6 MB, free: 3.523 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002068/0.6437, allocations: 63.48 kB / 412.7 MB, free: 3.449 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 4.178e-06/0.6437, allocations: 0 / 412.7 MB, free: 3.449 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007389/0.6445, allocations: 125.3 kB / 412.8 MB, free: 3.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.802e-05/0.6446, allocations: 51.41 kB / 412.9 MB, free: 3.258 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004591/0.6451, allocations: 198.3 kB / 413 MB, free: 3.051 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.13e-05/0.6451, allocations: 37.69 kB / 413.1 MB, free: 3.008 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.6453, allocations: 162.5 kB / 413.2 MB, free: 2.848 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.825e-05/0.6453, allocations: 15.81 kB / 413.3 MB, free: 2.832 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.26e-05/0.6453, allocations: 7.938 kB / 413.3 MB, free: 2.824 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.6455, allocations: 310.8 kB / 413.6 MB, free: 2.512 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.6457, allocations: 23.98 kB / 413.6 MB, free: 2.488 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.6458, allocations: 23.98 kB / 413.6 MB, free: 2.465 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.646, allocations: 53.7 kB / 413.7 MB, free: 2.406 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.646, allocations: 0 / 413.7 MB, free: 2.406 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004388/0.6464, allocations: 127.3 kB / 413.8 MB, free: 2.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.943e-05/0.6465, allocations: 29.7 kB / 413.8 MB, free: 2.234 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.6465, allocations: 0 / 413.8 MB, free: 2.234 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.6466, allocations: 0 / 413.8 MB, free: 2.234 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.6467, allocations: 15.98 kB / 413.8 MB, free: 2.219 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.6467, allocations: 4 kB / 413.8 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.6469, allocations: 4 kB / 413.8 MB, free: 2.211 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.6469, allocations: 7.953 kB / 413.9 MB, free: 2.203 MB / 330.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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0002074/0.6471, allocations: 129.8 kB / 414 MB, free: 2.066 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.687e-05/0.6472, allocations: 7.906 kB / 414 MB, free: 2.059 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003909/0.6476, allocations: 90.67 kB / 414.1 MB, free: 1.965 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.6476, allocations: 4 kB / 414.1 MB, free: 1.961 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.6477, allocations: 0 / 414.1 MB, free: 1.961 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.6477, allocations: 288 / 414.1 MB, free: 1.961 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007423/0.6484, allocations: 370.4 kB / 414.4 MB, free: 1.543 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.6485, allocations: 4 kB / 414.4 MB, free: 1.539 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.76e-05/0.6486, allocations: 7.984 kB / 414.5 MB, free: 1.531 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/0.6486, allocations: 3.984 kB / 414.5 MB, free: 1.527 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.6486, allocations: 8 kB / 414.5 MB, free: 1.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.6487, allocations: 0 / 414.5 MB, free: 1.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6487, allocations: 0 / 414.5 MB, free: 1.52 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003649/0.649, allocations: 183.4 kB / 414.6 MB, free: 1.324 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.608e-05/0.6492, allocations: 96.89 kB / 414.7 MB, free: 1.211 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.472e-05/0.6492, allocations: 4 kB / 414.7 MB, free: 1.207 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.6493, allocations: 4.25 kB / 414.7 MB, free: 1.203 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.6494, allocations: 3.984 kB / 414.7 MB, free: 1.199 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.6494, allocations: 8 kB / 414.8 MB, free: 1.191 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002249/0.6496, allocations: 159.9 kB / 414.9 MB, free: 1.035 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6496, allocations: 7.938 kB / 414.9 MB, free: 1.027 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005914/0.6502, allocations: 31.98 kB / 415 MB, free: 0.9961 MB / 330.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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001624/0.6519, allocations: 0.9784 MB / 415.9 MB, free: 76 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003328/0.6523, allocations: 107.3 kB / 416 MB, free: 15.96 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.6523, allocations: 4 kB / 416 MB, free: 15.95 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.766e-05/0.6524, allocations: 19.98 kB / 416.1 MB, free: 15.93 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.6527, allocations: 15.98 kB / 416.1 MB, free: 15.92 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.6539, allocations: 0.5063 MB / 416.6 MB, free: 15.36 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003949/0.6544, allocations: 0.7082 MB / 417.3 MB, free: 14.62 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.6545, allocations: 31.42 kB / 417.3 MB, free: 14.59 MB / 346.7 MB Notification: Performance of SimCode: time 1.283e-06/0.6545, allocations: 4 kB / 417.3 MB, free: 14.59 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.743/3.397, allocations: 2.342 MB / 419.7 MB, free: 12.25 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat does not exist to compare? outputFormat=mat