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.Test24.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.Test24,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.252/2.252, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007142/0.0007144, allocations: 16 kB / 314.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3638, allocations: 54.86 MB / 369.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1482/0.512, allocations: 82.11 MB / 451.5 MB, free: 8.488 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/0.5124, allocations: 75.97 kB / 451.5 MB, free: 8.414 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.02015/0.5325, allocations: 4.524 MB / 456.1 MB, free: 3.883 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5326, allocations: 0 / 456.1 MB, free: 3.883 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.065e-05/0.5326, allocations: 0 / 456.1 MB, free: 3.883 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.0006569/0.5333, allocations: 494 kB / 456.6 MB, free: 3.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.5333, allocations: 12.03 kB / 456.6 MB, free: 3.328 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.565e-05/0.5334, allocations: 34.56 kB / 456.6 MB, free: 3.285 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.971e-05/0.5335, allocations: 7.906 kB / 456.6 MB, free: 3.277 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.5338, allocations: 206.9 kB / 456.8 MB, free: 3.035 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.5338, allocations: 4 kB / 456.8 MB, free: 3.031 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.232e-05/0.5339, allocations: 4 kB / 456.8 MB, free: 3.027 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.5341, allocations: 57.66 kB / 456.9 MB, free: 2.965 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.5341, allocations: 0 / 456.9 MB, free: 2.965 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.5341, allocations: 7.891 kB / 456.9 MB, free: 2.957 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.5342, allocations: 11.88 kB / 456.9 MB, free: 2.945 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.5343, allocations: 23.98 kB / 456.9 MB, free: 2.922 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004942/0.5348, allocations: 320.8 kB / 457.2 MB, free: 2.559 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.5351, allocations: 58.61 kB / 457.3 MB, free: 2.492 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.5351, allocations: 4.125 kB / 457.3 MB, free: 2.488 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/0.5353, allocations: 76.05 kB / 457.4 MB, free: 2.402 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.124e-06/0.5353, allocations: 0 / 457.4 MB, free: 2.402 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007737/0.5361, allocations: 189.2 kB / 457.5 MB, free: 2.211 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.5362, allocations: 51.41 kB / 457.6 MB, free: 2.148 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.5364, allocations: 178.4 kB / 457.8 MB, free: 1.957 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.5365, allocations: 33.7 kB / 457.8 MB, free: 1.918 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.5366, allocations: 162.6 kB / 458 MB, free: 1.758 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.5366, allocations: 19.72 kB / 458 MB, free: 1.738 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/0.5367, allocations: 0 / 458 MB, free: 1.738 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.5368, allocations: 326.8 kB / 458.3 MB, free: 1.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.5369, allocations: 31.98 kB / 458.3 MB, free: 1.379 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.5371, allocations: 61.62 kB / 458.4 MB, free: 1.312 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.5373, allocations: 73.7 kB / 458.5 MB, free: 1.234 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.5373, allocations: 0 / 458.5 MB, free: 1.234 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004459/0.5378, allocations: 183.2 kB / 458.6 MB, free: 1.043 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.85e-05/0.5378, allocations: 37.69 kB / 458.7 MB, free: 1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.5379, allocations: 4.031 kB / 458.7 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.5379, allocations: 0 / 458.7 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.538, allocations: 19.94 kB / 458.7 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.5381, allocations: 0 / 458.7 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.899e-05/0.5382, allocations: 11.98 kB / 458.7 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.5382, allocations: 4 kB / 458.7 MB, free: 0.9609 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.0001382/0.5384, allocations: 125.8 kB / 458.8 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.361e-05/0.5384, allocations: 15.84 kB / 458.9 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003908/0.5388, allocations: 127 kB / 459 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.5388, allocations: 0 / 459 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5388, allocations: 384 / 459 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.5388, allocations: 0 / 459 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006775/0.5395, allocations: 431.2 kB / 459.4 MB, free: 196 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.5395, allocations: 0 / 459.4 MB, free: 196 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.033e-05/0.5396, allocations: 12.19 kB / 459.4 MB, free: 184 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.5396, allocations: 0 / 459.4 MB, free: 184 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.5397, allocations: 11.95 kB / 459.4 MB, free: 172 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.5397, allocations: 4 kB / 459.4 MB, free: 168 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.5397, allocations: 3.938 kB / 459.4 MB, free: 164 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003761/0.5401, allocations: 218 kB / 459.7 MB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.866e-05/0.5402, allocations: 100.9 kB / 459.7 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.663e-05/0.5402, allocations: 7.938 kB / 459.8 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.5404, allocations: 11.98 kB / 459.8 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.5404, allocations: 4 kB / 459.8 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.5404, allocations: 4 kB / 459.8 MB, free: 15.78 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001981/0.5407, allocations: 143.9 kB / 459.9 MB, free: 15.64 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5407, allocations: 0 / 459.9 MB, free: 15.64 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003989/0.5411, allocations: 47.92 kB / 460 MB, free: 15.59 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.001855/0.5429, allocations: 1.17 MB / 461.1 MB, free: 14.47 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004138/0.5434, allocations: 167.3 kB / 461.3 MB, free: 14.29 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5434, allocations: 64 / 461.3 MB, free: 14.29 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.5435, allocations: 39.92 kB / 461.3 MB, free: 14.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.5439, allocations: 20.11 kB / 461.4 MB, free: 14.23 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.545, allocations: 0.671 MB / 462 MB, free: 13.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.5453, allocations: 0.7082 MB / 462.7 MB, free: 12.77 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.5454, allocations: 39.42 kB / 462.8 MB, free: 12.73 MB / 394.7 MB Notification: Performance of SimCode: time 8.72e-07/0.5454, allocations: 7.875 kB / 462.8 MB, free: 12.72 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.504/3.05, allocations: 2.484 MB / 465.3 MB, free: 10.24 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat does not exist to compare? outputFormat=mat