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.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.281/2.281, allocations: 209.2 MB / 224.8 MB, free: 284 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004535/0.0004536, allocations: 12 kB / 282.7 MB, free: 9.5 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3564, allocations: 48.7 MB / 331.4 MB, free: 6.395 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1604/0.5168, allocations: 74.77 MB / 406.1 MB, free: 3.555 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002927/0.5172, allocations: 71.97 kB / 406.2 MB, free: 3.484 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01562/0.5328, allocations: 3.71 MB / 409.9 MB, free: 15.79 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.5329, allocations: 3.938 kB / 409.9 MB, free: 15.78 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.5329, allocations: 4 kB / 409.9 MB, free: 15.78 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005306/0.5335, allocations: 392.9 kB / 410.3 MB, free: 15.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.5335, allocations: 12.03 kB / 410.3 MB, free: 15.33 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.447e-05/0.5336, allocations: 34.56 kB / 410.3 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.5336, allocations: 7.906 kB / 410.4 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.5339, allocations: 187 kB / 410.5 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.5339, allocations: 3.938 kB / 410.5 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.534, allocations: 8 kB / 410.5 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.5342, allocations: 59.39 kB / 410.6 MB, free: 14.97 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.5342, allocations: 0 / 410.6 MB, free: 14.97 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.5342, allocations: 8 kB / 410.6 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.5343, allocations: 7.984 kB / 410.6 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.5344, allocations: 23.98 kB / 410.6 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004954/0.5349, allocations: 296.7 kB / 410.9 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.5352, allocations: 46.56 kB / 411 MB, free: 14.54 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.5352, allocations: 0 / 411 MB, free: 14.54 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.5353, allocations: 34.56 kB / 411 MB, free: 14.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.5353, allocations: 3.938 kB / 411 MB, free: 14.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008644/0.5362, allocations: 165.5 kB / 411.2 MB, free: 14.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.416e-05/0.5363, allocations: 77.11 kB / 411.3 MB, free: 14.23 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.5364, allocations: 109 kB / 411.4 MB, free: 14.12 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.5364, allocations: 33.7 kB / 411.4 MB, free: 14.08 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.761e-05/0.5365, allocations: 154.6 kB / 411.5 MB, free: 13.93 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.5366, allocations: 23.73 kB / 411.6 MB, free: 13.9 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-06/0.5366, allocations: 0 / 411.6 MB, free: 13.9 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.5367, allocations: 314.8 kB / 411.9 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.5369, allocations: 27.98 kB / 411.9 MB, free: 13.56 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.537, allocations: 49.62 kB / 411.9 MB, free: 13.5 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.5372, allocations: 57.69 kB / 412 MB, free: 13.44 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.5372, allocations: 0 / 412 MB, free: 13.44 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003752/0.5376, allocations: 127.3 kB / 412.1 MB, free: 13.3 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.225e-05/0.5377, allocations: 33.73 kB / 412.2 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.5377, allocations: 0 / 412.2 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.5377, allocations: 4 kB / 412.2 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.5378, allocations: 11.98 kB / 412.2 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.5379, allocations: 4 kB / 412.2 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.507e-05/0.5379, allocations: 4 kB / 412.2 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.538, allocations: 3.938 kB / 412.2 MB, free: 13.24 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 (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.0001161/0.5381, allocations: 129.7 kB / 412.3 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.575e-05/0.5381, allocations: 0 / 412.3 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000396/0.5386, allocations: 109.8 kB / 412.4 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.5386, allocations: 0 / 412.4 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.5386, allocations: 0 / 412.4 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.5386, allocations: 4 kB / 412.4 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006646/0.5393, allocations: 366.5 kB / 412.8 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.5393, allocations: 0 / 412.8 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.5394, allocations: 15.98 kB / 412.8 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.5394, allocations: 0 / 412.8 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.5395, allocations: 7.938 kB / 412.8 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.5395, allocations: 0 / 412.8 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.5395, allocations: 0 / 412.8 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000369/0.5398, allocations: 191.5 kB / 413 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.566e-05/0.5399, allocations: 85.02 kB / 413.1 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.54, allocations: 7.938 kB / 413.1 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.5401, allocations: 7.984 kB / 413.1 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.5401, allocations: 4 kB / 413.1 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.5402, allocations: 4 kB / 413.1 MB, free: 12.22 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.377e-05/0.5403, allocations: 95.27 kB / 413.2 MB, free: 12.13 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5403, allocations: 0 / 413.2 MB, free: 12.13 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003753/0.5407, allocations: 31.98 kB / 413.2 MB, free: 12.1 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 (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.001555/0.5422, allocations: 0.9666 MB / 414.2 MB, free: 11.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005113/0.5428, allocations: 119.3 kB / 414.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.5428, allocations: 0 / 414.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.543, allocations: 27.98 kB / 414.3 MB, free: 11.03 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.5432, allocations: 11.98 kB / 414.3 MB, free: 11.02 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.003222/0.5465, allocations: 1.137 MB / 415.5 MB, free: 9.816 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.5468, allocations: 0.6887 MB / 416.2 MB, free: 9.102 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.931e-05/0.547, allocations: 23.42 kB / 416.2 MB, free: 9.078 MB / 346.7 MB Notification: Performance of SimCode: time 1.322e-06/0.547, allocations: 0 / 416.2 MB, free: 9.078 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.64/3.187, allocations: 1.803 MB / 418 MB, free: 7.273 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test20_res.mat does not exist to compare? outputFormat=mat