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.Test28.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.Test28,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.Test28") Notification: Performance of loadModel(ModelicaTest): time 1.827/1.827, allocations: 209.3 MB / 222.4 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.406e-05/3.421e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1007, allocations: 48.71 MB / 326.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3701/0.4708, allocations: 75.73 MB / 402.3 MB, free: 10.03 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/0.471, allocations: 78.12 kB / 402.4 MB, free: 10.01 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01499/0.486, allocations: 3.918 MB / 406.3 MB, free: 8.504 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.417e-06/0.4861, allocations: 0 / 406.3 MB, free: 8.504 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.794e-05/0.4861, allocations: 0 / 406.3 MB, free: 8.504 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.0003613/0.4865, allocations: 413.8 kB / 406.7 MB, free: 8.078 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.4865, allocations: 11.56 kB / 406.7 MB, free: 8.078 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.313e-05/0.4866, allocations: 7.812 kB / 406.7 MB, free: 8.074 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.4868, allocations: 194.3 kB / 406.9 MB, free: 7.863 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.4868, allocations: 4 kB / 406.9 MB, free: 7.859 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.4869, allocations: 7.781 kB / 406.9 MB, free: 7.855 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.785e-05/0.487, allocations: 43.44 kB / 406.9 MB, free: 7.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.487, allocations: 0 / 406.9 MB, free: 7.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.487, allocations: 3.984 kB / 406.9 MB, free: 7.816 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.303e-06/0.487, allocations: 3.844 kB / 406.9 MB, free: 7.816 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.433e-05/0.4871, allocations: 14.75 kB / 407 MB, free: 7.812 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003339/0.4875, allocations: 291.8 kB / 407.2 MB, free: 7.523 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.4877, allocations: 47.5 kB / 407.3 MB, free: 7.492 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.433e-05/0.4877, allocations: 20.14 kB / 407.3 MB, free: 7.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.4877, allocations: 0 / 407.3 MB, free: 7.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001035/0.4879, allocations: 54.5 kB / 407.4 MB, free: 7.426 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.466e-06/0.4879, allocations: 3.844 kB / 407.4 MB, free: 7.426 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003854/0.4883, allocations: 114 kB / 407.5 MB, free: 7.363 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.166e-05/0.4883, allocations: 59.34 kB / 407.5 MB, free: 7.293 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.4885, allocations: 156.6 kB / 407.7 MB, free: 7.191 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.4885, allocations: 25.7 kB / 407.7 MB, free: 7.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.091e-05/0.4886, allocations: 165 kB / 407.9 MB, free: 7.008 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.4886, allocations: 19.17 kB / 407.9 MB, free: 6.996 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.117e-06/0.4886, allocations: 0 / 407.9 MB, free: 6.996 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.669e-05/0.4887, allocations: 310.8 kB / 408.2 MB, free: 6.684 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.018e-05/0.4887, allocations: 25.69 kB / 408.2 MB, free: 6.684 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.404e-05/0.4888, allocations: 17.72 kB / 408.2 MB, free: 6.684 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.082e-05/0.4889, allocations: 59.34 kB / 408.3 MB, free: 6.645 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.705e-06/0.4889, allocations: 0 / 408.3 MB, free: 6.645 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002328/0.4892, allocations: 125.4 kB / 408.4 MB, free: 6.566 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/0.4892, allocations: 37.33 kB / 408.5 MB, free: 6.531 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.386e-06/0.4892, allocations: 0 / 408.5 MB, free: 6.531 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.4893, allocations: 0 / 408.5 MB, free: 6.531 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.089e-05/0.4893, allocations: 11.61 kB / 408.5 MB, free: 6.527 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.493e-06/0.4893, allocations: 7.797 kB / 408.5 MB, free: 6.523 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.854e-05/0.4894, allocations: 3.062 kB / 408.5 MB, free: 6.523 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.4894, allocations: 3.938 kB / 408.5 MB, free: 6.523 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.6e-05/0.4895, allocations: 112.2 kB / 408.6 MB, free: 6.414 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.4895, allocations: 7.812 kB / 408.6 MB, free: 6.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002086/0.4898, allocations: 98.19 kB / 408.7 MB, free: 6.359 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.392e-06/0.4898, allocations: 0 / 408.7 MB, free: 6.359 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.355e-06/0.4898, allocations: 0 / 408.7 MB, free: 6.359 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.095e-06/0.4898, allocations: 4.078 kB / 408.7 MB, free: 6.355 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003409/0.4902, allocations: 353.7 kB / 409.1 MB, free: 6.031 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.077e-06/0.4902, allocations: 4 kB / 409.1 MB, free: 6.027 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.711e-05/0.4902, allocations: 11.12 kB / 409.1 MB, free: 6.027 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.053e-06/0.4903, allocations: 0 / 409.1 MB, free: 6.027 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.4903, allocations: 3.984 kB / 409.1 MB, free: 6.023 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.718e-06/0.4903, allocations: 7.641 kB / 409.1 MB, free: 6.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.4903, allocations: 0 / 409.1 MB, free: 6.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.4905, allocations: 165.3 kB / 409.2 MB, free: 5.883 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.993e-05/0.4905, allocations: 92.09 kB / 409.3 MB, free: 5.781 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.4906, allocations: 7.75 kB / 409.3 MB, free: 5.777 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.311e-05/0.4907, allocations: 0 / 409.3 MB, free: 5.777 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.4907, allocations: 7.922 kB / 409.3 MB, free: 5.773 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.4908, allocations: 0 / 409.3 MB, free: 5.773 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001107/0.4909, allocations: 141.3 kB / 409.5 MB, free: 5.688 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.95e-07/0.4909, allocations: 0 / 409.5 MB, free: 5.688 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003604/0.4913, allocations: 32.94 kB / 409.5 MB, free: 5.68 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.001055/0.4923, allocations: 349.2 kB / 409.9 MB, free: 5.469 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000188/0.4925, allocations: 105.1 kB / 410 MB, free: 5.406 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.4926, allocations: 3.938 kB / 410 MB, free: 5.402 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.588e-05/0.4926, allocations: 26.92 kB / 410 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.0002559/0.4929, allocations: 14.17 kB / 410 MB, free: 5.391 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003459/0.4933, allocations: 163 kB / 410.2 MB, free: 5.262 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.4934, allocations: 0.703 MB / 410.9 MB, free: 4.555 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.279e-05/0.4935, allocations: 15.12 kB / 410.9 MB, free: 4.547 MB / 314.7 MB Notification: Performance of SimCode: time 1.503e-06/0.4935, allocations: 0 / 410.9 MB, free: 4.547 MB / 314.7 MB Notification: Performance of Templates: time 0.003638/0.4971, allocations: 1.71 MB / 412.6 MB, free: 3.684 MB / 314.7 MB