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.Test41.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.Test41,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.056/2.056, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004406/0.0004404, allocations: 16 kB / 282.7 MB, free: 9.551 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.3969, allocations: 48.7 MB / 331.4 MB, free: 6.418 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1854/0.5824, allocations: 75.88 MB / 407.2 MB, free: 2.426 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/0.5827, allocations: 67.97 kB / 407.3 MB, free: 2.359 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01767/0.6004, allocations: 4.16 MB / 411.5 MB, free: 14.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.6005, allocations: 0 / 411.5 MB, free: 14.2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.78e-05/0.6005, allocations: 8 kB / 411.5 MB, free: 14.2 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.0006137/0.6011, allocations: 439.7 kB / 411.9 MB, free: 13.71 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.6012, allocations: 8.031 kB / 411.9 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.524e-05/0.6013, allocations: 34.5 kB / 411.9 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.017e-05/0.6013, allocations: 11.91 kB / 412 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.6016, allocations: 202.9 kB / 412.2 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.6017, allocations: 3.984 kB / 412.2 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.6017, allocations: 4 kB / 412.2 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.6018, allocations: 41.69 kB / 412.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.6019, allocations: 0 / 412.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.6019, allocations: 0 / 412.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.6019, allocations: 4 kB / 412.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.697e-05/0.602, allocations: 15.98 kB / 412.2 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004599/0.6024, allocations: 300.8 kB / 412.5 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.6027, allocations: 46.56 kB / 412.6 MB, free: 12.94 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.6027, allocations: 0 / 412.6 MB, free: 12.94 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/0.6029, allocations: 67.42 kB / 412.6 MB, free: 12.86 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.884e-06/0.6029, allocations: 0 / 412.6 MB, free: 12.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004968/0.6034, allocations: 117.3 kB / 412.7 MB, free: 12.74 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.6035, allocations: 55.39 kB / 412.8 MB, free: 12.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002585/0.6037, allocations: 181.3 kB / 413 MB, free: 12.49 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.6038, allocations: 33.64 kB / 413 MB, free: 12.45 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.344e-05/0.6039, allocations: 158.6 kB / 413.2 MB, free: 12.3 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.6039, allocations: 23.73 kB / 413.2 MB, free: 12.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-06/0.604, allocations: 7.938 kB / 413.2 MB, free: 12.27 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.6041, allocations: 310.8 kB / 413.5 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.398e-05/0.6042, allocations: 23.98 kB / 413.5 MB, free: 11.93 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.93e-05/0.6042, allocations: 23.98 kB / 413.5 MB, free: 11.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.6044, allocations: 53.7 kB / 413.6 MB, free: 11.85 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.6044, allocations: 0 / 413.6 MB, free: 11.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002978/0.6047, allocations: 127.3 kB / 413.7 MB, free: 11.71 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.862e-05/0.6047, allocations: 29.7 kB / 413.8 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.6048, allocations: 0 / 413.8 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.6048, allocations: 4.281 kB / 413.8 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.589e-05/0.6049, allocations: 24.05 kB / 413.8 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.6049, allocations: 0 / 413.8 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.262e-05/0.605, allocations: 0 / 413.8 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.605, allocations: 7.953 kB / 413.8 MB, free: 11.64 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.0001275/0.6051, allocations: 129.8 kB / 413.9 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.6052, allocations: 11.81 kB / 413.9 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002586/0.6054, allocations: 89.92 kB / 414 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.6055, allocations: 4 kB / 414 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.6055, allocations: 4 kB / 414 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.6055, allocations: 0 / 414 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004838/0.606, allocations: 362.5 kB / 414.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.606, allocations: 4 kB / 414.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.562e-05/0.6061, allocations: 7.938 kB / 414.4 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.6061, allocations: 0 / 414.4 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.6061, allocations: 4 kB / 414.4 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.6061, allocations: 0 / 414.4 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.6061, allocations: 0 / 414.4 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.6064, allocations: 183.5 kB / 414.6 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.784e-05/0.6065, allocations: 88.95 kB / 414.7 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.357e-05/0.6065, allocations: 7.984 kB / 414.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.133e-05/0.6066, allocations: 4 kB / 414.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.6066, allocations: 4 kB / 414.7 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.6067, allocations: 7.938 kB / 414.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001886/0.6069, allocations: 152.9 kB / 414.8 MB, free: 10.5 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.6069, allocations: 4 kB / 414.8 MB, free: 10.49 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003732/0.6073, allocations: 43.92 kB / 414.9 MB, free: 10.45 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.001477/0.6088, allocations: 0.98 MB / 415.9 MB, free: 9.523 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002595/0.609, allocations: 111.3 kB / 416 MB, free: 9.402 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.609, allocations: 0 / 416 MB, free: 9.402 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.901e-05/0.6091, allocations: 19.98 kB / 416 MB, free: 9.383 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.6094, allocations: 19.92 kB / 416 MB, free: 9.363 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009475/0.6104, allocations: 0.4941 MB / 416.5 MB, free: 8.812 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.6108, allocations: 0.7082 MB / 417.2 MB, free: 8.078 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.456e-05/0.6109, allocations: 27.42 kB / 417.2 MB, free: 8.051 MB / 346.7 MB Notification: Performance of SimCode: time 8.62e-07/0.6109, allocations: 0 / 417.2 MB, free: 8.051 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.611/3.222, allocations: 2.266 MB / 419.5 MB, free: 5.793 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat does not exist to compare? outputFormat=mat