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.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.857/1.857, allocations: 209.2 MB / 224.8 MB, free: 0.7656 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004369/0.0004369, allocations: 16 kB / 282.7 MB, free: 9.562 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1117, allocations: 48.7 MB / 331.4 MB, free: 8.773 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4365/0.5483, allocations: 75.86 MB / 407.2 MB, free: 9.258 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/0.5486, allocations: 67.97 kB / 407.3 MB, free: 9.191 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01744/0.5661, allocations: 4.162 MB / 411.5 MB, free: 5.043 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.5662, allocations: 0 / 411.5 MB, free: 5.043 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.5662, allocations: 4 kB / 411.5 MB, free: 5.039 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.0006224/0.5668, allocations: 440.5 kB / 411.9 MB, free: 4.555 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.5669, allocations: 16.02 kB / 411.9 MB, free: 4.539 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.672e-05/0.5669, allocations: 34.56 kB / 411.9 MB, free: 4.496 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.409e-05/0.567, allocations: 7.906 kB / 411.9 MB, free: 4.488 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.5673, allocations: 198.9 kB / 412.1 MB, free: 4.254 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.5673, allocations: 0 / 412.1 MB, free: 4.254 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.5673, allocations: 4 kB / 412.1 MB, free: 4.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.5675, allocations: 45.67 kB / 412.2 MB, free: 4.199 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.5675, allocations: 0 / 412.2 MB, free: 4.199 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.5675, allocations: 8 kB / 412.2 MB, free: 4.191 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.5675, allocations: 4 kB / 412.2 MB, free: 4.188 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.588e-05/0.5676, allocations: 15.92 kB / 412.2 MB, free: 4.172 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004609/0.5681, allocations: 296.8 kB / 412.5 MB, free: 3.832 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.5683, allocations: 42.55 kB / 412.5 MB, free: 3.781 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.5684, allocations: 0 / 412.5 MB, free: 3.781 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001449/0.5685, allocations: 67.44 kB / 412.6 MB, free: 3.703 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.034e-06/0.5685, allocations: 0 / 412.6 MB, free: 3.703 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000538/0.5691, allocations: 121.2 kB / 412.7 MB, free: 3.578 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.5691, allocations: 55.41 kB / 412.8 MB, free: 3.512 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/0.5694, allocations: 186.1 kB / 413 MB, free: 3.324 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.5695, allocations: 25.7 kB / 413 MB, free: 3.293 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.07e-05/0.5696, allocations: 166.6 kB / 413.2 MB, free: 3.129 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.063e-05/0.5696, allocations: 11.75 kB / 413.2 MB, free: 3.117 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.033e-05/0.5696, allocations: 8 kB / 413.2 MB, free: 3.109 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.5698, allocations: 318.8 kB / 413.5 MB, free: 2.789 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.523e-05/0.5699, allocations: 20 kB / 413.5 MB, free: 2.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.307e-05/0.57, allocations: 19.98 kB / 413.5 MB, free: 2.75 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.5701, allocations: 57.72 kB / 413.6 MB, free: 2.688 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.5701, allocations: 4 kB / 413.6 MB, free: 2.684 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000276/0.5704, allocations: 123.3 kB / 413.7 MB, free: 2.551 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.886e-05/0.5704, allocations: 37.69 kB / 413.7 MB, free: 2.508 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.5705, allocations: 0 / 413.7 MB, free: 2.508 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.5705, allocations: 0 / 413.7 MB, free: 2.508 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.375e-05/0.5706, allocations: 12 kB / 413.8 MB, free: 2.496 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.5706, allocations: 0 / 413.8 MB, free: 2.496 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.669e-05/0.5707, allocations: 4 kB / 413.8 MB, free: 2.492 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.5707, allocations: 7.953 kB / 413.8 MB, free: 2.484 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.0001285/0.5708, allocations: 130 kB / 413.9 MB, free: 2.348 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/0.5709, allocations: 11.81 kB / 413.9 MB, free: 2.336 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002686/0.5711, allocations: 98.03 kB / 414 MB, free: 2.238 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.5712, allocations: 3.984 kB / 414 MB, free: 2.234 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5712, allocations: 4 kB / 414 MB, free: 2.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.5712, allocations: 0 / 414 MB, free: 2.23 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005058/0.5717, allocations: 362.5 kB / 414.4 MB, free: 1.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.5717, allocations: 0 / 414.4 MB, free: 1.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.843e-05/0.5718, allocations: 11.98 kB / 414.4 MB, free: 1.809 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.5718, allocations: 0 / 414.4 MB, free: 1.809 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.5718, allocations: 4 kB / 414.4 MB, free: 1.805 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.5718, allocations: 0 / 414.4 MB, free: 1.805 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5719, allocations: 0 / 414.4 MB, free: 1.805 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.5721, allocations: 179.4 kB / 414.6 MB, free: 1.613 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.532e-05/0.5722, allocations: 89.02 kB / 414.6 MB, free: 1.508 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.5723, allocations: 4 kB / 414.6 MB, free: 1.504 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.33e-05/0.5724, allocations: 4 kB / 414.6 MB, free: 1.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.5724, allocations: 7.922 kB / 414.7 MB, free: 1.492 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.5725, allocations: 7.938 kB / 414.7 MB, free: 1.484 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002344/0.5727, allocations: 159.9 kB / 414.8 MB, free: 1.328 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.02e-07/0.5727, allocations: 4 kB / 414.8 MB, free: 1.324 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003869/0.5731, allocations: 39.94 kB / 414.9 MB, free: 1.285 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.001501/0.5746, allocations: 0.9743 MB / 415.8 MB, free: 376 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002781/0.5749, allocations: 119.3 kB / 416 MB, free: 244 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.575, allocations: 0 / 416 MB, free: 244 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.728e-05/0.575, allocations: 16 kB / 416 MB, free: 228 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.5754, allocations: 19.92 kB / 416 MB, free: 208 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.5764, allocations: 0.498 MB / 416.5 MB, free: 15.65 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.5768, allocations: 0.7043 MB / 417.2 MB, free: 14.92 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.85e-05/0.5769, allocations: 27.44 kB / 417.2 MB, free: 14.89 MB / 346.7 MB Notification: Performance of SimCode: time 1.362e-06/0.5769, allocations: 0 / 417.2 MB, free: 14.89 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.743/3.32, allocations: 2.27 MB / 419.5 MB, free: 12.63 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat does not exist to compare? outputFormat=mat