Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test1.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.CombiTable2D.Test1,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.01/2.01, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006013/0.0006016, allocations: 15.98 kB / 282.7 MB, free: 9.562 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3557, allocations: 48.7 MB / 331.4 MB, free: 6.523 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1411/0.4969, allocations: 74.59 MB / 405.9 MB, free: 3.805 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/0.4972, allocations: 67.97 kB / 406 MB, free: 3.738 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01888/0.5161, allocations: 5.281 MB / 411.3 MB, free: 14.45 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5161, allocations: 0 / 411.3 MB, free: 14.45 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.786e-05/0.5162, allocations: 4 kB / 411.3 MB, free: 14.45 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008861/0.5171, allocations: 0.6445 MB / 411.9 MB, free: 13.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.5171, allocations: 12.03 kB / 412 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.775e-05/0.5172, allocations: 34.56 kB / 412 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.5173, allocations: 39.44 kB / 412 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005877/0.5179, allocations: 327.3 kB / 412.3 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.5179, allocations: 4 kB / 412.4 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.518, allocations: 3.938 kB / 412.4 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.5182, allocations: 61.67 kB / 412.4 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.5182, allocations: 0 / 412.4 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.5182, allocations: 0 / 412.4 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.5182, allocations: 0 / 412.4 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.5184, allocations: 27.98 kB / 412.4 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007405/0.5191, allocations: 432.6 kB / 412.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.5194, allocations: 46.56 kB / 412.9 MB, free: 12.67 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.5195, allocations: 4 kB / 412.9 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.5195, allocations: 30.56 kB / 412.9 MB, free: 12.62 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.773e-06/0.5195, allocations: 0 / 412.9 MB, free: 12.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009446/0.5205, allocations: 252 kB / 413.2 MB, free: 12.37 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.5205, allocations: 59.39 kB / 413.2 MB, free: 12.3 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001867/0.5224, allocations: 0.7628 MB / 414 MB, free: 11.53 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/0.5225, allocations: 37.7 kB / 414 MB, free: 11.49 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.5227, allocations: 226.6 kB / 414.3 MB, free: 11.27 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.5227, allocations: 19.75 kB / 414.3 MB, free: 11.25 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-06/0.5227, allocations: 0 / 414.3 MB, free: 11.25 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.5229, allocations: 318.8 kB / 414.6 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.523, allocations: 27.92 kB / 414.6 MB, free: 10.9 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.5231, allocations: 27.98 kB / 414.7 MB, free: 10.87 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.5233, allocations: 49.69 kB / 414.7 MB, free: 10.82 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.5233, allocations: 0 / 414.7 MB, free: 10.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003656/0.5237, allocations: 123.3 kB / 414.8 MB, free: 10.68 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.487e-05/0.5238, allocations: 33.7 kB / 414.9 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.5238, allocations: 0 / 414.9 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.5238, allocations: 0 / 414.9 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.5239, allocations: 19.94 kB / 414.9 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.524, allocations: 0 / 414.9 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.5241, allocations: 8 kB / 414.9 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.5241, allocations: 3.984 kB / 414.9 MB, free: 10.61 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.0003329/0.5245, allocations: 221.7 kB / 415.1 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.5246, allocations: 43.44 kB / 415.1 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004444/0.5251, allocations: 132.9 kB / 415.3 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.5251, allocations: 3.938 kB / 415.3 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.5251, allocations: 3.953 kB / 415.3 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.5251, allocations: 7.984 kB / 415.3 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.5263, allocations: 0.5843 MB / 415.9 MB, free: 9.551 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.5263, allocations: 0 / 415.9 MB, free: 9.551 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.5264, allocations: 15.98 kB / 415.9 MB, free: 9.535 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.259e-06/0.5264, allocations: 0 / 415.9 MB, free: 9.535 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.5265, allocations: 7.953 kB / 415.9 MB, free: 9.527 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.5265, allocations: 384 / 415.9 MB, free: 9.527 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5265, allocations: 4 kB / 415.9 MB, free: 9.523 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00043/0.5269, allocations: 218.9 kB / 416.1 MB, free: 9.293 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002505/0.5272, allocations: 160.6 kB / 416.3 MB, free: 9.117 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.224e-05/0.5273, allocations: 4 kB / 416.3 MB, free: 9.113 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.5274, allocations: 11.94 kB / 416.3 MB, free: 9.102 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/0.5275, allocations: 8 kB / 416.3 MB, free: 9.094 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.5275, allocations: 0 / 416.3 MB, free: 9.094 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001143/0.5287, allocations: 0.6276 MB / 416.9 MB, free: 8.469 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5287, allocations: 0 / 416.9 MB, free: 8.469 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004414/0.5291, allocations: 52 kB / 417 MB, free: 8.418 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.001381/0.5305, allocations: 0.9092 MB / 417.9 MB, free: 7.531 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000383/0.5309, allocations: 119.3 kB / 418 MB, free: 7.402 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.531, allocations: 0 / 418 MB, free: 7.402 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.5311, allocations: 31.98 kB / 418 MB, free: 7.371 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.5315, allocations: 17.92 kB / 418.1 MB, free: 7.355 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002609/0.5341, allocations: 1.364 MB / 419.4 MB, free: 5.922 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000521/0.5347, allocations: 0.8262 MB / 420.2 MB, free: 5.07 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002511/0.5349, allocations: 107.4 kB / 420.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of SimCode: time 9.12e-07/0.5349, allocations: 0 / 420.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.743/3.278, allocations: 6.816 MB / 427.2 MB, free: 14.14 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test1_res.mat does not exist to compare? outputFormat=mat