Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.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.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.25/2.25, allocations: 234.9 MB / 250.5 MB, free: 10.52 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006026/0.0006027, allocations: 12 kB / 314.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3389, allocations: 54.87 MB / 369.4 MB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1666/0.5055, allocations: 81.98 MB / 451.3 MB, free: 8.727 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/0.5059, allocations: 75.95 kB / 451.4 MB, free: 8.652 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.02016/0.5261, allocations: 4.413 MB / 455.8 MB, free: 4.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5261, allocations: 0 / 455.8 MB, free: 4.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.244e-05/0.5261, allocations: 0 / 455.8 MB, free: 4.23 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007054/0.5269, allocations: 474.2 kB / 456.3 MB, free: 3.707 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.5269, allocations: 15.95 kB / 456.3 MB, free: 3.691 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.783e-05/0.527, allocations: 30.56 kB / 456.3 MB, free: 3.652 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.019e-05/0.5271, allocations: 11.81 kB / 456.4 MB, free: 3.641 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.5275, allocations: 207.5 kB / 456.6 MB, free: 3.398 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.5275, allocations: 0 / 456.6 MB, free: 3.398 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.5275, allocations: 4 kB / 456.6 MB, free: 3.395 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.5277, allocations: 53.67 kB / 456.6 MB, free: 3.336 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.5278, allocations: 0 / 456.6 MB, free: 3.336 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.5278, allocations: 7.953 kB / 456.6 MB, free: 3.328 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.5278, allocations: 0 / 456.6 MB, free: 3.328 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.5279, allocations: 27.91 kB / 456.6 MB, free: 3.301 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002964/0.5282, allocations: 197.6 kB / 456.8 MB, free: 3.059 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000249/0.5285, allocations: 54.56 kB / 456.9 MB, free: 2.996 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.5285, allocations: 0 / 456.9 MB, free: 2.996 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002192/0.5288, allocations: 71.47 kB / 457 MB, free: 2.914 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 6.182e-06/0.5288, allocations: 0 / 457 MB, free: 2.914 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000459/0.5293, allocations: 109.4 kB / 457.1 MB, free: 2.801 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.5293, allocations: 55.41 kB / 457.1 MB, free: 2.734 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.5296, allocations: 170 kB / 457.3 MB, free: 2.562 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.5296, allocations: 25.7 kB / 457.3 MB, free: 2.531 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.673e-05/0.5297, allocations: 166.5 kB / 457.5 MB, free: 2.367 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.5298, allocations: 11.84 kB / 457.5 MB, free: 2.355 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.313e-05/0.5298, allocations: 8 kB / 457.5 MB, free: 2.348 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.5299, allocations: 310.8 kB / 457.8 MB, free: 2.035 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.5301, allocations: 35.97 kB / 457.8 MB, free: 2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.5303, allocations: 45.7 kB / 457.9 MB, free: 1.949 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.5304, allocations: 69.62 kB / 457.9 MB, free: 1.875 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.5305, allocations: 0 / 457.9 MB, free: 1.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004276/0.5309, allocations: 151.2 kB / 458.1 MB, free: 1.715 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.603e-05/0.531, allocations: 41.69 kB / 458.1 MB, free: 1.668 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.531, allocations: 0 / 458.1 MB, free: 1.668 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.531, allocations: 0 / 458.1 MB, free: 1.668 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.5311, allocations: 12 kB / 458.1 MB, free: 1.656 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.5312, allocations: 3.953 kB / 458.2 MB, free: 1.652 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.5313, allocations: 7.984 kB / 458.2 MB, free: 1.645 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.5313, allocations: 4 kB / 458.2 MB, free: 1.641 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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.0001599/0.5315, allocations: 129 kB / 458.3 MB, free: 1.508 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.477e-05/0.5315, allocations: 11.81 kB / 458.3 MB, free: 1.496 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003529/0.5319, allocations: 102.2 kB / 458.4 MB, free: 1.383 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.5319, allocations: 3.938 kB / 458.4 MB, free: 1.379 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.5319, allocations: 4.062 kB / 458.4 MB, free: 1.375 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.532, allocations: 3.953 kB / 458.4 MB, free: 1.371 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.5322, allocations: 189.6 kB / 458.6 MB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5322, allocations: 0 / 458.6 MB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.719e-05/0.5323, allocations: 4 kB / 458.6 MB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.5323, allocations: 4 kB / 458.6 MB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.5323, allocations: 4 kB / 458.6 MB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.5323, allocations: 0 / 458.6 MB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.5323, allocations: 0 / 458.6 MB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003177/0.5327, allocations: 120.8 kB / 458.7 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.5328, allocations: 100.9 kB / 458.8 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.5328, allocations: 0 / 458.8 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.591e-05/0.5329, allocations: 11.98 kB / 458.8 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/0.533, allocations: 8 kB / 458.8 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.533, allocations: 0 / 458.8 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002143/0.5332, allocations: 139.2 kB / 459 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.5332, allocations: 0 / 459 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003454/0.5336, allocations: 32 kB / 459 MB, free: 0.6836 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001683/0.5353, allocations: 0.9493 MB / 460 MB, free: 15.78 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004283/0.5358, allocations: 151.4 kB / 460.1 MB, free: 15.62 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5358, allocations: 4.062 kB / 460.1 MB, free: 15.62 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.5359, allocations: 23.94 kB / 460.1 MB, free: 15.59 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.5362, allocations: 27.42 kB / 460.2 MB, free: 15.57 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.5372, allocations: 0.6217 MB / 460.8 MB, free: 14.89 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.5376, allocations: 0.7043 MB / 461.5 MB, free: 14.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.803e-05/0.5377, allocations: 27.42 kB / 461.5 MB, free: 14.13 MB / 394.7 MB Notification: Performance of SimCode: time 1.402e-06/0.5377, allocations: 4 kB / 461.5 MB, free: 14.13 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.522/3.059, allocations: 2.153 MB / 463.7 MB, free: 11.98 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat does not exist to compare? outputFormat=mat