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.Test39.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.Test39,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.207/2.207, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004575/0.0004576, allocations: 16 kB / 314.5 MB, free: 9.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3799, allocations: 54.87 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1693/0.5492, allocations: 81.99 MB / 451.4 MB, free: 8.512 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/0.5495, allocations: 71.97 kB / 451.4 MB, free: 8.441 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.01995/0.5695, allocations: 4.421 MB / 455.8 MB, free: 4.012 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5695, allocations: 0 / 455.8 MB, free: 4.012 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.5696, allocations: 0 / 455.8 MB, free: 4.012 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.0006765/0.5703, allocations: 478.1 kB / 456.3 MB, free: 3.484 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.5703, allocations: 8.031 kB / 456.3 MB, free: 3.477 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.726e-05/0.5704, allocations: 30.56 kB / 456.4 MB, free: 3.438 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.371e-05/0.5704, allocations: 19.81 kB / 456.4 MB, free: 3.418 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003662/0.5708, allocations: 206.3 kB / 456.6 MB, free: 3.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.5708, allocations: 0 / 456.6 MB, free: 3.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.5709, allocations: 7.938 kB / 456.6 MB, free: 3.172 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.5711, allocations: 49.67 kB / 456.6 MB, free: 3.117 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.5711, allocations: 3.938 kB / 456.6 MB, free: 3.113 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.5711, allocations: 11.89 kB / 456.6 MB, free: 3.102 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.5711, allocations: 0 / 456.6 MB, free: 3.102 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.5713, allocations: 23.97 kB / 456.7 MB, free: 3.078 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000283/0.5715, allocations: 201.6 kB / 456.9 MB, free: 2.832 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.5718, allocations: 50.62 kB / 456.9 MB, free: 2.773 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.5718, allocations: 0 / 456.9 MB, free: 2.773 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002039/0.572, allocations: 71.41 kB / 457 MB, free: 2.691 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.074e-06/0.5721, allocations: 4 kB / 457 MB, free: 2.688 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004474/0.5725, allocations: 101.5 kB / 457.1 MB, free: 2.582 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.5726, allocations: 55.41 kB / 457.1 MB, free: 2.516 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.5728, allocations: 170 kB / 457.3 MB, free: 2.344 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.5729, allocations: 25.7 kB / 457.3 MB, free: 2.312 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.809e-05/0.573, allocations: 166.5 kB / 457.5 MB, free: 2.148 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.573, allocations: 11.84 kB / 457.5 MB, free: 2.137 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.666e-06/0.5731, allocations: 0 / 457.5 MB, free: 2.137 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.5732, allocations: 322.8 kB / 457.8 MB, free: 1.812 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.5733, allocations: 27.98 kB / 457.9 MB, free: 1.785 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.5735, allocations: 53.64 kB / 457.9 MB, free: 1.727 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.5737, allocations: 65.69 kB / 458 MB, free: 1.656 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.5737, allocations: 0 / 458 MB, free: 1.656 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004083/0.5741, allocations: 147.2 kB / 458.1 MB, free: 1.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.611e-05/0.5742, allocations: 37.69 kB / 458.1 MB, free: 1.457 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.5742, allocations: 4.031 kB / 458.2 MB, free: 1.453 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.5742, allocations: 4 kB / 458.2 MB, free: 1.449 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.5744, allocations: 8 kB / 458.2 MB, free: 1.441 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.5744, allocations: 3.953 kB / 458.2 MB, free: 1.438 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.5745, allocations: 15.98 kB / 458.2 MB, free: 1.422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.5745, allocations: 4 kB / 458.2 MB, free: 1.418 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.0001397/0.5747, allocations: 121.8 kB / 458.3 MB, free: 1.289 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.5747, allocations: 11.81 kB / 458.3 MB, free: 1.277 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003317/0.5751, allocations: 109.8 kB / 458.4 MB, free: 1.156 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.5751, allocations: 0 / 458.4 MB, free: 1.156 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5751, allocations: 0 / 458.4 MB, free: 1.156 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.5751, allocations: 4.328 kB / 458.4 MB, free: 1.152 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.5753, allocations: 189.6 kB / 458.6 MB, free: 0.918 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.5754, allocations: 8 kB / 458.6 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.801e-05/0.5754, allocations: 4 kB / 458.6 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.5754, allocations: 0 / 458.6 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.5754, allocations: 0 / 458.6 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.5755, allocations: 0 / 458.6 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.5755, allocations: 0 / 458.6 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.5758, allocations: 124.9 kB / 458.7 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.5759, allocations: 96.91 kB / 458.8 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.5759, allocations: 4 kB / 458.8 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.829e-05/0.576, allocations: 3.984 kB / 458.8 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.5761, allocations: 8 kB / 458.9 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.5761, allocations: 0 / 458.9 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001926/0.5763, allocations: 143.2 kB / 459 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5763, allocations: 0 / 459 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003216/0.5766, allocations: 28 kB / 459 MB, free: 480 kB / 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.001787/0.5784, allocations: 0.9633 MB / 460 MB, free: 15.55 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004345/0.5789, allocations: 143.4 kB / 460.1 MB, free: 15.4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.5789, allocations: 0 / 460.1 MB, free: 15.4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.5791, allocations: 31.92 kB / 460.2 MB, free: 15.37 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.5794, allocations: 20.05 kB / 460.2 MB, free: 15.35 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.5804, allocations: 0.6217 MB / 460.8 MB, free: 14.67 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.5808, allocations: 0.7043 MB / 461.5 MB, free: 13.94 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.011e-05/0.5809, allocations: 27.42 kB / 461.5 MB, free: 13.91 MB / 394.7 MB Notification: Performance of SimCode: time 1.012e-06/0.5809, allocations: 3.938 kB / 461.5 MB, free: 13.91 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.603/3.183, allocations: 2.153 MB / 463.7 MB, free: 11.76 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat does not exist to compare? outputFormat=mat