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.Test40.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.Test40,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.Test40") Notification: Performance of loadModel(ModelicaTest): time 1.938/1.938, allocations: 209.4 MB / 217.3 MB, free: 4.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.5e-05/2.502e-05, allocations: 8 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2616, allocations: 48.69 MB / 320 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1127/0.3744, allocations: 75.11 MB / 395.1 MB, free: 5.32 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.3746, allocations: 63.97 kB / 395.2 MB, free: 5.258 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01641/0.3911, allocations: 4.098 MB / 399.3 MB, free: 1.156 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.681e-06/0.3911, allocations: 0 / 399.3 MB, free: 1.156 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.3911, allocations: 8 kB / 399.3 MB, free: 1.148 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.0005142/0.3917, allocations: 412 kB / 399.7 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.3917, allocations: 8.031 kB / 399.7 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.853e-05/0.3918, allocations: 11.91 kB / 399.7 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.3921, allocations: 208.2 kB / 399.9 MB, free: 444 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.3921, allocations: 7.938 kB / 399.9 MB, free: 436 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.3922, allocations: 4 kB / 399.9 MB, free: 432 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.861e-05/0.3922, allocations: 15.94 kB / 399.9 MB, free: 416 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.3924, allocations: 49.67 kB / 400 MB, free: 360 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.3924, allocations: 0 / 400 MB, free: 360 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.3924, allocations: 0 / 400 MB, free: 360 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.076e-06/0.3924, allocations: 0 / 400 MB, free: 360 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004031/0.3928, allocations: 269.5 kB / 400.3 MB, free: 52 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.393, allocations: 42.5 kB / 400.3 MB, free: 0 / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.051e-05/0.3931, allocations: 17.02 kB / 400.3 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.3931, allocations: 4 kB / 400.3 MB, free: 15.97 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001244/0.3933, allocations: 55.41 kB / 400.4 MB, free: 15.91 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.283e-06/0.3933, allocations: 0 / 400.4 MB, free: 15.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004077/0.3937, allocations: 109.2 kB / 400.5 MB, free: 15.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.3938, allocations: 59.39 kB / 400.5 MB, free: 15.72 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.394, allocations: 174.4 kB / 400.7 MB, free: 15.55 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.3941, allocations: 29.7 kB / 400.7 MB, free: 15.51 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.597e-05/0.3942, allocations: 162.6 kB / 400.9 MB, free: 15.35 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.3942, allocations: 19.8 kB / 400.9 MB, free: 15.33 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.907e-06/0.3942, allocations: 0 / 400.9 MB, free: 15.33 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3944, allocations: 314.8 kB / 401.2 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.338e-05/0.3945, allocations: 20 kB / 401.2 MB, free: 15 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.493e-05/0.3945, allocations: 23.98 kB / 401.3 MB, free: 14.97 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.159e-05/0.3946, allocations: 20 kB / 401.3 MB, free: 14.95 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.227e-06/0.3946, allocations: 0 / 401.3 MB, free: 14.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002259/0.3949, allocations: 93.61 kB / 401.4 MB, free: 14.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.925e-05/0.3949, allocations: 33.7 kB / 401.4 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.067e-06/0.3949, allocations: 0 / 401.4 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.395, allocations: 4 kB / 401.4 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.065e-05/0.395, allocations: 11.98 kB / 401.4 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.3951, allocations: 96 / 401.4 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.592e-05/0.3951, allocations: 3.938 kB / 401.4 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.3952, allocations: 8 kB / 401.4 MB, free: 14.79 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.857e-05/0.3953, allocations: 115.8 kB / 401.6 MB, free: 14.67 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.3953, allocations: 11.81 kB / 401.6 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002347/0.3956, allocations: 90.22 kB / 401.7 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.768e-06/0.3956, allocations: 7.922 kB / 401.7 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3956, allocations: 0 / 401.7 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.999e-06/0.3956, allocations: 4 kB / 401.7 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004406/0.3961, allocations: 335 kB / 402 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.103e-06/0.3961, allocations: 0 / 402 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.376e-05/0.3961, allocations: 4 kB / 402 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.463e-06/0.3962, allocations: 0 / 402 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.3962, allocations: 8.172 kB / 402 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.926e-06/0.3962, allocations: 8 kB / 402 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.282e-06/0.3962, allocations: 0 / 402 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.3964, allocations: 171.4 kB / 402.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.855e-05/0.3965, allocations: 92.91 kB / 402.3 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.3966, allocations: 0 / 402.3 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.062e-05/0.3967, allocations: 4 kB / 402.3 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.3967, allocations: 4 kB / 402.3 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.3967, allocations: 7.938 kB / 402.3 MB, free: 13.86 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001604/0.3969, allocations: 140.1 kB / 402.4 MB, free: 13.72 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.5e-07/0.3969, allocations: 0 / 402.4 MB, free: 13.72 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00037/0.3973, allocations: 39.92 kB / 402.5 MB, free: 13.68 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.0009313/0.3983, allocations: 311.2 kB / 402.8 MB, free: 13.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002296/0.3985, allocations: 107.4 kB / 402.9 MB, free: 13.31 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.598e-06/0.3985, allocations: 0 / 402.9 MB, free: 13.31 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.524e-05/0.3986, allocations: 19.94 kB / 402.9 MB, free: 13.29 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.3989, allocations: 15.94 kB / 402.9 MB, free: 13.28 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004143/0.3993, allocations: 185.6 kB / 403.1 MB, free: 13.07 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.3997, allocations: 0.708 MB / 403.8 MB, free: 12.33 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.231e-05/0.3998, allocations: 19.42 kB / 403.8 MB, free: 12.31 MB / 346.7 MB Notification: Performance of SimCode: time 1.366e-06/0.3998, allocations: 0 / 403.8 MB, free: 12.31 MB / 346.7 MB Notification: Performance of Templates: time 0.004321/0.4041, allocations: 1.771 MB / 405.6 MB, free: 10.54 MB / 346.7 MB