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.Test30.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,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.Test30") Notification: Performance of loadModel(ModelicaTest): time 1.898/1.898, allocations: 209.4 MB / 217.3 MB, free: 4.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.803e-05/1.809e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2579, allocations: 48.69 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1123/0.3703, allocations: 75.12 MB / 395.1 MB, free: 5.332 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/0.3705, allocations: 63.97 kB / 395.2 MB, free: 5.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01614/0.3867, allocations: 3.984 MB / 399.2 MB, free: 1.281 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.902e-06/0.3867, allocations: 0 / 399.2 MB, free: 1.281 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.597e-05/0.3868, allocations: 4 kB / 399.2 MB, free: 1.277 MB / 330.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.0005152/0.3873, allocations: 416 kB / 399.6 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.3873, allocations: 8.031 kB / 399.6 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.931e-05/0.3874, allocations: 7.906 kB / 399.6 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.3877, allocations: 202 kB / 399.8 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.3877, allocations: 0 / 399.8 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.3878, allocations: 11.84 kB / 399.8 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.736e-05/0.3879, allocations: 19.92 kB / 399.8 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.642e-05/0.388, allocations: 41.69 kB / 399.9 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.388, allocations: 3.938 kB / 399.9 MB, free: 500 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.388, allocations: 4 kB / 399.9 MB, free: 496 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.401e-06/0.388, allocations: 0 / 399.9 MB, free: 496 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004104/0.3885, allocations: 269.4 kB / 400.1 MB, free: 188 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.3887, allocations: 38.56 kB / 400.2 MB, free: 140 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.744e-05/0.3887, allocations: 12.86 kB / 400.2 MB, free: 124 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.3888, allocations: 7.938 kB / 400.2 MB, free: 116 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001273/0.3889, allocations: 55.5 kB / 400.3 MB, free: 48 kB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.485e-06/0.3889, allocations: 0 / 400.3 MB, free: 48 kB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004257/0.3893, allocations: 105.4 kB / 400.4 MB, free: 15.94 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.3894, allocations: 55.34 kB / 400.4 MB, free: 15.87 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.3896, allocations: 158.1 kB / 400.6 MB, free: 15.71 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.3897, allocations: 29.7 kB / 400.6 MB, free: 15.68 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.483e-05/0.3898, allocations: 162.5 kB / 400.8 MB, free: 15.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.3898, allocations: 15.81 kB / 400.8 MB, free: 15.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.072e-06/0.3898, allocations: 4 kB / 400.8 MB, free: 15.5 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.39, allocations: 314.8 kB / 401.1 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.305e-05/0.3901, allocations: 20 kB / 401.1 MB, free: 15.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.16e-05/0.3901, allocations: 20 kB / 401.1 MB, free: 15.14 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.39e-05/0.3902, allocations: 23.98 kB / 401.1 MB, free: 15.12 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.806e-06/0.3902, allocations: 0 / 401.1 MB, free: 15.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002262/0.3905, allocations: 89.53 kB / 401.2 MB, free: 15.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.791e-05/0.3905, allocations: 38.47 kB / 401.3 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.814e-06/0.3905, allocations: 0 / 401.3 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.3906, allocations: 4 kB / 401.3 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.469e-05/0.3906, allocations: 8.094 kB / 401.3 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.341e-06/0.3907, allocations: 3.938 kB / 401.3 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.178e-05/0.3907, allocations: 7.984 kB / 401.3 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.3908, allocations: 7.953 kB / 401.3 MB, free: 14.95 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 () * 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 9.407e-05/0.3909, allocations: 109 kB / 401.4 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.3909, allocations: 7.906 kB / 401.4 MB, free: 14.83 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/0.3911, allocations: 82.02 kB / 401.5 MB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.325e-06/0.3912, allocations: 8 kB / 401.5 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.165e-06/0.3912, allocations: 0 / 401.5 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3912, allocations: 144 / 401.5 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004616/0.3917, allocations: 331.1 kB / 401.8 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.094e-06/0.3917, allocations: 3.938 kB / 401.8 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.486e-05/0.3917, allocations: 4 kB / 401.8 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.3918, allocations: 0 / 401.8 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.3918, allocations: 7.984 kB / 401.8 MB, free: 14.35 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.373e-06/0.3918, allocations: 3.938 kB / 401.8 MB, free: 14.35 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.398e-06/0.3918, allocations: 4 kB / 401.8 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.392, allocations: 171.4 kB / 402 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.356e-05/0.3921, allocations: 89 kB / 402.1 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.3922, allocations: 0 / 402.1 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.435e-05/0.3923, allocations: 4.25 kB / 402.1 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.3923, allocations: 4 kB / 402.1 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.3924, allocations: 11.98 kB / 402.1 MB, free: 14.04 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001359/0.3925, allocations: 123.8 kB / 402.2 MB, free: 13.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-07/0.3925, allocations: 0 / 402.2 MB, free: 13.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003658/0.3929, allocations: 31.94 kB / 402.3 MB, free: 13.88 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) * 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.000948/0.3939, allocations: 318.8 kB / 402.6 MB, free: 13.62 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002241/0.3941, allocations: 111.4 kB / 402.7 MB, free: 13.5 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.849e-06/0.3941, allocations: 0 / 402.7 MB, free: 13.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.602e-05/0.3942, allocations: 16 kB / 402.7 MB, free: 13.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.3945, allocations: 13.41 kB / 402.7 MB, free: 13.47 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004062/0.3949, allocations: 162.7 kB / 402.9 MB, free: 13.29 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.3953, allocations: 0.7002 MB / 403.6 MB, free: 12.56 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.058e-05/0.3954, allocations: 11.44 kB / 403.6 MB, free: 12.55 MB / 346.7 MB Notification: Performance of SimCode: time 1.523e-06/0.3954, allocations: 7.938 kB / 403.6 MB, free: 12.54 MB / 346.7 MB Notification: Performance of Templates: time 0.004219/0.3996, allocations: 1.702 MB / 405.3 MB, free: 10.84 MB / 346.7 MB