Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test4.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test4,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.618/2.618, allocations: 234.9 MB / 250.5 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006045/0.0006047, allocations: 16 kB / 314.5 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3642, allocations: 54.86 MB / 369.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1593/0.5236, allocations: 81.09 MB / 450.4 MB, free: 9.504 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/0.5239, allocations: 75.89 kB / 450.5 MB, free: 9.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0144/0.5384, allocations: 3.461 MB / 454 MB, free: 5.957 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.5384, allocations: 0 / 454 MB, free: 5.957 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.5384, allocations: 0 / 454 MB, free: 5.957 MB / 378.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.0006063/0.5391, allocations: 452.5 kB / 454.4 MB, free: 5.461 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.5391, allocations: 12.03 kB / 454.4 MB, free: 5.449 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.79e-05/0.5392, allocations: 34.56 kB / 454.5 MB, free: 5.406 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.095e-05/0.5392, allocations: 15.77 kB / 454.5 MB, free: 5.391 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/0.5395, allocations: 202.8 kB / 454.7 MB, free: 5.152 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.5396, allocations: 0 / 454.7 MB, free: 5.152 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.66e-05/0.5396, allocations: 8 kB / 454.7 MB, free: 5.145 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.5399, allocations: 75.39 kB / 454.8 MB, free: 5.059 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.5399, allocations: 3.984 kB / 454.8 MB, free: 5.055 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.5399, allocations: 4 kB / 454.8 MB, free: 5.051 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.54, allocations: 7.953 kB / 454.8 MB, free: 5.043 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001948/0.5402, allocations: 43.91 kB / 454.8 MB, free: 5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006294/0.5408, allocations: 401 kB / 455.2 MB, free: 4.555 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004006/0.5412, allocations: 90.97 kB / 455.3 MB, free: 4.449 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.086e-05/0.5413, allocations: 4 kB / 455.3 MB, free: 4.445 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.5413, allocations: 46.53 kB / 455.3 MB, free: 4.391 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.415e-06/0.5413, allocations: 0 / 455.3 MB, free: 4.391 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.001144/0.5425, allocations: 252.8 kB / 455.6 MB, free: 4.137 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.5426, allocations: 81.09 kB / 455.7 MB, free: 4.039 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003122/0.5429, allocations: 198.5 kB / 455.9 MB, free: 3.832 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.5429, allocations: 33.64 kB / 455.9 MB, free: 3.793 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.589e-05/0.543, allocations: 166.5 kB / 456.1 MB, free: 3.629 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.736e-05/0.5431, allocations: 31.55 kB / 456.1 MB, free: 3.598 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.296e-06/0.5431, allocations: 4 kB / 456.1 MB, free: 3.594 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.5432, allocations: 318.8 kB / 456.4 MB, free: 3.273 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.5434, allocations: 39.97 kB / 456.5 MB, free: 3.234 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.5436, allocations: 39.91 kB / 456.5 MB, free: 3.195 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.5438, allocations: 73.69 kB / 456.6 MB, free: 3.117 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5438, allocations: 0 / 456.6 MB, free: 3.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004565/0.5443, allocations: 163.4 kB / 456.7 MB, free: 2.945 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.598e-05/0.5444, allocations: 33.7 kB / 456.8 MB, free: 2.906 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.5444, allocations: 0 / 456.8 MB, free: 2.906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.5444, allocations: 0 / 456.8 MB, free: 2.906 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.5446, allocations: 31.92 kB / 456.8 MB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.5446, allocations: 0 / 456.8 MB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.383e-05/0.5447, allocations: 8 kB / 456.8 MB, free: 2.867 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.5448, allocations: 0 / 456.8 MB, free: 2.867 MB / 378.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.0001522/0.5449, allocations: 133.8 kB / 456.9 MB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.056e-05/0.545, allocations: 11.86 kB / 456.9 MB, free: 2.715 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005577/0.5456, allocations: 166.6 kB / 457.1 MB, free: 2.543 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.5456, allocations: 4.562 kB / 457.1 MB, free: 2.539 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.5456, allocations: 4.062 kB / 457.1 MB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.5456, allocations: 0 / 457.1 MB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.5467, allocations: 0.5337 MB / 457.6 MB, free: 1.941 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.5467, allocations: 3.938 kB / 457.6 MB, free: 1.938 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.5469, allocations: 27.98 kB / 457.7 MB, free: 1.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.5469, allocations: 0 / 457.7 MB, free: 1.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.5469, allocations: 4 kB / 457.7 MB, free: 1.906 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.5469, allocations: 4.031 kB / 457.7 MB, free: 1.902 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5469, allocations: 0 / 457.7 MB, free: 1.902 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005145/0.5475, allocations: 334.9 kB / 458 MB, free: 1.543 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.521e-05/0.5476, allocations: 96.92 kB / 458.1 MB, free: 1.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.48e-05/0.5476, allocations: 7.984 kB / 458.1 MB, free: 1.422 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.5478, allocations: 4 kB / 458.1 MB, free: 1.418 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.567e-05/0.5479, allocations: 11.98 kB / 458.1 MB, free: 1.406 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.5479, allocations: 4 kB / 458.1 MB, free: 1.402 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002399/0.5481, allocations: 167.9 kB / 458.3 MB, free: 1.238 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5482, allocations: 0 / 458.3 MB, free: 1.238 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004201/0.5486, allocations: 35.86 kB / 458.3 MB, free: 1.203 MB / 378.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.001732/0.5503, allocations: 1.201 MB / 459.5 MB, free: 36 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005306/0.5509, allocations: 147.3 kB / 459.7 MB, free: 15.88 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.5509, allocations: 8 kB / 459.7 MB, free: 15.87 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.5511, allocations: 43.97 kB / 459.7 MB, free: 15.83 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.5515, allocations: 19.89 kB / 459.7 MB, free: 15.81 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.5527, allocations: 0.5746 MB / 460.3 MB, free: 15.16 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.5531, allocations: 0.7199 MB / 461 MB, free: 14.42 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.5532, allocations: 43.42 kB / 461.1 MB, free: 14.38 MB / 394.7 MB Notification: Performance of SimCode: time 1.113e-06/0.5532, allocations: 0 / 461.1 MB, free: 14.38 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.825/3.378, allocations: 2.27 MB / 463.3 MB, free: 12.11 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test4_res.mat does not exist to compare? outputFormat=mat