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.Test16.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.Test16,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.473/2.473, allocations: 234.9 MB / 250.5 MB, free: 10.53 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004675/0.0004674, allocations: 11.98 kB / 314.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.3941, allocations: 54.88 MB / 369.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1569/0.5511, allocations: 80.98 MB / 450.3 MB, free: 9.641 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003682/0.5515, allocations: 71.97 kB / 450.4 MB, free: 9.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01774/0.5693, allocations: 3.143 MB / 453.6 MB, free: 6.414 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.5693, allocations: 0 / 453.6 MB, free: 6.414 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.752e-05/0.5694, allocations: 0 / 453.6 MB, free: 6.414 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.0007349/0.5701, allocations: 416.8 kB / 454 MB, free: 5.953 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.881e-05/0.5702, allocations: 8.031 kB / 454 MB, free: 5.945 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.87e-05/0.5703, allocations: 42.56 kB / 454 MB, free: 5.895 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.015e-05/0.5704, allocations: 23.69 kB / 454 MB, free: 5.871 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/0.5708, allocations: 187.5 kB / 454.2 MB, free: 5.645 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.5708, allocations: 4 kB / 454.2 MB, free: 5.641 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.5708, allocations: 0 / 454.2 MB, free: 5.641 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.5711, allocations: 57.61 kB / 454.3 MB, free: 5.578 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.5711, allocations: 3.984 kB / 454.3 MB, free: 5.574 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.5712, allocations: 0 / 454.3 MB, free: 5.574 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.5712, allocations: 7.953 kB / 454.3 MB, free: 5.566 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002117/0.5714, allocations: 27.98 kB / 454.3 MB, free: 5.539 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007062/0.5721, allocations: 285 kB / 454.6 MB, free: 5.211 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003624/0.5725, allocations: 54.5 kB / 454.6 MB, free: 5.148 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.5726, allocations: 0 / 454.6 MB, free: 5.148 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.5726, allocations: 36.38 kB / 454.7 MB, free: 5.105 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.024e-06/0.5726, allocations: 0 / 454.7 MB, free: 5.105 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.001163/0.5738, allocations: 173.3 kB / 454.9 MB, free: 4.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.5739, allocations: 51.41 kB / 454.9 MB, free: 4.867 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003748/0.5743, allocations: 185.5 kB / 455.1 MB, free: 4.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.5743, allocations: 33.64 kB / 455.1 MB, free: 4.641 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.5745, allocations: 166.5 kB / 455.3 MB, free: 4.477 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.5745, allocations: 11.81 kB / 455.3 MB, free: 4.465 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.529e-05/0.5745, allocations: 8 kB / 455.3 MB, free: 4.457 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.5747, allocations: 310.8 kB / 455.6 MB, free: 4.145 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.5749, allocations: 27.97 kB / 455.6 MB, free: 4.117 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.5751, allocations: 23.98 kB / 455.7 MB, free: 4.094 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.5753, allocations: 61.69 kB / 455.7 MB, free: 4.027 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.5754, allocations: 0 / 455.7 MB, free: 4.027 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000509/0.5759, allocations: 123.3 kB / 455.8 MB, free: 3.895 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.014e-05/0.576, allocations: 29.7 kB / 455.9 MB, free: 3.859 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.576, allocations: 3.953 kB / 455.9 MB, free: 3.855 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.576, allocations: 4 kB / 455.9 MB, free: 3.852 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.5762, allocations: 15.98 kB / 455.9 MB, free: 3.836 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.5762, allocations: 3.938 kB / 455.9 MB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.5764, allocations: 12.25 kB / 455.9 MB, free: 3.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.5764, allocations: 4 kB / 455.9 MB, free: 3.816 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.0001758/0.5766, allocations: 125.8 kB / 456 MB, free: 3.684 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.02e-05/0.5767, allocations: 7.906 kB / 456 MB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005384/0.5772, allocations: 117.8 kB / 456.2 MB, free: 3.555 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.5773, allocations: 3.953 kB / 456.2 MB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.5773, allocations: 0 / 456.2 MB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.5773, allocations: 0 / 456.2 MB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009533/0.5782, allocations: 378.5 kB / 456.5 MB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.5783, allocations: 0 / 456.5 MB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.5784, allocations: 15.94 kB / 456.5 MB, free: 3.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/0.5785, allocations: 3.953 kB / 456.5 MB, free: 3.105 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.5785, allocations: 4 kB / 456.5 MB, free: 3.102 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.5785, allocations: 0 / 456.5 MB, free: 3.102 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.5785, allocations: 7.984 kB / 456.6 MB, free: 3.094 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005024/0.579, allocations: 187.4 kB / 456.7 MB, free: 2.895 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.5792, allocations: 89 kB / 456.8 MB, free: 2.789 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.321e-05/0.5792, allocations: 7.953 kB / 456.8 MB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.5794, allocations: 12 kB / 456.8 MB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.988e-05/0.5795, allocations: 7.984 kB / 456.9 MB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.5795, allocations: 0 / 456.9 MB, free: 2.762 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002808/0.5798, allocations: 147.1 kB / 457 MB, free: 2.617 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.5798, allocations: 4 kB / 457 MB, free: 2.613 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006087/0.5804, allocations: 19.94 kB / 457 MB, free: 2.594 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.002024/0.5825, allocations: 0.9217 MB / 457.9 MB, free: 1.715 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005408/0.5831, allocations: 115.4 kB / 458.1 MB, free: 1.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.5831, allocations: 8 kB / 458.1 MB, free: 1.582 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002078/0.5833, allocations: 31.92 kB / 458.1 MB, free: 1.551 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004019/0.5837, allocations: 15.94 kB / 458.1 MB, free: 1.535 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.5852, allocations: 493.2 kB / 458.6 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004466/0.5856, allocations: 0.7004 MB / 459.3 MB, free: 276 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.5858, allocations: 27.42 kB / 459.3 MB, free: 252 kB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/0.5858, allocations: 0 / 459.3 MB, free: 252 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.985/3.571, allocations: 1.861 MB / 461.2 MB, free: 14.39 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test16_res.mat does not exist to compare? outputFormat=mat