Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.184/2.184, allocations: 209.2 MB / 224.8 MB, free: 0.5391 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006444/0.0006446, allocations: 12 kB / 282.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3909, allocations: 48.71 MB / 331.4 MB, free: 6.402 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1356/0.5266, allocations: 75.87 MB / 407.2 MB, free: 2.434 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/0.527, allocations: 71.95 kB / 407.3 MB, free: 2.363 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01783/0.5448, allocations: 4.1 MB / 411.4 MB, free: 14.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5449, allocations: 0 / 411.4 MB, free: 14.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.5449, allocations: 0 / 411.4 MB, free: 14.27 MB / 346.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.0006379/0.5455, allocations: 436.6 kB / 411.8 MB, free: 13.79 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.5456, allocations: 12.03 kB / 411.9 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.179e-05/0.5457, allocations: 38.55 kB / 411.9 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.716e-05/0.5457, allocations: 7.906 kB / 411.9 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.546, allocations: 199.4 kB / 412.1 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.5461, allocations: 7.938 kB / 412.1 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.5461, allocations: 4 kB / 412.1 MB, free: 13.47 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.5462, allocations: 45.67 kB / 412.1 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.5463, allocations: 0 / 412.1 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.5463, allocations: 0 / 412.1 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.5463, allocations: 0 / 412.1 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.694e-05/0.5464, allocations: 19.98 kB / 412.2 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004392/0.5468, allocations: 296.8 kB / 412.5 MB, free: 13.06 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.5471, allocations: 46.5 kB / 412.5 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.5471, allocations: 0 / 412.5 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000145/0.5473, allocations: 63.48 kB / 412.6 MB, free: 12.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.694e-06/0.5473, allocations: 0 / 412.6 MB, free: 12.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.000511/0.5478, allocations: 121.3 kB / 412.7 MB, free: 12.81 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.5478, allocations: 51.41 kB / 412.7 MB, free: 12.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.5481, allocations: 169.6 kB / 412.9 MB, free: 12.57 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.5481, allocations: 25.7 kB / 412.9 MB, free: 12.54 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.436e-05/0.5482, allocations: 170.4 kB / 413.1 MB, free: 12.37 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.5483, allocations: 19.8 kB / 413.1 MB, free: 12.35 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.785e-06/0.5483, allocations: 0 / 413.1 MB, free: 12.35 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.5484, allocations: 314.8 kB / 413.4 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.834e-05/0.5485, allocations: 23.98 kB / 413.4 MB, free: 12.01 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.481e-05/0.5486, allocations: 27.92 kB / 413.5 MB, free: 11.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.5487, allocations: 57.64 kB / 413.5 MB, free: 11.92 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.5487, allocations: 0 / 413.5 MB, free: 11.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002817/0.549, allocations: 123.3 kB / 413.6 MB, free: 11.79 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.714e-05/0.5491, allocations: 37.7 kB / 413.7 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.5491, allocations: 0 / 413.7 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.5491, allocations: 0 / 413.7 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.281e-05/0.5492, allocations: 12.22 kB / 413.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.5492, allocations: 7.984 kB / 413.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.755e-05/0.5493, allocations: 4 kB / 413.7 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.5493, allocations: 7.953 kB / 413.7 MB, free: 11.71 MB / 346.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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001327/0.5495, allocations: 117.8 kB / 413.8 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/0.5495, allocations: 15.88 kB / 413.8 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002767/0.5498, allocations: 90.11 kB / 413.9 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.5498, allocations: 4 kB / 413.9 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.5499, allocations: 0 / 413.9 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.5499, allocations: 4 kB / 413.9 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005466/0.5504, allocations: 358.5 kB / 414.3 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.5505, allocations: 0 / 414.3 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.826e-05/0.5505, allocations: 11.98 kB / 414.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.5505, allocations: 0 / 414.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.5506, allocations: 0 / 414.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.5506, allocations: 0 / 414.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.5506, allocations: 4 kB / 414.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.5509, allocations: 187.3 kB / 414.5 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.997e-05/0.5509, allocations: 88.92 kB / 414.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.551, allocations: 0 / 414.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.262e-05/0.5511, allocations: 4 kB / 414.6 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.5511, allocations: 4.078 kB / 414.6 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.5512, allocations: 11.94 kB / 414.6 MB, free: 10.73 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001849/0.5514, allocations: 142.4 kB / 414.7 MB, free: 10.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.5514, allocations: 3.938 kB / 414.7 MB, free: 10.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003935/0.5518, allocations: 39.94 kB / 414.8 MB, free: 10.55 MB / 346.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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001575/0.5534, allocations: 0.9738 MB / 415.7 MB, free: 9.629 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002766/0.5537, allocations: 123.3 kB / 415.9 MB, free: 9.496 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5537, allocations: 0 / 415.9 MB, free: 9.496 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.18e-05/0.5538, allocations: 19.94 kB / 415.9 MB, free: 9.477 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.5541, allocations: 15.98 kB / 415.9 MB, free: 9.461 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009482/0.5551, allocations: 497.4 kB / 416.4 MB, free: 8.918 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.5554, allocations: 0.7043 MB / 417.1 MB, free: 8.188 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.433e-05/0.5555, allocations: 23.44 kB / 417.1 MB, free: 8.164 MB / 346.7 MB Notification: Performance of SimCode: time 8.51e-07/0.5556, allocations: 0 / 417.1 MB, free: 8.164 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.649/3.205, allocations: 2.206 MB / 419.3 MB, free: 5.965 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat does not exist to compare? outputFormat=mat