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.Test23.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.Test23,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.309/2.309, allocations: 234.9 MB / 250.5 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004939/0.0004937, allocations: 16 kB / 314.5 MB, free: 9.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.355, allocations: 54.86 MB / 369.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1745/0.5296, allocations: 82.11 MB / 451.5 MB, free: 8.398 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/0.53, allocations: 87.89 kB / 451.6 MB, free: 8.312 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/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.02136/0.5514, allocations: 4.52 MB / 456.1 MB, free: 3.785 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5514, allocations: 0 / 456.1 MB, free: 3.785 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.451e-05/0.5515, allocations: 4 kB / 456.1 MB, free: 3.781 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007208/0.5522, allocations: 485 kB / 456.6 MB, free: 3.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.5523, allocations: 12.03 kB / 456.6 MB, free: 3.238 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.997e-05/0.5523, allocations: 34.56 kB / 456.6 MB, free: 3.195 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.095e-05/0.5524, allocations: 11.91 kB / 456.6 MB, free: 3.184 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003895/0.5528, allocations: 210.9 kB / 456.8 MB, free: 2.938 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.5528, allocations: 4 kB / 456.8 MB, free: 2.934 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.5529, allocations: 4 kB / 456.8 MB, free: 2.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.5531, allocations: 53.67 kB / 456.9 MB, free: 2.871 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.5531, allocations: 0 / 456.9 MB, free: 2.871 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.5531, allocations: 3.953 kB / 456.9 MB, free: 2.867 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.5532, allocations: 0 / 456.9 MB, free: 2.867 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.5533, allocations: 23.97 kB / 456.9 MB, free: 2.844 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005385/0.5538, allocations: 324.7 kB / 457.2 MB, free: 2.477 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.5541, allocations: 62.61 kB / 457.3 MB, free: 2.406 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.5541, allocations: 0 / 457.3 MB, free: 2.406 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00022/0.5544, allocations: 76.19 kB / 457.4 MB, free: 2.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 4.028e-06/0.5544, allocations: 3.938 kB / 457.4 MB, free: 2.316 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001025/0.5554, allocations: 181.2 kB / 457.5 MB, free: 2.133 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.5555, allocations: 55.41 kB / 457.6 MB, free: 2.066 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000298/0.5558, allocations: 186.3 kB / 457.8 MB, free: 1.867 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.769e-05/0.5559, allocations: 29.7 kB / 457.8 MB, free: 1.832 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.556, allocations: 166.6 kB / 458 MB, free: 1.668 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.36e-05/0.5561, allocations: 23.7 kB / 458 MB, free: 1.645 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.073e-05/0.5561, allocations: 0 / 458 MB, free: 1.645 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.5563, allocations: 322.8 kB / 458.3 MB, free: 1.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.5564, allocations: 35.98 kB / 458.3 MB, free: 1.285 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.5566, allocations: 57.64 kB / 458.4 MB, free: 1.223 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.5568, allocations: 77.69 kB / 458.5 MB, free: 1.141 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5568, allocations: 0 / 458.5 MB, free: 1.141 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004785/0.5573, allocations: 183.2 kB / 458.6 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.494e-05/0.5574, allocations: 37.73 kB / 458.7 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.5574, allocations: 0 / 458.7 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.5574, allocations: 0 / 458.7 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.5576, allocations: 15.98 kB / 458.7 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.5576, allocations: 4 kB / 458.7 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.5577, allocations: 8.375 kB / 458.7 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.5577, allocations: 4 kB / 458.7 MB, free: 0.875 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 (11): * Single equations (assignments): 10 * 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.0001654/0.5579, allocations: 131 kB / 458.8 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.558, allocations: 11.86 kB / 458.9 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004246/0.5584, allocations: 131 kB / 459 MB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.5584, allocations: 7.984 kB / 459 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.5584, allocations: 0 / 459 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.5585, allocations: 3.984 kB / 459 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007539/0.5592, allocations: 423.2 kB / 459.4 MB, free: 100 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.5592, allocations: 0 / 459.4 MB, free: 100 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.708e-05/0.5593, allocations: 8 kB / 459.4 MB, free: 92 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.5594, allocations: 11.97 kB / 459.4 MB, free: 80 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.5594, allocations: 0 / 459.4 MB, free: 80 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.5594, allocations: 0 / 459.4 MB, free: 80 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.5594, allocations: 4 kB / 459.4 MB, free: 76 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004644/0.5599, allocations: 230 kB / 459.7 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.56, allocations: 104.9 kB / 459.8 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.56, allocations: 0 / 459.8 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.5602, allocations: 4 kB / 459.8 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.5602, allocations: 11.98 kB / 459.8 MB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.5602, allocations: 4 kB / 459.8 MB, free: 15.68 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001969/0.5604, allocations: 139.9 kB / 459.9 MB, free: 15.55 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5605, allocations: 0 / 459.9 MB, free: 15.55 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004378/0.5609, allocations: 43.94 kB / 460 MB, free: 15.5 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.002173/0.5631, allocations: 1.171 MB / 461.1 MB, free: 14.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005293/0.5637, allocations: 171.4 kB / 461.3 MB, free: 14.2 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.5637, allocations: 3.938 kB / 461.3 MB, free: 14.2 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.5638, allocations: 31.98 kB / 461.3 MB, free: 14.17 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.5642, allocations: 15.98 kB / 461.3 MB, free: 14.15 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.5654, allocations: 0.6751 MB / 462 MB, free: 13.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.5658, allocations: 0.7121 MB / 462.7 MB, free: 12.68 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.872e-05/0.5659, allocations: 35.36 kB / 462.8 MB, free: 12.64 MB / 394.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5659, allocations: 0 / 462.8 MB, free: 12.64 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.591/3.157, allocations: 2.491 MB / 465.3 MB, free: 10.16 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat does not exist to compare? outputFormat=mat