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.Test28.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.Test28,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.939/1.939, allocations: 209.2 MB / 224.8 MB, free: 1.543 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000784/0.0007841, allocations: 12 kB / 282.7 MB, free: 9.664 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1074, allocations: 48.71 MB / 331.4 MB, free: 8.867 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4541/0.5616, allocations: 75.83 MB / 407.2 MB, free: 9.301 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.5619, allocations: 63.97 kB / 407.3 MB, free: 9.238 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01794/0.5799, allocations: 3.947 MB / 411.2 MB, free: 5.309 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5799, allocations: 4 kB / 411.2 MB, free: 5.305 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.58, allocations: 0 / 411.2 MB, free: 5.305 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.0006093/0.5806, allocations: 428.6 kB / 411.6 MB, free: 4.832 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.5806, allocations: 8.031 kB / 411.6 MB, free: 4.824 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.902e-05/0.5807, allocations: 42.55 kB / 411.7 MB, free: 4.773 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.468e-05/0.5808, allocations: 7.906 kB / 411.7 MB, free: 4.766 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.581, allocations: 198.8 kB / 411.9 MB, free: 4.531 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.5811, allocations: 0 / 411.9 MB, free: 4.531 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.5811, allocations: 4 kB / 411.9 MB, free: 4.527 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.5812, allocations: 41.69 kB / 411.9 MB, free: 4.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.5813, allocations: 3.984 kB / 411.9 MB, free: 4.477 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.5813, allocations: 4 kB / 411.9 MB, free: 4.473 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.5813, allocations: 0 / 411.9 MB, free: 4.473 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.75e-05/0.5814, allocations: 11.95 kB / 412 MB, free: 4.461 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004656/0.5819, allocations: 296.9 kB / 412.2 MB, free: 4.121 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002394/0.5821, allocations: 46.5 kB / 412.3 MB, free: 4.066 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.5821, allocations: 0 / 412.3 MB, free: 4.066 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000148/0.5823, allocations: 63.39 kB / 412.3 MB, free: 3.992 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.823e-06/0.5823, allocations: 4 kB / 412.4 MB, free: 3.988 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004984/0.5828, allocations: 125.3 kB / 412.5 MB, free: 3.859 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.5829, allocations: 51.41 kB / 412.5 MB, free: 3.797 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.5831, allocations: 160.6 kB / 412.7 MB, free: 3.633 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.5832, allocations: 29.7 kB / 412.7 MB, free: 3.598 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.866e-05/0.5833, allocations: 162.5 kB / 412.9 MB, free: 3.438 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.5833, allocations: 15.81 kB / 412.9 MB, free: 3.422 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.775e-06/0.5833, allocations: 0 / 412.9 MB, free: 3.422 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.5835, allocations: 318.8 kB / 413.2 MB, free: 3.102 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.079e-05/0.5836, allocations: 23.94 kB / 413.2 MB, free: 3.078 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.502e-05/0.5837, allocations: 27.92 kB / 413.2 MB, free: 3.051 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.5838, allocations: 53.7 kB / 413.3 MB, free: 2.992 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.5838, allocations: 0 / 413.3 MB, free: 2.992 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002783/0.5841, allocations: 119.4 kB / 413.4 MB, free: 2.863 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.776e-05/0.5841, allocations: 37.7 kB / 413.5 MB, free: 2.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.5842, allocations: 4.062 kB / 413.5 MB, free: 2.816 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.5842, allocations: 3.984 kB / 413.5 MB, free: 2.812 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.053e-05/0.5843, allocations: 15.89 kB / 413.5 MB, free: 2.797 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.5843, allocations: 0 / 413.5 MB, free: 2.797 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.608e-05/0.5844, allocations: 8 kB / 413.5 MB, free: 2.789 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.5844, allocations: 4 kB / 413.5 MB, free: 2.785 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.0001281/0.5845, allocations: 121.8 kB / 413.6 MB, free: 2.656 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.5846, allocations: 7.906 kB / 413.6 MB, free: 2.648 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000269/0.5849, allocations: 85.98 kB / 413.7 MB, free: 2.559 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.5849, allocations: 8.219 kB / 413.7 MB, free: 2.551 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.5849, allocations: 3.953 kB / 413.7 MB, free: 2.547 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.5849, allocations: 4 kB / 413.7 MB, free: 2.543 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005074/0.5854, allocations: 362.4 kB / 414.1 MB, free: 2.133 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.5854, allocations: 3.984 kB / 414.1 MB, free: 2.129 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.733e-05/0.5855, allocations: 8 kB / 414.1 MB, free: 2.121 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.5855, allocations: 0 / 414.1 MB, free: 2.121 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.5855, allocations: 3.953 kB / 414.1 MB, free: 2.117 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.5856, allocations: 4 kB / 414.1 MB, free: 2.113 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5856, allocations: 0 / 414.1 MB, free: 2.113 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.5858, allocations: 179.4 kB / 414.3 MB, free: 1.922 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.433e-05/0.5859, allocations: 89.02 kB / 414.3 MB, free: 1.816 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.5859, allocations: 96 / 414.3 MB, free: 1.816 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.354e-05/0.586, allocations: 11.89 kB / 414.4 MB, free: 1.805 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.5861, allocations: 4.172 kB / 414.4 MB, free: 1.801 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.5861, allocations: 8 kB / 414.4 MB, free: 1.793 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001594/0.5863, allocations: 127.8 kB / 414.5 MB, free: 1.668 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5863, allocations: 3.938 kB / 414.5 MB, free: 1.664 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003598/0.5867, allocations: 39.98 kB / 414.5 MB, free: 1.625 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.001493/0.5882, allocations: 0.9634 MB / 415.5 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002729/0.5885, allocations: 115.4 kB / 415.6 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5885, allocations: 0 / 415.6 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.572e-05/0.5886, allocations: 27.91 kB / 415.6 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.5889, allocations: 15.94 kB / 415.7 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008965/0.5898, allocations: 473.3 kB / 416.1 MB, free: 32 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.5902, allocations: 0.7004 MB / 416.8 MB, free: 15.3 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.409e-05/0.5903, allocations: 27.42 kB / 416.8 MB, free: 15.28 MB / 346.7 MB Notification: Performance of SimCode: time 8.82e-07/0.5903, allocations: 0 / 416.8 MB, free: 15.28 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.815/3.405, allocations: 2.139 MB / 419 MB, free: 13.14 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat does not exist to compare? outputFormat=mat