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.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.255/2.255, allocations: 209.2 MB / 224.8 MB, free: 1.215 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005049/0.0005052, allocations: 16 kB / 282.7 MB, free: 9.625 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1079, allocations: 48.7 MB / 331.4 MB, free: 8.832 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4138/0.5218, allocations: 74.49 MB / 405.8 MB, free: 10.54 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/0.5221, allocations: 71.97 kB / 405.9 MB, free: 10.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01198/0.5341, allocations: 2.59 MB / 408.5 MB, free: 7.887 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.205e-06/0.5342, allocations: 0 / 408.5 MB, free: 7.887 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.745e-05/0.5342, allocations: 4 kB / 408.5 MB, free: 7.883 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005411/0.5348, allocations: 399.7 kB / 408.9 MB, free: 7.441 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.5348, allocations: 12.03 kB / 408.9 MB, free: 7.43 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.289e-05/0.5349, allocations: 34.56 kB / 408.9 MB, free: 7.387 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.755e-05/0.535, allocations: 11.89 kB / 409 MB, free: 7.375 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.5352, allocations: 191.3 kB / 409.1 MB, free: 7.148 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.5353, allocations: 0 / 409.1 MB, free: 7.148 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.5353, allocations: 4 kB / 409.2 MB, free: 7.145 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.5355, allocations: 57.61 kB / 409.2 MB, free: 7.082 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.5355, allocations: 4 kB / 409.2 MB, free: 7.078 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.5355, allocations: 0 / 409.2 MB, free: 7.078 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.5356, allocations: 0 / 409.2 MB, free: 7.078 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.5357, allocations: 28.86 kB / 409.2 MB, free: 7.051 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004855/0.5362, allocations: 276.9 kB / 409.5 MB, free: 6.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002848/0.5365, allocations: 50.5 kB / 409.6 MB, free: 6.672 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.5366, allocations: 0 / 409.6 MB, free: 6.672 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.877e-05/0.5366, allocations: 34.64 kB / 409.6 MB, free: 6.629 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.714e-06/0.5366, allocations: 0 / 409.6 MB, free: 6.629 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009004/0.5376, allocations: 161.4 kB / 409.8 MB, free: 6.465 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.5376, allocations: 51.41 kB / 409.8 MB, free: 6.402 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.5378, allocations: 133.1 kB / 409.9 MB, free: 6.262 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.5379, allocations: 29.7 kB / 410 MB, free: 6.227 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.908e-05/0.538, allocations: 166.5 kB / 410.1 MB, free: 6.062 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.538, allocations: 7.812 kB / 410.1 MB, free: 6.055 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.376e-06/0.538, allocations: 4 kB / 410.1 MB, free: 6.051 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.5382, allocations: 318.8 kB / 410.4 MB, free: 5.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.5383, allocations: 23.98 kB / 410.5 MB, free: 5.707 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.5385, allocations: 32.05 kB / 410.5 MB, free: 5.676 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.5386, allocations: 57.69 kB / 410.6 MB, free: 5.613 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5387, allocations: 0 / 410.6 MB, free: 5.613 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003929/0.5391, allocations: 127.3 kB / 410.7 MB, free: 5.477 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.734e-05/0.5391, allocations: 29.7 kB / 410.7 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.5392, allocations: 0 / 410.7 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.5392, allocations: 3.938 kB / 410.7 MB, free: 5.438 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.5393, allocations: 15.98 kB / 410.7 MB, free: 5.422 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.5393, allocations: 0 / 410.7 MB, free: 5.422 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.134e-05/0.5394, allocations: 8 kB / 410.7 MB, free: 5.414 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.5395, allocations: 19.88 kB / 410.8 MB, free: 5.395 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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.0001268/0.5396, allocations: 113.8 kB / 410.9 MB, free: 5.273 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/0.5396, allocations: 7.906 kB / 410.9 MB, free: 5.266 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004057/0.5401, allocations: 109.5 kB / 411 MB, free: 5.156 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.5401, allocations: 288 / 411 MB, free: 5.156 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.5401, allocations: 7.984 kB / 411 MB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.5401, allocations: 0 / 411 MB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006953/0.5408, allocations: 350.5 kB / 411.3 MB, free: 4.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.5408, allocations: 3.984 kB / 411.3 MB, free: 4.746 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.541, allocations: 19.98 kB / 411.4 MB, free: 4.727 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.956e-06/0.541, allocations: 0 / 411.4 MB, free: 4.727 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.541, allocations: 11.94 kB / 411.4 MB, free: 4.715 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.541, allocations: 0 / 411.4 MB, free: 4.715 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.541, allocations: 0 / 411.4 MB, free: 4.715 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004083/0.5415, allocations: 195.7 kB / 411.6 MB, free: 4.508 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.031e-05/0.5415, allocations: 85.02 kB / 411.6 MB, free: 4.406 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.5416, allocations: 0 / 411.6 MB, free: 4.406 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.5417, allocations: 11.98 kB / 411.7 MB, free: 4.395 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.5418, allocations: 4 kB / 411.7 MB, free: 4.391 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-06/0.5418, allocations: 0 / 411.7 MB, free: 4.391 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001265/0.5419, allocations: 107.2 kB / 411.8 MB, free: 4.285 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5419, allocations: 0 / 411.8 MB, free: 4.285 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003615/0.5423, allocations: 23.92 kB / 411.8 MB, free: 4.262 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.00139/0.5437, allocations: 0.8694 MB / 412.7 MB, free: 3.418 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004371/0.5442, allocations: 119.4 kB / 412.8 MB, free: 3.289 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.5442, allocations: 0 / 412.8 MB, free: 3.289 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.5444, allocations: 35.92 kB / 412.8 MB, free: 3.254 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.5447, allocations: 8 kB / 412.8 MB, free: 3.246 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008843/0.5456, allocations: 432.8 kB / 413.2 MB, free: 2.762 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.5459, allocations: 0.6887 MB / 413.9 MB, free: 2.047 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.271e-05/0.546, allocations: 23.42 kB / 413.9 MB, free: 2.023 MB / 330.7 MB Notification: Performance of SimCode: time 1.062e-06/0.5461, allocations: 0 / 413.9 MB, free: 2.023 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.707/3.253, allocations: 1.532 MB / 415.5 MB, free: 0.5 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test1_res.mat does not exist to compare? outputFormat=mat