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.Test29.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.Test29,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.982/1.982, allocations: 209.2 MB / 224.8 MB, free: 0.6055 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004486/0.0004486, allocations: 20 kB / 282.7 MB, free: 9.523 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1133, allocations: 48.7 MB / 331.4 MB, free: 8.734 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.434/0.5473, allocations: 75.88 MB / 407.2 MB, free: 9.059 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/0.5476, allocations: 67.97 kB / 407.3 MB, free: 8.992 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01824/0.5659, allocations: 4.03 MB / 411.3 MB, free: 4.977 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.826e-06/0.566, allocations: 0 / 411.3 MB, free: 4.977 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.566, allocations: 0 / 411.3 MB, free: 4.977 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.0006673/0.5667, allocations: 432.6 kB / 411.8 MB, free: 4.5 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.483e-05/0.5667, allocations: 8.031 kB / 411.8 MB, free: 4.492 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.726e-05/0.5668, allocations: 34.56 kB / 411.8 MB, free: 4.449 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.932e-05/0.5669, allocations: 7.906 kB / 411.8 MB, free: 4.441 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/0.5672, allocations: 194.9 kB / 412 MB, free: 4.211 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.5672, allocations: 7.984 kB / 412 MB, free: 4.203 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.919e-05/0.5672, allocations: 7.984 kB / 412 MB, free: 4.195 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.5674, allocations: 45.62 kB / 412.1 MB, free: 4.145 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.5674, allocations: 0 / 412.1 MB, free: 4.145 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.5674, allocations: 0 / 412.1 MB, free: 4.145 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.5675, allocations: 4 kB / 412.1 MB, free: 4.141 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.511e-05/0.5675, allocations: 15.98 kB / 412.1 MB, free: 4.125 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004862/0.568, allocations: 288.9 kB / 412.4 MB, free: 3.793 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/0.5683, allocations: 54.5 kB / 412.4 MB, free: 3.73 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.5683, allocations: 0 / 412.4 MB, free: 3.73 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001592/0.5685, allocations: 59.39 kB / 412.5 MB, free: 3.66 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.204e-06/0.5685, allocations: 3.938 kB / 412.5 MB, free: 3.656 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005726/0.5691, allocations: 121.3 kB / 412.6 MB, free: 3.531 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.5692, allocations: 59.41 kB / 412.7 MB, free: 3.461 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.5694, allocations: 160.4 kB / 412.8 MB, free: 3.297 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.5695, allocations: 33.64 kB / 412.8 MB, free: 3.258 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.128e-05/0.5696, allocations: 158.6 kB / 413 MB, free: 3.102 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.5696, allocations: 23.78 kB / 413 MB, free: 3.078 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.725e-06/0.5696, allocations: 0 / 413 MB, free: 3.078 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.5698, allocations: 314.8 kB / 413.3 MB, free: 2.762 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.138e-05/0.5699, allocations: 23.98 kB / 413.4 MB, free: 2.738 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.359e-05/0.5699, allocations: 23.98 kB / 413.4 MB, free: 2.715 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.5701, allocations: 49.7 kB / 413.4 MB, free: 2.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5701, allocations: 4 kB / 413.4 MB, free: 2.656 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003137/0.5704, allocations: 127.3 kB / 413.6 MB, free: 2.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.736e-05/0.5705, allocations: 29.7 kB / 413.6 MB, free: 2.484 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.5705, allocations: 4 kB / 413.6 MB, free: 2.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.5705, allocations: 0 / 413.6 MB, free: 2.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.176e-05/0.5706, allocations: 8 kB / 413.6 MB, free: 2.473 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.5706, allocations: 7.938 kB / 413.6 MB, free: 2.465 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.242e-05/0.5707, allocations: 8 kB / 413.6 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.5708, allocations: 0 / 413.6 MB, free: 2.457 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.0001377/0.5709, allocations: 125.8 kB / 413.7 MB, free: 2.324 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.5709, allocations: 7.906 kB / 413.7 MB, free: 2.316 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000294/0.5712, allocations: 98.11 kB / 413.8 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.5713, allocations: 0 / 413.8 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.5713, allocations: 0 / 413.8 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.5713, allocations: 3.953 kB / 413.8 MB, free: 2.211 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005183/0.5718, allocations: 358.5 kB / 414.2 MB, free: 1.805 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.5718, allocations: 3.938 kB / 414.2 MB, free: 1.801 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.981e-05/0.5719, allocations: 8 kB / 414.2 MB, free: 1.793 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.5719, allocations: 288 / 414.2 MB, free: 1.793 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.572, allocations: 7.984 kB / 414.2 MB, free: 1.785 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.572, allocations: 3.953 kB / 414.2 MB, free: 1.781 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.572, allocations: 0 / 414.2 MB, free: 1.781 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.5722, allocations: 175.4 kB / 414.4 MB, free: 1.594 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.988e-05/0.5723, allocations: 92.98 kB / 414.5 MB, free: 1.484 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.5724, allocations: 4 kB / 414.5 MB, free: 1.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.723e-05/0.5725, allocations: 8.25 kB / 414.5 MB, free: 1.473 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.5725, allocations: 7.953 kB / 414.5 MB, free: 1.465 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-05/0.5726, allocations: 4 kB / 414.5 MB, free: 1.461 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001668/0.5728, allocations: 135.7 kB / 414.6 MB, free: 1.328 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5728, allocations: 0 / 414.6 MB, free: 1.328 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003836/0.5732, allocations: 32 kB / 414.7 MB, free: 1.297 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.00157/0.5747, allocations: 0.9746 MB / 415.6 MB, free: 388 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003068/0.5751, allocations: 107.4 kB / 415.7 MB, free: 268 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.5751, allocations: 0 / 415.7 MB, free: 268 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.091e-05/0.5752, allocations: 20 kB / 415.8 MB, free: 248 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.5755, allocations: 19.94 kB / 415.8 MB, free: 228 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009753/0.5765, allocations: 469.3 kB / 416.2 MB, free: 15.71 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.5769, allocations: 0.7083 MB / 416.9 MB, free: 14.97 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.934e-05/0.5771, allocations: 27.42 kB / 417 MB, free: 14.95 MB / 346.7 MB Notification: Performance of SimCode: time 1.192e-06/0.5771, allocations: 0 / 417 MB, free: 14.95 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.689/3.267, allocations: 2.147 MB / 419.1 MB, free: 12.8 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat does not exist to compare? outputFormat=mat