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.Test52.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.Test52,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.959/1.959, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004281/0.0004284, allocations: 12 kB / 282.7 MB, free: 9.562 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.4202, allocations: 48.71 MB / 331.4 MB, free: 6.402 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1369/0.5571, allocations: 75.88 MB / 407.2 MB, free: 2.445 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/0.5575, allocations: 67.97 kB / 407.3 MB, free: 2.379 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01798/0.5755, allocations: 4.215 MB / 411.5 MB, free: 14.17 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5755, allocations: 0 / 411.5 MB, free: 14.17 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.712e-05/0.5755, allocations: 4 kB / 411.5 MB, free: 14.17 MB / 346.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.0006627/0.5762, allocations: 440.5 kB / 412 MB, free: 13.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.5763, allocations: 16.03 kB / 412 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.949e-05/0.5763, allocations: 34.56 kB / 412 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.923e-05/0.5764, allocations: 7.906 kB / 412 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.5767, allocations: 206.8 kB / 412.2 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.5768, allocations: 4 kB / 412.2 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.5768, allocations: 0 / 412.2 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.5769, allocations: 45.69 kB / 412.3 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.5769, allocations: 0 / 412.3 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.577, allocations: 4 kB / 412.3 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.577, allocations: 4 kB / 412.3 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.642e-05/0.5771, allocations: 15.92 kB / 412.3 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005002/0.5776, allocations: 300.8 kB / 412.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.5779, allocations: 42.56 kB / 412.6 MB, free: 12.9 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.5779, allocations: 0 / 412.6 MB, free: 12.9 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001508/0.578, allocations: 71.42 kB / 412.7 MB, free: 12.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.704e-06/0.5781, allocations: 0 / 412.7 MB, free: 12.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005176/0.5786, allocations: 121.2 kB / 412.8 MB, free: 12.7 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.5787, allocations: 55.34 kB / 412.9 MB, free: 12.63 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.579, allocations: 202.3 kB / 413.1 MB, free: 12.42 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.579, allocations: 25.7 kB / 413.1 MB, free: 12.39 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.193e-05/0.5791, allocations: 166.6 kB / 413.3 MB, free: 12.22 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/0.5792, allocations: 15.8 kB / 413.3 MB, free: 12.21 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-06/0.5792, allocations: 0 / 413.3 MB, free: 12.21 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.5793, allocations: 318.8 kB / 413.6 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.245e-05/0.5794, allocations: 23.98 kB / 413.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.91e-05/0.5795, allocations: 23.94 kB / 413.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.5796, allocations: 57.67 kB / 413.7 MB, free: 11.78 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.5796, allocations: 0 / 413.7 MB, free: 11.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002917/0.5799, allocations: 127.3 kB / 413.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.744e-05/0.58, allocations: 33.69 kB / 413.8 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.58, allocations: 0 / 413.8 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.58, allocations: 0 / 413.8 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.179e-05/0.5801, allocations: 12 kB / 413.9 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.5801, allocations: 0 / 413.9 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.927e-05/0.5802, allocations: 4 kB / 413.9 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.5803, allocations: 11.94 kB / 413.9 MB, free: 11.57 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: 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.000137/0.5804, allocations: 126.1 kB / 414 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.5804, allocations: 7.906 kB / 414 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002844/0.5807, allocations: 106.6 kB / 414.1 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.716e-06/0.5808, allocations: 0 / 414.1 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5808, allocations: 4 kB / 414.1 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.5808, allocations: 0 / 414.1 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005214/0.5813, allocations: 370.4 kB / 414.5 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.5813, allocations: 0 / 414.5 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.815e-05/0.5814, allocations: 8 kB / 414.5 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.5814, allocations: 0 / 414.5 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.5814, allocations: 0 / 414.5 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.5814, allocations: 4 kB / 414.5 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.5815, allocations: 3.984 kB / 414.5 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.5817, allocations: 179.4 kB / 414.7 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.996e-05/0.5818, allocations: 92.95 kB / 414.8 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/0.5819, allocations: 3.984 kB / 414.8 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.4e-05/0.582, allocations: 0 / 414.8 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.582, allocations: 11.94 kB / 414.8 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.582, allocations: 8.031 kB / 414.8 MB, free: 10.56 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002119/0.5823, allocations: 159.8 kB / 414.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5823, allocations: 0 / 414.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003836/0.5827, allocations: 40 kB / 415 MB, free: 10.37 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: 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.001508/0.5842, allocations: 0.9806 MB / 416 MB, free: 9.441 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002748/0.5845, allocations: 115.3 kB / 416.1 MB, free: 9.316 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.5845, allocations: 3.938 kB / 416.1 MB, free: 9.312 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.348e-05/0.5846, allocations: 20 kB / 416.1 MB, free: 9.293 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.5849, allocations: 15.92 kB / 416.1 MB, free: 9.277 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009981/0.5859, allocations: 0.5063 MB / 416.6 MB, free: 8.719 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.5863, allocations: 0.7121 MB / 417.3 MB, free: 7.98 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.157e-05/0.5864, allocations: 27.42 kB / 417.3 MB, free: 7.953 MB / 346.7 MB Notification: Performance of SimCode: time 1.233e-06/0.5864, allocations: 0 / 417.3 MB, free: 7.953 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.814/3.4, allocations: 2.329 MB / 419.7 MB, free: 5.629 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat does not exist to compare? outputFormat=mat