Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadModel(ModelicaTest): time 1.941/1.941, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.183e-05/5.194e-05, allocations: 11.98 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09189/0.09198, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3811/0.4731, allocations: 75.74 MB / 402.3 MB, free: 10 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/0.4734, allocations: 75.89 kB / 402.4 MB, free: 9.992 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01456/0.4879, allocations: 3.853 MB / 406.2 MB, free: 8.516 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.04e-06/0.488, allocations: 0 / 406.2 MB, free: 8.516 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.757e-05/0.488, allocations: 0 / 406.2 MB, free: 8.516 MB / 314.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.0003506/0.4884, allocations: 414.8 kB / 406.6 MB, free: 8.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.4884, allocations: 11.53 kB / 406.6 MB, free: 8.09 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.237e-05/0.4885, allocations: 7.781 kB / 406.6 MB, free: 8.086 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.4887, allocations: 190.2 kB / 406.8 MB, free: 7.875 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.4887, allocations: 3.875 kB / 406.8 MB, free: 7.875 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.4887, allocations: 0 / 406.8 MB, free: 7.875 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.681e-05/0.4888, allocations: 51.53 kB / 406.9 MB, free: 7.836 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.4889, allocations: 3.938 kB / 406.9 MB, free: 7.832 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.4889, allocations: 0 / 406.9 MB, free: 7.832 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.974e-06/0.4889, allocations: 0 / 406.9 MB, free: 7.832 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.513e-05/0.489, allocations: 15.58 kB / 406.9 MB, free: 7.828 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003191/0.4893, allocations: 294 kB / 407.2 MB, free: 7.539 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.4895, allocations: 44.78 kB / 407.2 MB, free: 7.508 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.903e-05/0.4896, allocations: 24.38 kB / 407.2 MB, free: 7.492 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.4896, allocations: 0 / 407.2 MB, free: 7.492 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001045/0.4897, allocations: 54.81 kB / 407.3 MB, free: 7.441 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 3.505e-06/0.4897, allocations: 3.984 kB / 407.3 MB, free: 7.438 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003692/0.4901, allocations: 110.6 kB / 407.4 MB, free: 7.379 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.977e-05/0.4901, allocations: 55.34 kB / 407.5 MB, free: 7.312 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.4903, allocations: 151.5 kB / 407.6 MB, free: 7.203 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.4903, allocations: 33.66 kB / 407.6 MB, free: 7.168 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.938e-05/0.4904, allocations: 157.4 kB / 407.8 MB, free: 7.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.4904, allocations: 15.47 kB / 407.8 MB, free: 7.012 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.067e-06/0.4904, allocations: 0 / 407.8 MB, free: 7.012 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.587e-05/0.4905, allocations: 310.8 kB / 408.1 MB, free: 6.699 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.683e-05/0.4906, allocations: 26.05 kB / 408.1 MB, free: 6.695 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.675e-05/0.4906, allocations: 22.41 kB / 408.2 MB, free: 6.695 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.028e-05/0.4907, allocations: 51.41 kB / 408.2 MB, free: 6.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.751e-06/0.4907, allocations: 7.938 kB / 408.2 MB, free: 6.652 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002207/0.491, allocations: 119.3 kB / 408.3 MB, free: 6.582 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.491, allocations: 41 kB / 408.4 MB, free: 6.547 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.064e-06/0.491, allocations: 224 / 408.4 MB, free: 6.547 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.4911, allocations: 4 kB / 408.4 MB, free: 6.543 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.896e-05/0.4911, allocations: 7.688 kB / 408.4 MB, free: 6.543 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.996e-06/0.4911, allocations: 11.78 kB / 408.4 MB, free: 6.535 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.432e-05/0.4912, allocations: 0 / 408.4 MB, free: 6.535 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.4912, allocations: 7.828 kB / 408.4 MB, free: 6.531 MB / 314.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 () * 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 5.642e-05/0.4913, allocations: 118.8 kB / 408.5 MB, free: 6.418 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.4913, allocations: 7.75 kB / 408.5 MB, free: 6.414 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002065/0.4916, allocations: 82.48 kB / 408.6 MB, free: 6.375 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.651e-06/0.4916, allocations: 3.844 kB / 408.6 MB, free: 6.375 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4916, allocations: 0 / 408.6 MB, free: 6.375 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.156e-06/0.4916, allocations: 3.953 kB / 408.6 MB, free: 6.371 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003334/0.4919, allocations: 352.5 kB / 409 MB, free: 6.047 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.586e-06/0.492, allocations: 3.938 kB / 409 MB, free: 6.043 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.581e-05/0.492, allocations: 11.84 kB / 409 MB, free: 6.039 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.434e-06/0.492, allocations: 0 / 409 MB, free: 6.039 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.4921, allocations: 3.984 kB / 409 MB, free: 6.035 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.16e-06/0.4921, allocations: 7.797 kB / 409 MB, free: 6.031 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.531e-06/0.4921, allocations: 0 / 409 MB, free: 6.031 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.4923, allocations: 171.8 kB / 409.2 MB, free: 5.891 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.903e-05/0.4923, allocations: 88.81 kB / 409.2 MB, free: 5.789 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.4924, allocations: 3.938 kB / 409.3 MB, free: 5.785 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.264e-05/0.4925, allocations: 11.5 kB / 409.3 MB, free: 5.781 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3e-05/0.4925, allocations: 7.922 kB / 409.3 MB, free: 5.777 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.4925, allocations: 192 / 409.3 MB, free: 5.777 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.42e-05/0.4926, allocations: 121.2 kB / 409.4 MB, free: 5.695 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.4e-07/0.4926, allocations: 0 / 409.4 MB, free: 5.695 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003509/0.493, allocations: 34.34 kB / 409.4 MB, free: 5.688 MB / 314.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) * 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.001042/0.4941, allocations: 357.3 kB / 409.8 MB, free: 5.465 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001889/0.4943, allocations: 110.5 kB / 409.9 MB, free: 5.398 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.4943, allocations: 0 / 409.9 MB, free: 5.398 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.792e-05/0.4944, allocations: 25.92 kB / 409.9 MB, free: 5.395 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.4946, allocations: 10.53 kB / 409.9 MB, free: 5.395 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003063/0.4949, allocations: 143.4 kB / 410.1 MB, free: 5.277 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.4951, allocations: 0.707 MB / 410.8 MB, free: 4.566 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.987e-05/0.4952, allocations: 11.31 kB / 410.8 MB, free: 4.559 MB / 314.7 MB Notification: Performance of SimCode: time 1.448e-06/0.4952, allocations: 0 / 410.8 MB, free: 4.559 MB / 314.7 MB Notification: Performance of Templates: time 0.003523/0.4987, allocations: 1.666 MB / 412.4 MB, free: 3.727 MB / 314.7 MB