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.Test31.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.Test31,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.459/2.459, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004358/0.0004359, allocations: 12 kB / 314.5 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3626, allocations: 54.85 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1487/0.5114, allocations: 80.98 MB / 450.3 MB, free: 9.512 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/0.5118, allocations: 75.91 kB / 450.4 MB, free: 9.438 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01466/0.5265, allocations: 3.367 MB / 453.8 MB, free: 6.059 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5265, allocations: 0 / 453.8 MB, free: 6.059 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.498e-05/0.5266, allocations: 4 kB / 453.8 MB, free: 6.055 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.0006308/0.5272, allocations: 452.4 kB / 454.2 MB, free: 5.559 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.5273, allocations: 8.031 kB / 454.2 MB, free: 5.551 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.285e-05/0.5273, allocations: 34.56 kB / 454.3 MB, free: 5.508 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.819e-05/0.5274, allocations: 7.906 kB / 454.3 MB, free: 5.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.5277, allocations: 218.7 kB / 454.5 MB, free: 5.246 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.5277, allocations: 4 kB / 454.5 MB, free: 5.242 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.5278, allocations: 0 / 454.5 MB, free: 5.242 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.528, allocations: 45.69 kB / 454.5 MB, free: 5.191 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.528, allocations: 4 kB / 454.5 MB, free: 5.188 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.528, allocations: 15.95 kB / 454.6 MB, free: 5.172 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.5281, allocations: 0 / 454.6 MB, free: 5.172 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.5282, allocations: 27.97 kB / 454.6 MB, free: 5.145 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005691/0.5288, allocations: 297 kB / 454.9 MB, free: 4.805 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.5291, allocations: 50.5 kB / 454.9 MB, free: 4.746 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.5291, allocations: 3.953 kB / 454.9 MB, free: 4.742 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.5292, allocations: 40.45 kB / 455 MB, free: 4.695 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.525e-06/0.5292, allocations: 0 / 455 MB, free: 4.695 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009182/0.5301, allocations: 181 kB / 455.1 MB, free: 4.512 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.5302, allocations: 55.41 kB / 455.2 MB, free: 4.445 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004018/0.5306, allocations: 230.6 kB / 455.4 MB, free: 4.203 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.5306, allocations: 29.7 kB / 455.5 MB, free: 4.168 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.5308, allocations: 166.6 kB / 455.6 MB, free: 4.004 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.5308, allocations: 15.81 kB / 455.6 MB, free: 3.988 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-06/0.5308, allocations: 0 / 455.6 MB, free: 3.988 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.531, allocations: 314.8 kB / 455.9 MB, free: 3.672 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.5311, allocations: 27.98 kB / 456 MB, free: 3.645 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.5313, allocations: 35.92 kB / 456 MB, free: 3.609 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.5314, allocations: 49.69 kB / 456 MB, free: 3.555 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5315, allocations: 3.938 kB / 456.1 MB, free: 3.551 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003827/0.5319, allocations: 131.2 kB / 456.2 MB, free: 3.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.57e-05/0.5319, allocations: 37.7 kB / 456.2 MB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.5319, allocations: 0 / 456.2 MB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.532, allocations: 0 / 456.2 MB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.5321, allocations: 15.98 kB / 456.2 MB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.5321, allocations: 0 / 456.2 MB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.501e-05/0.5322, allocations: 7.938 kB / 456.2 MB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.5322, allocations: 11.92 kB / 456.3 MB, free: 3.332 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.000176/0.5324, allocations: 137.8 kB / 456.4 MB, free: 3.188 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.416e-05/0.5325, allocations: 11.86 kB / 456.4 MB, free: 3.176 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004222/0.5329, allocations: 110.6 kB / 456.5 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.5329, allocations: 0 / 456.5 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.533, allocations: 0 / 456.5 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.533, allocations: 3.984 kB / 456.5 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008013/0.5338, allocations: 414.6 kB / 456.9 MB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.5338, allocations: 0 / 456.9 MB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.5339, allocations: 16.06 kB / 456.9 MB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.534, allocations: 288 / 456.9 MB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.534, allocations: 0 / 456.9 MB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.534, allocations: 8 kB / 456.9 MB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.534, allocations: 0 / 456.9 MB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003991/0.5344, allocations: 195.4 kB / 457.1 MB, free: 2.363 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.5345, allocations: 104.9 kB / 457.2 MB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.5346, allocations: 4 kB / 457.2 MB, free: 2.238 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.5347, allocations: 8 kB / 457.2 MB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.252e-05/0.5347, allocations: 7.984 kB / 457.2 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.5348, allocations: 0 / 457.2 MB, free: 2.223 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002912/0.5351, allocations: 193.1 kB / 457.4 MB, free: 2.035 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5351, allocations: 0 / 457.4 MB, free: 2.035 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003895/0.5355, allocations: 23.98 kB / 457.5 MB, free: 2.012 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.001495/0.537, allocations: 0.9263 MB / 458.4 MB, free: 1.129 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004128/0.5374, allocations: 123.3 kB / 458.5 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.5375, allocations: 0 / 458.5 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.5376, allocations: 31.98 kB / 458.5 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.538, allocations: 12.11 kB / 458.6 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.5391, allocations: 0.5544 MB / 459.1 MB, free: 348 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.5395, allocations: 0.7277 MB / 459.8 MB, free: 15.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.5396, allocations: 35.42 kB / 459.9 MB, free: 15.55 MB / 394.7 MB Notification: Performance of SimCode: time 9.52e-07/0.5396, allocations: 0 / 459.9 MB, free: 15.55 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.857/3.397, allocations: 2.203 MB / 462.1 MB, free: 13.35 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test31_res.mat does not exist to compare? outputFormat=mat