Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test6.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.CombiTable1D.Test6,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.987/1.987, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004348/0.0004348, allocations: 15.94 kB / 282.7 MB, free: 9.551 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3367, allocations: 48.7 MB / 331.4 MB, free: 6.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1357/0.4724, allocations: 74.65 MB / 406 MB, free: 3.656 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/0.4727, allocations: 67.97 kB / 406.1 MB, free: 3.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01325/0.486, allocations: 3.325 MB / 409.4 MB, free: 276 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.486, allocations: 0 / 409.4 MB, free: 276 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.4861, allocations: 0 / 409.4 MB, free: 276 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005802/0.4867, allocations: 440.5 kB / 409.8 MB, free: 15.79 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.4867, allocations: 8.031 kB / 409.8 MB, free: 15.78 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.607e-05/0.4868, allocations: 34.56 kB / 409.9 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.595e-05/0.4868, allocations: 11.81 kB / 409.9 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/0.4871, allocations: 214.7 kB / 410.1 MB, free: 15.47 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.4872, allocations: 11.92 kB / 410.1 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.573e-05/0.4872, allocations: 4 kB / 410.1 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002268/0.4875, allocations: 79.39 kB / 410.2 MB, free: 15.37 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.4875, allocations: 0 / 410.2 MB, free: 15.37 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.4875, allocations: 0 / 410.2 MB, free: 15.37 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.4875, allocations: 4 kB / 410.2 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001922/0.4877, allocations: 43.91 kB / 410.2 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006205/0.4884, allocations: 409 kB / 410.6 MB, free: 14.87 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003781/0.4888, allocations: 85.16 kB / 410.7 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.4888, allocations: 4 kB / 410.7 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.4888, allocations: 34.56 kB / 410.8 MB, free: 14.72 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 3.707e-06/0.4888, allocations: 0 / 410.8 MB, free: 14.72 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.001095/0.4899, allocations: 269.3 kB / 411 MB, free: 14.45 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/0.49, allocations: 81.06 kB / 411.1 MB, free: 14.35 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/0.4903, allocations: 202.4 kB / 411.3 MB, free: 14.14 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.4904, allocations: 29.7 kB / 411.3 MB, free: 14.11 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.387e-05/0.4905, allocations: 166.5 kB / 411.5 MB, free: 13.94 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.175e-05/0.4905, allocations: 31.5 kB / 411.5 MB, free: 13.91 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.246e-06/0.4905, allocations: 4 kB / 411.5 MB, free: 13.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.4907, allocations: 322.8 kB / 411.8 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.4909, allocations: 31.98 kB / 411.9 MB, free: 13.55 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.491, allocations: 39.97 kB / 411.9 MB, free: 13.51 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002149/0.4913, allocations: 77.67 kB / 412 MB, free: 13.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4913, allocations: 0 / 412 MB, free: 13.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006913/0.492, allocations: 155.3 kB / 412.1 MB, free: 13.27 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.713e-05/0.4921, allocations: 33.7 kB / 412.2 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.4921, allocations: 0 / 412.2 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.4921, allocations: 3.984 kB / 412.2 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/0.4924, allocations: 31.92 kB / 412.2 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.4924, allocations: 0 / 412.2 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.4926, allocations: 11.94 kB / 412.2 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/0.4927, allocations: 8 kB / 412.2 MB, free: 13.17 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0002126/0.4929, allocations: 125.8 kB / 412.3 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.493, allocations: 11.91 kB / 412.4 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000802/0.4939, allocations: 162.5 kB / 412.5 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.4939, allocations: 0 / 412.5 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/0.4939, allocations: 7.938 kB / 412.5 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.4939, allocations: 0 / 412.5 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002006/0.496, allocations: 0.5337 MB / 413.1 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.496, allocations: 0 / 413.1 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/0.4963, allocations: 27.92 kB / 413.1 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/0.4963, allocations: 0 / 413.1 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.4964, allocations: 3.984 kB / 413.1 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.678e-06/0.4964, allocations: 11.98 kB / 413.1 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4964, allocations: 0 / 413.1 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007768/0.4972, allocations: 332.2 kB / 413.4 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.4974, allocations: 101 kB / 413.5 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.818e-05/0.4974, allocations: 256 / 413.5 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000335/0.4978, allocations: 12 kB / 413.5 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.948e-05/0.4979, allocations: 11.98 kB / 413.5 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/0.4979, allocations: 4 kB / 413.5 MB, free: 11.72 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003756/0.4983, allocations: 167.9 kB / 413.7 MB, free: 11.55 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.4983, allocations: 3.938 kB / 413.7 MB, free: 11.55 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009497/0.4993, allocations: 31.94 kB / 413.7 MB, free: 11.52 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.002096/0.5014, allocations: 1.148 MB / 414.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007029/0.5022, allocations: 151.3 kB / 415 MB, free: 10.22 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.5022, allocations: 0 / 415 MB, free: 10.22 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002964/0.5025, allocations: 47.97 kB / 415.1 MB, free: 10.18 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005146/0.503, allocations: 19.44 kB / 415.1 MB, free: 10.16 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.5048, allocations: 0.5826 MB / 415.7 MB, free: 9.52 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005137/0.5054, allocations: 0.7238 MB / 416.4 MB, free: 8.77 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.5056, allocations: 35.42 kB / 416.5 MB, free: 8.734 MB / 346.7 MB Notification: Performance of SimCode: time 1.162e-06/0.5056, allocations: 0 / 416.5 MB, free: 8.734 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.962/3.468, allocations: 2.27 MB / 418.7 MB, free: 6.469 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test6_res.mat does not exist to compare? outputFormat=mat