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.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.005/2.005, allocations: 209.2 MB / 224.8 MB, free: 1.547 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000601/0.0006011, allocations: 16 kB / 282.7 MB, free: 9.672 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1108, allocations: 48.7 MB / 331.4 MB, free: 8.875 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4505/0.5614, allocations: 75.87 MB / 407.2 MB, free: 9.164 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/0.5617, allocations: 71.97 kB / 407.3 MB, free: 9.094 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01916/0.5809, allocations: 4.271 MB / 411.6 MB, free: 4.836 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5809, allocations: 0 / 411.6 MB, free: 4.836 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.894e-05/0.581, allocations: 4 kB / 411.6 MB, free: 4.832 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.0007527/0.5817, allocations: 456.4 kB / 412 MB, free: 4.332 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.852e-05/0.5818, allocations: 8.031 kB / 412 MB, free: 4.324 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.904e-05/0.5819, allocations: 34.56 kB / 412.1 MB, free: 4.281 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.497e-05/0.582, allocations: 11.81 kB / 412.1 MB, free: 4.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/0.5823, allocations: 210.8 kB / 412.3 MB, free: 4.023 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.5824, allocations: 3.984 kB / 412.3 MB, free: 4.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.5824, allocations: 8 kB / 412.3 MB, free: 4.012 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.5825, allocations: 41.69 kB / 412.3 MB, free: 3.965 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.5826, allocations: 0 / 412.3 MB, free: 3.965 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.5826, allocations: 8 kB / 412.4 MB, free: 3.957 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.5826, allocations: 0 / 412.4 MB, free: 3.957 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.4e-05/0.5827, allocations: 15.92 kB / 412.4 MB, free: 3.941 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005828/0.5833, allocations: 300.9 kB / 412.7 MB, free: 3.598 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/0.5836, allocations: 46.56 kB / 412.7 MB, free: 3.543 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.5836, allocations: 0 / 412.7 MB, free: 3.543 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.5838, allocations: 63.42 kB / 412.8 MB, free: 3.469 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.5838, allocations: 0 / 412.8 MB, free: 3.469 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005636/0.5844, allocations: 133.4 kB / 412.9 MB, free: 3.332 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.5845, allocations: 55.36 kB / 413 MB, free: 3.266 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003434/0.5848, allocations: 205.8 kB / 413.2 MB, free: 3.059 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.5849, allocations: 29.7 kB / 413.2 MB, free: 3.023 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.585, allocations: 174.4 kB / 413.4 MB, free: 2.852 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.585, allocations: 15.81 kB / 413.4 MB, free: 2.836 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/0.585, allocations: 3.938 kB / 413.4 MB, free: 2.832 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.5852, allocations: 318.8 kB / 413.7 MB, free: 2.512 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.932e-05/0.5853, allocations: 20 kB / 413.7 MB, free: 2.492 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.366e-05/0.5854, allocations: 23.97 kB / 413.7 MB, free: 2.469 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.5855, allocations: 53.7 kB / 413.8 MB, free: 2.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5855, allocations: 0 / 413.8 MB, free: 2.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003162/0.5859, allocations: 127.3 kB / 413.9 MB, free: 2.273 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.706e-05/0.5859, allocations: 37.7 kB / 413.9 MB, free: 2.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.586, allocations: 3.984 kB / 413.9 MB, free: 2.227 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.586, allocations: 0 / 413.9 MB, free: 2.227 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.5861, allocations: 11.98 kB / 414 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.5861, allocations: 0 / 414 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.99e-05/0.5862, allocations: 12.02 kB / 414 MB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.5862, allocations: 4.156 kB / 414 MB, free: 2.199 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.0001688/0.5864, allocations: 136.6 kB / 414.1 MB, free: 2.059 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.5865, allocations: 15.91 kB / 414.1 MB, free: 2.043 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002955/0.5868, allocations: 94.52 kB / 414.2 MB, free: 1.945 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.5868, allocations: 3.984 kB / 414.2 MB, free: 1.941 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.5868, allocations: 4 kB / 414.2 MB, free: 1.938 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.5868, allocations: 0 / 414.2 MB, free: 1.938 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005616/0.5874, allocations: 370.5 kB / 414.6 MB, free: 1.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.5874, allocations: 0 / 414.6 MB, free: 1.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.179e-05/0.5875, allocations: 4 kB / 414.6 MB, free: 1.516 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.5875, allocations: 4 kB / 414.6 MB, free: 1.512 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.5875, allocations: 7.984 kB / 414.6 MB, free: 1.504 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.5875, allocations: 0 / 414.6 MB, free: 1.504 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/0.5876, allocations: 3.953 kB / 414.6 MB, free: 1.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.5878, allocations: 171.5 kB / 414.8 MB, free: 1.316 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.34e-05/0.5879, allocations: 100.8 kB / 414.9 MB, free: 1.199 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.421e-05/0.588, allocations: 8 kB / 414.9 MB, free: 1.191 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.5881, allocations: 4 kB / 414.9 MB, free: 1.188 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.044e-05/0.5882, allocations: 11.89 kB / 414.9 MB, free: 1.176 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.5882, allocations: 3.984 kB / 414.9 MB, free: 1.172 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002622/0.5885, allocations: 176.2 kB / 415.1 MB, free: 1 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5885, allocations: 3.938 kB / 415.1 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004046/0.5889, allocations: 35.92 kB / 415.1 MB, free: 0.9609 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.001661/0.5906, allocations: 0.9681 MB / 416.1 MB, free: 48 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003777/0.591, allocations: 119.4 kB / 416.2 MB, free: 15.91 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.591, allocations: 0 / 416.2 MB, free: 15.91 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.5911, allocations: 19.98 kB / 416.2 MB, free: 15.89 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.5915, allocations: 17 kB / 416.2 MB, free: 15.88 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.5927, allocations: 0.534 MB / 416.8 MB, free: 15.29 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.5932, allocations: 0.7121 MB / 417.5 MB, free: 14.55 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.5933, allocations: 31.42 kB / 417.5 MB, free: 14.52 MB / 346.7 MB Notification: Performance of SimCode: time 1.232e-06/0.5933, allocations: 0 / 417.5 MB, free: 14.52 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.672/3.266, allocations: 2.429 MB / 419.9 MB, free: 12.09 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat does not exist to compare? outputFormat=mat