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.Test32.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.Test32,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.47/2.47, allocations: 234.9 MB / 250.5 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006453/0.0006454, allocations: 12 kB / 314.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3713, allocations: 54.86 MB / 369.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1465/0.5178, allocations: 80.97 MB / 450.3 MB, free: 9.531 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/0.5182, allocations: 79.89 kB / 450.4 MB, free: 9.453 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01369/0.5319, allocations: 3.261 MB / 453.7 MB, free: 6.184 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.5319, allocations: 0 / 453.7 MB, free: 6.184 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.532, allocations: 0 / 453.7 MB, free: 6.184 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006148/0.5326, allocations: 444.5 kB / 454.1 MB, free: 5.695 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.5327, allocations: 8.031 kB / 454.1 MB, free: 5.688 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.653e-05/0.5327, allocations: 30.56 kB / 454.1 MB, free: 5.648 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.492e-05/0.5328, allocations: 19.81 kB / 454.2 MB, free: 5.629 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003077/0.5331, allocations: 203.5 kB / 454.4 MB, free: 5.387 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.5331, allocations: 0 / 454.4 MB, free: 5.387 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.5331, allocations: 4 kB / 454.4 MB, free: 5.383 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.5334, allocations: 53.62 kB / 454.4 MB, free: 5.324 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.5334, allocations: 0 / 454.4 MB, free: 5.324 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.5334, allocations: 11.95 kB / 454.4 MB, free: 5.312 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.5334, allocations: 0 / 454.4 MB, free: 5.312 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.5336, allocations: 31.97 kB / 454.5 MB, free: 5.281 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005499/0.5342, allocations: 293 kB / 454.7 MB, free: 4.945 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.5345, allocations: 50.5 kB / 454.8 MB, free: 4.887 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.5345, allocations: 3.953 kB / 454.8 MB, free: 4.883 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.5345, allocations: 32.38 kB / 454.8 MB, free: 4.844 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.795e-06/0.5346, allocations: 0 / 454.8 MB, free: 4.844 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009133/0.5355, allocations: 177.5 kB / 455 MB, free: 4.664 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.5356, allocations: 51.41 kB / 455.1 MB, free: 4.602 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003449/0.5359, allocations: 221.3 kB / 455.3 MB, free: 4.379 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.5359, allocations: 25.7 kB / 455.3 MB, free: 4.348 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.526e-05/0.536, allocations: 178.5 kB / 455.5 MB, free: 4.172 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.5361, allocations: 11.81 kB / 455.5 MB, free: 4.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.306e-06/0.5361, allocations: 4 kB / 455.5 MB, free: 4.156 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.5362, allocations: 310.8 kB / 455.8 MB, free: 3.844 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.5364, allocations: 27.97 kB / 455.8 MB, free: 3.816 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.5366, allocations: 23.98 kB / 455.8 MB, free: 3.793 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.5367, allocations: 61.69 kB / 455.9 MB, free: 3.727 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.5368, allocations: 0 / 455.9 MB, free: 3.727 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003795/0.5371, allocations: 127.2 kB / 456 MB, free: 3.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.077e-05/0.5372, allocations: 29.7 kB / 456.1 MB, free: 3.555 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.5372, allocations: 4 kB / 456.1 MB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.5372, allocations: 4.031 kB / 456.1 MB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.5374, allocations: 19.98 kB / 456.1 MB, free: 3.527 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.5374, allocations: 0 / 456.1 MB, free: 3.527 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.436e-05/0.5375, allocations: 8 kB / 456.1 MB, free: 3.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.5375, allocations: 3.938 kB / 456.1 MB, free: 3.516 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 (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.0001438/0.5377, allocations: 129.8 kB / 456.2 MB, free: 3.379 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.217e-05/0.5377, allocations: 19.77 kB / 456.2 MB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004144/0.5382, allocations: 118.6 kB / 456.4 MB, free: 3.234 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.5382, allocations: 0 / 456.4 MB, free: 3.234 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5382, allocations: 0 / 456.4 MB, free: 3.234 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.5382, allocations: 0 / 456.4 MB, free: 3.234 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007408/0.539, allocations: 398.8 kB / 456.7 MB, free: 2.789 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.539, allocations: 0 / 456.7 MB, free: 2.789 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.5391, allocations: 12 kB / 456.8 MB, free: 2.777 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.5391, allocations: 0 / 456.8 MB, free: 2.777 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.5392, allocations: 0 / 456.8 MB, free: 2.777 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.5392, allocations: 7.938 kB / 456.8 MB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.71e-05/0.5392, allocations: 3.984 kB / 456.8 MB, free: 2.766 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003965/0.5396, allocations: 187.4 kB / 457 MB, free: 2.566 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.184e-05/0.5397, allocations: 100.9 kB / 457 MB, free: 2.449 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/0.5398, allocations: 4 kB / 457.1 MB, free: 2.445 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.5399, allocations: 12 kB / 457.1 MB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.181e-05/0.5399, allocations: 7.984 kB / 457.1 MB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.54, allocations: 0 / 457.1 MB, free: 2.426 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002579/0.5402, allocations: 171.2 kB / 457.2 MB, free: 2.258 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5402, allocations: 0 / 457.2 MB, free: 2.258 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003905/0.5406, allocations: 23.94 kB / 457.3 MB, free: 2.234 MB / 378.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.001537/0.5422, allocations: 0.9334 MB / 458.2 MB, free: 1.336 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000472/0.5427, allocations: 115.4 kB / 458.3 MB, free: 1.211 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.5427, allocations: 0 / 458.3 MB, free: 1.211 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.5429, allocations: 35.91 kB / 458.3 MB, free: 1.176 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.5432, allocations: 8 kB / 458.4 MB, free: 1.168 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.5444, allocations: 0.5296 MB / 458.9 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004216/0.5449, allocations: 0.716 MB / 459.6 MB, free: 15.83 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.545, allocations: 31.44 kB / 459.6 MB, free: 15.8 MB / 394.7 MB Notification: Performance of SimCode: time 1.252e-06/0.545, allocations: 0 / 459.6 MB, free: 15.8 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.901/3.446, allocations: 2.067 MB / 461.7 MB, free: 13.74 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test32_res.mat does not exist to compare? outputFormat=mat