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.Test42.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.Test42,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.Test42") Notification: Performance of loadModel(ModelicaTest): time 1.888/1.888, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.485e-05/5.494e-05, allocations: 4 kB / 277.8 MB, free: 15.29 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1222, allocations: 48.7 MB / 326.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3422/0.4644, allocations: 75.77 MB / 402.3 MB, free: 10.11 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001995/0.4647, allocations: 69.28 kB / 402.4 MB, free: 10.1 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01531/0.48, allocations: 4.081 MB / 406.5 MB, free: 8.52 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.995e-06/0.4801, allocations: 4 kB / 406.5 MB, free: 8.516 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.4801, allocations: 0 / 406.5 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.0003628/0.4805, allocations: 421.3 kB / 406.9 MB, free: 8.086 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.4805, allocations: 7.656 kB / 406.9 MB, free: 8.086 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.646e-05/0.4806, allocations: 7.812 kB / 406.9 MB, free: 8.082 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.4808, allocations: 201 kB / 407.1 MB, free: 7.867 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.4808, allocations: 3.375 kB / 407.1 MB, free: 7.867 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.4808, allocations: 7.344 kB / 407.1 MB, free: 7.867 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.831e-05/0.481, allocations: 44.59 kB / 407.1 MB, free: 7.828 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.481, allocations: 3.938 kB / 407.1 MB, free: 7.824 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.481, allocations: 0 / 407.1 MB, free: 7.824 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.482e-06/0.481, allocations: 0 / 407.1 MB, free: 7.824 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.789e-05/0.4811, allocations: 23.02 kB / 407.2 MB, free: 7.816 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003312/0.4814, allocations: 293.3 kB / 407.5 MB, free: 7.527 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.4816, allocations: 41.25 kB / 407.5 MB, free: 7.5 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.293e-05/0.4817, allocations: 16.45 kB / 407.5 MB, free: 7.488 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.4817, allocations: 0 / 407.5 MB, free: 7.488 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001099/0.4818, allocations: 60.59 kB / 407.6 MB, free: 7.434 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.384e-06/0.4819, allocations: 0 / 407.6 MB, free: 7.434 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003907/0.4823, allocations: 110.8 kB / 407.7 MB, free: 7.375 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.219e-05/0.4823, allocations: 55.34 kB / 407.7 MB, free: 7.309 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.4825, allocations: 169.1 kB / 407.9 MB, free: 7.199 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.4825, allocations: 33.52 kB / 407.9 MB, free: 7.164 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.349e-05/0.4826, allocations: 164.3 kB / 408.1 MB, free: 7.012 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.4826, allocations: 15.09 kB / 408.1 MB, free: 7.004 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.247e-06/0.4826, allocations: 0 / 408.1 MB, free: 7.004 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.75e-05/0.4827, allocations: 314.3 kB / 408.4 MB, free: 6.691 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.817e-05/0.4827, allocations: 18.59 kB / 408.4 MB, free: 6.691 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.427e-05/0.4828, allocations: 29.61 kB / 408.5 MB, free: 6.688 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.564e-05/0.4829, allocations: 52.72 kB / 408.5 MB, free: 6.652 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.782e-06/0.4829, allocations: 0 / 408.5 MB, free: 6.652 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002277/0.4831, allocations: 126.8 kB / 408.6 MB, free: 6.578 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/0.4832, allocations: 41.28 kB / 408.7 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.144e-06/0.4832, allocations: 0 / 408.7 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.4832, allocations: 0 / 408.7 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.811e-05/0.4833, allocations: 7.75 kB / 408.7 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.4833, allocations: 7.812 kB / 408.7 MB, free: 6.535 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.937e-05/0.4834, allocations: 3.938 kB / 408.7 MB, free: 6.531 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.4834, allocations: 10.95 kB / 408.7 MB, free: 6.527 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.506e-05/0.4835, allocations: 109.2 kB / 408.8 MB, free: 6.418 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.4835, allocations: 11.75 kB / 408.8 MB, free: 6.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002165/0.4837, allocations: 96 kB / 408.9 MB, free: 6.363 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.7e-06/0.4838, allocations: 3.984 kB / 408.9 MB, free: 6.359 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.894e-06/0.4838, allocations: 0 / 408.9 MB, free: 6.359 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.084e-06/0.4838, allocations: 0 / 408.9 MB, free: 6.359 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003604/0.4842, allocations: 357 kB / 409.3 MB, free: 6.035 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.4842, allocations: 3.938 kB / 409.3 MB, free: 6.031 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.691e-05/0.4843, allocations: 7.594 kB / 409.3 MB, free: 6.031 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.4843, allocations: 4 kB / 409.3 MB, free: 6.027 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.4843, allocations: 0 / 409.3 MB, free: 6.027 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.128e-06/0.4843, allocations: 3.812 kB / 409.3 MB, free: 6.027 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.718e-06/0.4843, allocations: 0 / 409.3 MB, free: 6.027 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.4845, allocations: 181.5 kB / 409.5 MB, free: 5.879 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.201e-05/0.4846, allocations: 88.48 kB / 409.5 MB, free: 5.781 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.4846, allocations: 0 / 409.5 MB, free: 5.781 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.455e-05/0.4847, allocations: 0 / 409.5 MB, free: 5.781 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.4847, allocations: 15.08 kB / 409.6 MB, free: 5.773 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.4848, allocations: 3.781 kB / 409.6 MB, free: 5.773 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001258/0.4849, allocations: 141.8 kB / 409.7 MB, free: 5.688 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.721e-06/0.4849, allocations: 0 / 409.7 MB, free: 5.688 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003615/0.4853, allocations: 42.12 kB / 409.7 MB, free: 5.672 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.001006/0.4863, allocations: 340.2 kB / 410.1 MB, free: 5.469 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001948/0.4865, allocations: 106.8 kB / 410.2 MB, free: 5.406 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.043e-06/0.4866, allocations: 3.938 kB / 410.2 MB, free: 5.402 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.68e-05/0.4866, allocations: 25.94 kB / 410.2 MB, free: 5.398 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.4869, allocations: 18.97 kB / 410.2 MB, free: 5.391 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/0.4873, allocations: 174.7 kB / 410.4 MB, free: 5.258 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/0.4874, allocations: 0.7037 MB / 411.1 MB, free: 4.547 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.432e-05/0.4875, allocations: 15.25 kB / 411.1 MB, free: 4.539 MB / 314.7 MB Notification: Performance of SimCode: time 1.425e-06/0.4875, allocations: 0 / 411.1 MB, free: 4.539 MB / 314.7 MB Notification: Performance of Templates: time 0.003668/0.4912, allocations: 1.742 MB / 412.9 MB, free: 3.66 MB / 314.7 MB