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.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.517/2.517, allocations: 234.9 MB / 250.5 MB, free: 10.65 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006344/0.0006345, allocations: 12 kB / 314.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4176/0.4183, allocations: 54.87 MB / 369.4 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1506/0.569, allocations: 80.98 MB / 450.3 MB, free: 9.766 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/0.5693, allocations: 79.89 kB / 450.4 MB, free: 9.688 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01357/0.5829, allocations: 3.139 MB / 453.6 MB, free: 6.535 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.583, allocations: 4 kB / 453.6 MB, free: 6.531 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.583, allocations: 0 / 453.6 MB, free: 6.531 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.0005978/0.5836, allocations: 421.3 kB / 454 MB, free: 6.066 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.5837, allocations: 8.031 kB / 454 MB, free: 6.059 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.183e-05/0.5837, allocations: 30.56 kB / 454 MB, free: 6.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.365e-05/0.5838, allocations: 15.77 kB / 454 MB, free: 6.004 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.5841, allocations: 203.3 kB / 454.2 MB, free: 5.762 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.5841, allocations: 4 kB / 454.2 MB, free: 5.758 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.5842, allocations: 8 kB / 454.2 MB, free: 5.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.5843, allocations: 45.69 kB / 454.3 MB, free: 5.699 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.5844, allocations: 3.984 kB / 454.3 MB, free: 5.695 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.5844, allocations: 0 / 454.3 MB, free: 5.695 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.5844, allocations: 7.953 kB / 454.3 MB, free: 5.688 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.5846, allocations: 31.98 kB / 454.3 MB, free: 5.656 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000503/0.5851, allocations: 296.9 kB / 454.6 MB, free: 5.316 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002685/0.5854, allocations: 42.56 kB / 454.7 MB, free: 5.266 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.5854, allocations: 7.984 kB / 454.7 MB, free: 5.258 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.5855, allocations: 32.38 kB / 454.7 MB, free: 5.219 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.124e-06/0.5855, allocations: 4 kB / 454.7 MB, free: 5.215 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008677/0.5864, allocations: 173.3 kB / 454.9 MB, free: 5.039 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.5864, allocations: 55.41 kB / 454.9 MB, free: 4.973 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.5867, allocations: 180.9 kB / 455.1 MB, free: 4.789 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.5867, allocations: 25.7 kB / 455.1 MB, free: 4.758 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.065e-05/0.5868, allocations: 166.5 kB / 455.3 MB, free: 4.594 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.5869, allocations: 11.81 kB / 455.3 MB, free: 4.582 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-06/0.5869, allocations: 0 / 455.3 MB, free: 4.582 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.587, allocations: 318.8 kB / 455.6 MB, free: 4.262 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.5872, allocations: 27.98 kB / 455.6 MB, free: 4.234 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.5873, allocations: 31.91 kB / 455.7 MB, free: 4.203 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.5875, allocations: 57.69 kB / 455.7 MB, free: 4.141 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-06/0.5875, allocations: 0 / 455.7 MB, free: 4.141 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003677/0.5879, allocations: 119.4 kB / 455.8 MB, free: 4.012 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.375e-05/0.588, allocations: 33.7 kB / 455.9 MB, free: 3.973 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.588, allocations: 3.953 kB / 455.9 MB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.588, allocations: 0 / 455.9 MB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.5882, allocations: 12 kB / 455.9 MB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.5882, allocations: 3.984 kB / 455.9 MB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.352e-05/0.5883, allocations: 15.94 kB / 455.9 MB, free: 3.938 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.5883, allocations: 3.938 kB / 455.9 MB, free: 3.934 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.0001437/0.5884, allocations: 129.8 kB / 456 MB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.5885, allocations: 11.84 kB / 456 MB, free: 3.785 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004102/0.5889, allocations: 109.9 kB / 456.2 MB, free: 3.672 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.5889, allocations: 3.953 kB / 456.2 MB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.589, allocations: 0 / 456.2 MB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.589, allocations: 3.984 kB / 456.2 MB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007018/0.5897, allocations: 374.9 kB / 456.5 MB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.5897, allocations: 4 kB / 456.5 MB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.5898, allocations: 19.98 kB / 456.6 MB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.5898, allocations: 3.953 kB / 456.6 MB, free: 3.215 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.5899, allocations: 0 / 456.6 MB, free: 3.215 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.5899, allocations: 4 kB / 456.6 MB, free: 3.211 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.5899, allocations: 0 / 456.6 MB, free: 3.211 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003842/0.5903, allocations: 195.4 kB / 456.7 MB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.318e-05/0.5904, allocations: 85.02 kB / 456.8 MB, free: 2.902 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/0.5904, allocations: 11.94 kB / 456.8 MB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.5905, allocations: 4 kB / 456.8 MB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.5906, allocations: 3.938 kB / 456.9 MB, free: 2.883 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.5906, allocations: 4 kB / 456.9 MB, free: 2.879 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000193/0.5908, allocations: 151.1 kB / 457 MB, free: 2.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5908, allocations: 0 / 457 MB, free: 2.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003407/0.5912, allocations: 31.92 kB / 457 MB, free: 2.699 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.001499/0.5927, allocations: 0.9207 MB / 458 MB, free: 1.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003949/0.5931, allocations: 119.3 kB / 458.1 MB, free: 1.691 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.5931, allocations: 0 / 458.1 MB, free: 1.691 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.5933, allocations: 31.98 kB / 458.1 MB, free: 1.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.5936, allocations: 19.88 kB / 458.1 MB, free: 1.641 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000971/0.5945, allocations: 489.2 kB / 458.6 MB, free: 1.105 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.5949, allocations: 0.7121 MB / 459.3 MB, free: 376 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.983e-05/0.595, allocations: 27.42 kB / 459.3 MB, free: 348 kB / 378.7 MB Notification: Performance of SimCode: time 1.172e-06/0.595, allocations: 0 / 459.3 MB, free: 348 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.763/3.358, allocations: 1.851 MB / 461.2 MB, free: 14.49 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test30_res.mat does not exist to compare? outputFormat=mat