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.Test59.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.Test59,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.056/2.056, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006083/0.0006083, allocations: 16 kB / 282.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4059/0.4066, allocations: 48.7 MB / 331.4 MB, free: 6.535 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.141/0.5476, allocations: 76.1 MB / 407.5 MB, free: 2.32 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/0.548, allocations: 67.97 kB / 407.5 MB, free: 2.254 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02269/0.5707, allocations: 4.964 MB / 412.5 MB, free: 13.3 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.756e-06/0.5708, allocations: 0 / 412.5 MB, free: 13.3 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.5708, allocations: 3.938 kB / 412.5 MB, free: 13.3 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.0006623/0.5715, allocations: 420.8 kB / 412.9 MB, free: 12.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.5715, allocations: 12.03 kB / 412.9 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.698e-05/0.5716, allocations: 38.56 kB / 413 MB, free: 12.78 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.176e-05/0.5717, allocations: 15.89 kB / 413 MB, free: 12.76 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.5719, allocations: 190.8 kB / 413.2 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.572, allocations: 4 kB / 413.2 MB, free: 12.53 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.572, allocations: 0 / 413.2 MB, free: 12.53 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.5722, allocations: 63.39 kB / 413.2 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.5722, allocations: 0 / 413.2 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.5722, allocations: 0 / 413.2 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.5723, allocations: 0 / 413.2 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.204e-05/0.5723, allocations: 19.92 kB / 413.2 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004651/0.5728, allocations: 284.8 kB / 413.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002789/0.5731, allocations: 46.56 kB / 413.6 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.5732, allocations: 0 / 413.6 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/0.5733, allocations: 63.42 kB / 413.6 MB, free: 11.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.365e-06/0.5734, allocations: 4 kB / 413.6 MB, free: 11.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005593/0.5739, allocations: 109.4 kB / 413.7 MB, free: 11.86 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.574, allocations: 81.11 kB / 413.8 MB, free: 11.77 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.5742, allocations: 133.5 kB / 414 MB, free: 11.63 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.5742, allocations: 25.7 kB / 414 MB, free: 11.6 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.54e-05/0.5743, allocations: 162.5 kB / 414.1 MB, free: 11.44 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.226e-05/0.5744, allocations: 19.73 kB / 414.2 MB, free: 11.42 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-06/0.5744, allocations: 4 kB / 414.2 MB, free: 11.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.5745, allocations: 310.8 kB / 414.5 MB, free: 11.1 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.63e-05/0.5746, allocations: 27.98 kB / 414.5 MB, free: 11.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.477e-05/0.5747, allocations: 33.7 kB / 414.5 MB, free: 11.04 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.5748, allocations: 49.73 kB / 414.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.5749, allocations: 0 / 414.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002934/0.5752, allocations: 123.3 kB / 414.7 MB, free: 10.85 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.035e-05/0.5752, allocations: 29.7 kB / 414.7 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.5752, allocations: 4 kB / 414.7 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.5753, allocations: 0 / 414.7 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.611e-05/0.5754, allocations: 8.031 kB / 414.7 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.5754, allocations: 4 kB / 414.7 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.863e-05/0.5755, allocations: 7.984 kB / 414.7 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.5755, allocations: 7.953 kB / 414.8 MB, free: 10.78 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.0001293/0.5756, allocations: 125.7 kB / 414.9 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.5757, allocations: 3.906 kB / 414.9 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00027/0.576, allocations: 85.64 kB / 415 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.576, allocations: 4 kB / 415 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.576, allocations: 4 kB / 415 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.576, allocations: 4.266 kB / 415 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005387/0.5766, allocations: 342.5 kB / 415.3 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.5766, allocations: 3.984 kB / 415.3 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.841e-05/0.5766, allocations: 4.188 kB / 415.3 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.5767, allocations: 4 kB / 415.3 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.5767, allocations: 7.984 kB / 415.3 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.5767, allocations: 0 / 415.3 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.5767, allocations: 0 / 415.3 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.577, allocations: 183.3 kB / 415.5 MB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.891e-05/0.577, allocations: 89.02 kB / 415.6 MB, free: 9.836 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.902e-05/0.5771, allocations: 0 / 415.6 MB, free: 9.836 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.511e-05/0.5772, allocations: 0 / 415.6 MB, free: 9.836 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.5773, allocations: 7.984 kB / 415.6 MB, free: 9.828 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.5773, allocations: 4 kB / 415.6 MB, free: 9.824 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001322/0.5774, allocations: 108.9 kB / 415.7 MB, free: 9.719 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5775, allocations: 4 kB / 415.7 MB, free: 9.715 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004357/0.5779, allocations: 47.92 kB / 415.8 MB, free: 9.668 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.001782/0.5797, allocations: 1.055 MB / 416.8 MB, free: 8.672 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002898/0.58, allocations: 107.3 kB / 416.9 MB, free: 8.555 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.58, allocations: 0 / 416.9 MB, free: 8.555 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.676e-05/0.5801, allocations: 23.98 kB / 416.9 MB, free: 8.531 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.5805, allocations: 12.16 kB / 417 MB, free: 8.52 MB / 346.7 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003063/0.5835, allocations: 1.155 MB / 418.1 MB, free: 7.305 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.5839, allocations: 0.6887 MB / 418.8 MB, free: 6.59 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.584, allocations: 27.42 kB / 418.8 MB, free: 6.562 MB / 346.7 MB Notification: Performance of SimCode: time 1.643e-06/0.584, allocations: 0 / 418.8 MB, free: 6.562 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.712/3.296, allocations: 2.256 MB / 421.1 MB, free: 4.309 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat does not exist to compare? outputFormat=mat