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.Test36.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.Test36,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.039/2.039, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006032/0.0006035, allocations: 16 kB / 282.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1025, allocations: 48.7 MB / 331.4 MB, free: 8.75 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3876/0.4902, allocations: 75.86 MB / 407.2 MB, free: 9.09 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/0.4905, allocations: 67.97 kB / 407.3 MB, free: 9.023 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01884/0.5094, allocations: 4.244 MB / 411.5 MB, free: 4.793 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.5094, allocations: 0 / 411.5 MB, free: 4.793 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.878e-05/0.5095, allocations: 3.938 kB / 411.5 MB, free: 4.789 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.0006859/0.5102, allocations: 447.6 kB / 412 MB, free: 4.301 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.5102, allocations: 8.031 kB / 412 MB, free: 4.293 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.337e-05/0.5103, allocations: 30.56 kB / 412 MB, free: 4.254 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.398e-05/0.5103, allocations: 11.91 kB / 412 MB, free: 4.242 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/0.5107, allocations: 214.8 kB / 412.2 MB, free: 3.992 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.5107, allocations: 0 / 412.2 MB, free: 3.992 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.5107, allocations: 4 kB / 412.2 MB, free: 3.988 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.5109, allocations: 41.69 kB / 412.3 MB, free: 3.941 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.5109, allocations: 3.938 kB / 412.3 MB, free: 3.938 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.5109, allocations: 0 / 412.3 MB, free: 3.938 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.5109, allocations: 4 kB / 412.3 MB, free: 3.934 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.33e-05/0.511, allocations: 15.98 kB / 412.3 MB, free: 3.918 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004895/0.5115, allocations: 304.8 kB / 412.6 MB, free: 3.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.5118, allocations: 42.56 kB / 412.6 MB, free: 3.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.5118, allocations: 3.938 kB / 412.7 MB, free: 3.516 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001394/0.5119, allocations: 55.48 kB / 412.7 MB, free: 3.449 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.364e-06/0.512, allocations: 3.938 kB / 412.7 MB, free: 3.445 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000519/0.5125, allocations: 133.2 kB / 412.8 MB, free: 3.309 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.5126, allocations: 59.34 kB / 412.9 MB, free: 3.238 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/0.5129, allocations: 202.3 kB / 413.1 MB, free: 3.027 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.5129, allocations: 25.7 kB / 413.1 MB, free: 2.996 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.354e-05/0.513, allocations: 162.6 kB / 413.3 MB, free: 2.836 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.5131, allocations: 11.81 kB / 413.3 MB, free: 2.824 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.879e-06/0.5131, allocations: 4 kB / 413.3 MB, free: 2.82 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.5132, allocations: 318.8 kB / 413.6 MB, free: 2.5 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.022e-05/0.5133, allocations: 23.98 kB / 413.6 MB, free: 2.477 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.583e-05/0.5134, allocations: 20 kB / 413.6 MB, free: 2.457 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.5135, allocations: 53.69 kB / 413.7 MB, free: 2.398 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5135, allocations: 4 kB / 413.7 MB, free: 2.395 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000286/0.5138, allocations: 119.3 kB / 413.8 MB, free: 2.266 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.896e-05/0.5139, allocations: 41.69 kB / 413.9 MB, free: 2.219 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.5139, allocations: 0 / 413.9 MB, free: 2.219 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.5139, allocations: 0 / 413.9 MB, free: 2.219 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.333e-05/0.514, allocations: 8.281 kB / 413.9 MB, free: 2.211 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.514, allocations: 0 / 413.9 MB, free: 2.211 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.383e-05/0.5141, allocations: 4 kB / 413.9 MB, free: 2.207 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.5142, allocations: 11.95 kB / 413.9 MB, free: 2.195 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.0001462/0.5143, allocations: 133.8 kB / 414 MB, free: 2.055 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.5144, allocations: 11.89 kB / 414 MB, free: 2.043 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002728/0.5147, allocations: 90.66 kB / 414.1 MB, free: 1.949 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.5147, allocations: 4 kB / 414.1 MB, free: 1.945 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.5147, allocations: 0 / 414.1 MB, free: 1.945 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.5147, allocations: 0 / 414.1 MB, free: 1.945 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005226/0.5152, allocations: 378.4 kB / 414.5 MB, free: 1.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.5153, allocations: 3.938 kB / 414.5 MB, free: 1.516 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.753e-05/0.5153, allocations: 8 kB / 414.5 MB, free: 1.508 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.5153, allocations: 0 / 414.5 MB, free: 1.508 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.5154, allocations: 0 / 414.5 MB, free: 1.508 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.5154, allocations: 0 / 414.5 MB, free: 1.508 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5154, allocations: 0 / 414.5 MB, free: 1.508 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.5156, allocations: 183.3 kB / 414.7 MB, free: 1.312 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.277e-05/0.5157, allocations: 96.95 kB / 414.8 MB, free: 1.199 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.688e-05/0.5158, allocations: 7.984 kB / 414.8 MB, free: 1.191 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.687e-05/0.5159, allocations: 256 / 414.8 MB, free: 1.191 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.5159, allocations: 7.938 kB / 414.8 MB, free: 1.184 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.516, allocations: 4 kB / 414.8 MB, free: 1.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002233/0.5162, allocations: 163.9 kB / 415 MB, free: 1.02 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5162, allocations: 0 / 415 MB, free: 1.02 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003907/0.5166, allocations: 32 kB / 415 MB, free: 0.9883 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.001529/0.5181, allocations: 0.9816 MB / 416 MB, free: 64 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003119/0.5185, allocations: 119.3 kB / 416.1 MB, free: 15.93 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.5185, allocations: 4 kB / 416.1 MB, free: 15.93 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.52e-05/0.5186, allocations: 16 kB / 416.1 MB, free: 15.91 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.5189, allocations: 15.98 kB / 416.1 MB, free: 15.9 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.52, allocations: 0.5063 MB / 416.6 MB, free: 15.34 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.5203, allocations: 0.7082 MB / 417.3 MB, free: 14.61 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.764e-05/0.5204, allocations: 31.42 kB / 417.4 MB, free: 14.57 MB / 346.7 MB Notification: Performance of SimCode: time 1.643e-06/0.5205, allocations: 0 / 417.4 MB, free: 14.57 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.779/3.3, allocations: 2.333 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.Test36_res.mat does not exist to compare? outputFormat=mat