Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test15.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.CombiTable2D.Test15,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.951/1.951, allocations: 209.2 MB / 224.8 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006093/0.0006093, allocations: 16 kB / 282.7 MB, free: 9.566 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3374, allocations: 48.7 MB / 331.4 MB, free: 6.547 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.134/0.4714, allocations: 74.81 MB / 406.2 MB, free: 3.613 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/0.4718, allocations: 75.95 kB / 406.3 MB, free: 3.539 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01113/0.4829, allocations: 2.883 MB / 409.1 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.483, allocations: 0 / 409.1 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.483, allocations: 0 / 409.1 MB, free: 0.6445 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004469/0.4835, allocations: 357.6 kB / 409.5 MB, free: 256 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.4835, allocations: 16.03 kB / 409.5 MB, free: 240 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.29e-05/0.4836, allocations: 46.53 kB / 409.5 MB, free: 184 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.571e-05/0.4836, allocations: 7.906 kB / 409.6 MB, free: 176 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.4838, allocations: 175.3 kB / 409.7 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.4839, allocations: 4 kB / 409.7 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.4839, allocations: 8 kB / 409.7 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003161/0.4842, allocations: 183.3 kB / 409.9 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.4843, allocations: 7.938 kB / 409.9 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.4843, allocations: 4 kB / 409.9 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-05/0.4843, allocations: 12 kB / 409.9 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.4845, allocations: 55.78 kB / 410 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.4858, allocations: 1.708 MB / 411.7 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.4859, allocations: 165.1 kB / 411.9 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.17e-05/0.486, allocations: 75.28 kB / 411.9 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.87e-05/0.4861, allocations: 117.8 kB / 412.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 3.426e-06/0.4861, allocations: 3.938 kB / 412.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001011/0.4862, allocations: 37.55 kB / 412.1 MB, free: 13.4 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.644e-05/0.4863, allocations: 126.7 kB / 412.2 MB, free: 13.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.4865, allocations: 177.1 kB / 412.4 MB, free: 13.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.4866, allocations: 25.7 kB / 412.4 MB, free: 13.05 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.4867, allocations: 209.7 kB / 412.6 MB, free: 12.85 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.052e-05/0.4868, allocations: 11.98 kB / 412.6 MB, free: 12.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.122e-05/0.4868, allocations: 4 kB / 412.6 MB, free: 12.83 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.4869, allocations: 318.8 kB / 412.9 MB, free: 12.51 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.435e-05/0.487, allocations: 31.97 kB / 413 MB, free: 12.48 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.4872, allocations: 158.4 kB / 413.1 MB, free: 12.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.4874, allocations: 59.92 kB / 413.2 MB, free: 12.21 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.4874, allocations: 8 kB / 413.2 MB, free: 12.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004738/0.4879, allocations: 189.7 kB / 413.4 MB, free: 12.01 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.488, allocations: 8.062 kB / 413.4 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.488, allocations: 8 kB / 413.4 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.822e-05/0.488, allocations: 8 kB / 413.4 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.4883, allocations: 39.92 kB / 413.4 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.055e-05/0.4883, allocations: 15.89 kB / 413.5 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/0.4885, allocations: 19.75 kB / 413.5 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.4886, allocations: 12 kB / 413.5 MB, free: 11.9 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0002165/0.4888, allocations: 216.1 kB / 413.7 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.4889, allocations: 112.9 kB / 413.8 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.489, allocations: 120.8 kB / 413.9 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-05/0.4891, allocations: 184.3 kB / 414.1 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.97e-05/0.4893, allocations: 180.2 kB / 414.3 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.596e-05/0.4894, allocations: 184.2 kB / 414.5 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003264/0.4897, allocations: 417.2 kB / 414.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.581e-05/0.4898, allocations: 112.9 kB / 415 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.938e-05/0.4898, allocations: 105 kB / 415.1 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.78e-05/0.4899, allocations: 180.2 kB / 415.3 MB, free: 10 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.475e-05/0.49, allocations: 178.1 kB / 415.4 MB, free: 9.824 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.129e-05/0.4901, allocations: 184.3 kB / 415.6 MB, free: 9.637 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.641e-05/0.4902, allocations: 184.2 kB / 415.8 MB, free: 9.449 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.4904, allocations: 311.6 kB / 416.1 MB, free: 9.121 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.4905, allocations: 190 kB / 416.3 MB, free: 8.91 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.4906, allocations: 188.2 kB / 416.5 MB, free: 8.719 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.4908, allocations: 104.9 kB / 416.6 MB, free: 8.609 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.769e-05/0.4909, allocations: 184.3 kB / 416.8 MB, free: 8.422 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.533e-05/0.491, allocations: 108.9 kB / 416.9 MB, free: 8.309 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001973/0.4912, allocations: 140 kB / 417 MB, free: 8.172 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4912, allocations: 0 / 417 MB, free: 8.172 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004102/0.4916, allocations: 20 kB / 417 MB, free: 8.152 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0009726/0.4926, allocations: 0.8873 MB / 417.9 MB, free: 7.266 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002826/0.4929, allocations: 76.14 kB / 418 MB, free: 7.191 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4929, allocations: 0 / 418 MB, free: 7.191 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.935e-06/0.4929, allocations: 1.25 kB / 418 MB, free: 7.191 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.4934, allocations: 0.5341 MB / 418.5 MB, free: 6.652 MB / 346.7 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005111/0.4985, allocations: 4.381 MB / 422.9 MB, free: 2.113 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/0.4989, allocations: 0.7009 MB / 423.6 MB, free: 1.387 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.4991, allocations: 27.42 kB / 423.6 MB, free: 1.359 MB / 346.7 MB Notification: Performance of SimCode: time 1.373e-06/0.4991, allocations: 3.938 kB / 423.6 MB, free: 1.355 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.686/3.185, allocations: 1.788 MB / 425.4 MB, free: 15.57 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test15_res.mat does not exist to compare? outputFormat=mat