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.Test27.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.Test27,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.435/2.435, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000441/0.0004409, allocations: 12 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3953, allocations: 54.86 MB / 369.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1923/0.5877, allocations: 80.98 MB / 450.3 MB, free: 9.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004101/0.5882, allocations: 67.97 kB / 450.4 MB, free: 9.453 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02258/0.6108, allocations: 3.363 MB / 453.8 MB, free: 6.078 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.6108, allocations: 0 / 453.8 MB, free: 6.078 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.825e-05/0.6109, allocations: 0 / 453.8 MB, free: 6.078 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.0006386/0.6115, allocations: 468.3 kB / 454.2 MB, free: 5.566 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.6116, allocations: 8.031 kB / 454.2 MB, free: 5.559 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.641e-05/0.6116, allocations: 30.56 kB / 454.3 MB, free: 5.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.367e-05/0.6117, allocations: 11.91 kB / 454.3 MB, free: 5.508 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.612, allocations: 206.8 kB / 454.5 MB, free: 5.266 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.612, allocations: 4 kB / 454.5 MB, free: 5.262 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.6121, allocations: 0 / 454.5 MB, free: 5.262 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.6123, allocations: 49.69 kB / 454.5 MB, free: 5.207 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.6123, allocations: 4 kB / 454.5 MB, free: 5.203 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.6123, allocations: 7.938 kB / 454.5 MB, free: 5.195 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.6123, allocations: 0 / 454.5 MB, free: 5.195 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.6125, allocations: 27.92 kB / 454.6 MB, free: 5.168 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000543/0.6131, allocations: 301 kB / 454.9 MB, free: 4.824 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002791/0.6134, allocations: 46.56 kB / 454.9 MB, free: 4.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.6134, allocations: 3.953 kB / 454.9 MB, free: 4.766 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.6134, allocations: 44.39 kB / 455 MB, free: 4.715 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.864e-06/0.6135, allocations: 0 / 455 MB, free: 4.715 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009434/0.6144, allocations: 181 kB / 455.1 MB, free: 4.531 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.6145, allocations: 51.41 kB / 455.2 MB, free: 4.469 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000403/0.6149, allocations: 234.6 kB / 455.4 MB, free: 4.223 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.6149, allocations: 29.7 kB / 455.4 MB, free: 4.188 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.908e-05/0.615, allocations: 170.6 kB / 455.6 MB, free: 4.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.6151, allocations: 11.75 kB / 455.6 MB, free: 4.008 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.195e-06/0.6151, allocations: 4 kB / 455.6 MB, free: 4.004 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.6152, allocations: 318.8 kB / 455.9 MB, free: 3.684 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.6154, allocations: 23.98 kB / 456 MB, free: 3.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.6155, allocations: 27.98 kB / 456 MB, free: 3.633 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.6157, allocations: 57.69 kB / 456 MB, free: 3.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6157, allocations: 0 / 456 MB, free: 3.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003825/0.6161, allocations: 127.4 kB / 456.2 MB, free: 3.434 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.297e-05/0.6162, allocations: 33.7 kB / 456.2 MB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.6162, allocations: 4 kB / 456.2 MB, free: 3.391 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.6162, allocations: 4 kB / 456.2 MB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.6164, allocations: 19.92 kB / 456.2 MB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.6164, allocations: 0 / 456.2 MB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.065e-05/0.6165, allocations: 15.94 kB / 456.2 MB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.6165, allocations: 3.984 kB / 456.3 MB, free: 3.348 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.0001535/0.6167, allocations: 133.8 kB / 456.4 MB, free: 3.207 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.956e-05/0.6167, allocations: 15.86 kB / 456.4 MB, free: 3.191 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004235/0.6172, allocations: 106.7 kB / 456.5 MB, free: 3.078 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.6172, allocations: 0 / 456.5 MB, free: 3.078 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.6172, allocations: 4 kB / 456.5 MB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.6172, allocations: 3.984 kB / 456.5 MB, free: 3.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007893/0.618, allocations: 406.3 kB / 456.9 MB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/0.6181, allocations: 4 kB / 456.9 MB, free: 2.613 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.6182, allocations: 8 kB / 456.9 MB, free: 2.605 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.6182, allocations: 4 kB / 456.9 MB, free: 2.602 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.6182, allocations: 4.281 kB / 456.9 MB, free: 2.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.6183, allocations: 0 / 456.9 MB, free: 2.598 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.6183, allocations: 3.984 kB / 456.9 MB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004045/0.6187, allocations: 187.4 kB / 457.1 MB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.6188, allocations: 116.8 kB / 457.2 MB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.6189, allocations: 0 / 457.2 MB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.619, allocations: 4 kB / 457.2 MB, free: 2.258 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/0.619, allocations: 7.984 kB / 457.2 MB, free: 2.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.6191, allocations: 4.188 kB / 457.2 MB, free: 2.246 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000293/0.6194, allocations: 189.2 kB / 457.4 MB, free: 2.062 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.6194, allocations: 0 / 457.4 MB, free: 2.062 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003708/0.6197, allocations: 27.98 kB / 457.5 MB, free: 2.035 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.001519/0.6213, allocations: 0.9314 MB / 458.4 MB, free: 1.145 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004082/0.6217, allocations: 119.4 kB / 458.5 MB, free: 1.016 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.6217, allocations: 0 / 458.5 MB, free: 1.016 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001568/0.6219, allocations: 35.92 kB / 458.5 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.6222, allocations: 16.11 kB / 458.6 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.6234, allocations: 0.5466 MB / 459.1 MB, free: 368 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.6239, allocations: 0.7315 MB / 459.8 MB, free: 15.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.624, allocations: 31.42 kB / 459.9 MB, free: 15.57 MB / 394.7 MB Notification: Performance of SimCode: time 1.132e-06/0.624, allocations: 3.938 kB / 459.9 MB, free: 15.57 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.766/3.39, allocations: 2.207 MB / 462.1 MB, free: 13.36 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test27_res.mat does not exist to compare? outputFormat=mat