Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadModel(ModelicaTest): time 2.361/2.361, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008332/0.0008331, allocations: 16 kB / 314.3 MB, free: 9.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.336, allocations: 54.87 MB / 369.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002231/0.3383, allocations: 1.357 MB / 370.5 MB, free: 9.348 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.3397, allocations: 0.7202 MB / 371.3 MB, free: 8.621 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.064e-05/0.3399, allocations: 0 / 371.3 MB, free: 8.621 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002241/0.3401, allocations: 19.86 kB / 371.3 MB, free: 8.602 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001948/0.3403, allocations: 47.86 kB / 371.3 MB, free: 8.555 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.3405, allocations: 51.83 kB / 371.4 MB, free: 8.504 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.3407, allocations: 71.84 kB / 371.5 MB, free: 8.434 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.362e-05/0.3408, allocations: 8 kB / 371.5 MB, free: 8.426 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.969e-05/0.3409, allocations: 43.83 kB / 371.5 MB, free: 8.383 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.214e-05/0.341, allocations: 27.92 kB / 371.5 MB, free: 8.355 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.341, allocations: 0 / 371.5 MB, free: 8.355 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.666e-05/0.3411, allocations: 31.92 kB / 371.6 MB, free: 8.324 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.056e-05/0.3412, allocations: 31.91 kB / 371.6 MB, free: 8.293 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.54e-05/0.3413, allocations: 41.62 kB / 371.6 MB, free: 8.246 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.3415, allocations: 99.8 kB / 371.7 MB, free: 8.148 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.696e-06/0.3415, allocations: 0 / 371.7 MB, free: 8.148 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3415, allocations: 0 / 371.7 MB, free: 8.148 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.962e-06/0.3415, allocations: 3.938 kB / 371.7 MB, free: 8.145 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006406/0.3422, allocations: 476 kB / 372.2 MB, free: 7.621 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.3422, allocations: 16.02 kB / 372.2 MB, free: 7.605 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.363e-05/0.3423, allocations: 15.81 kB / 372.2 MB, free: 7.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.3426, allocations: 202.8 kB / 372.4 MB, free: 7.352 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.3427, allocations: 4 kB / 372.4 MB, free: 7.348 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.3427, allocations: 4 kB / 372.4 MB, free: 7.344 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.3429, allocations: 57.61 kB / 372.5 MB, free: 7.281 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.3429, allocations: 0 / 372.5 MB, free: 7.281 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.3429, allocations: 7.922 kB / 372.5 MB, free: 7.273 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.207e-06/0.343, allocations: 3.953 kB / 372.5 MB, free: 7.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.3431, allocations: 23.98 kB / 372.5 MB, free: 7.246 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004681/0.3436, allocations: 304.9 kB / 372.8 MB, free: 6.898 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.3438, allocations: 58.61 kB / 372.9 MB, free: 6.832 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.3438, allocations: 4 kB / 372.9 MB, free: 6.828 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000223/0.3441, allocations: 75.25 kB / 373 MB, free: 6.742 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.485e-06/0.3441, allocations: 4 kB / 373 MB, free: 6.738 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007205/0.3448, allocations: 189 kB / 373.2 MB, free: 6.547 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.3449, allocations: 51.41 kB / 373.2 MB, free: 6.484 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003525/0.3452, allocations: 254.5 kB / 373.4 MB, free: 6.223 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.3453, allocations: 25.7 kB / 373.5 MB, free: 6.191 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.3454, allocations: 174.4 kB / 373.6 MB, free: 6.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.888e-05/0.3455, allocations: 27.64 kB / 373.7 MB, free: 5.992 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.157e-06/0.3455, allocations: 0 / 373.7 MB, free: 5.992 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.3457, allocations: 322.8 kB / 374 MB, free: 5.668 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.3458, allocations: 27.98 kB / 374 MB, free: 5.641 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.3459, allocations: 45.36 kB / 374.1 MB, free: 5.594 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.3461, allocations: 69.62 kB / 374.1 MB, free: 5.52 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.176e-06/0.3461, allocations: 0 / 374.1 MB, free: 5.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003595/0.3465, allocations: 155.3 kB / 374.3 MB, free: 5.355 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.475e-05/0.3466, allocations: 45.64 kB / 374.3 MB, free: 5.305 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.985e-06/0.3466, allocations: 4.031 kB / 374.3 MB, free: 5.301 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3466, allocations: 0 / 374.3 MB, free: 5.301 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.3467, allocations: 15.94 kB / 374.3 MB, free: 5.285 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.3467, allocations: 4 kB / 374.3 MB, free: 5.281 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.264e-05/0.3468, allocations: 7.984 kB / 374.4 MB, free: 5.273 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.3469, allocations: 8 kB / 374.4 MB, free: 5.266 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 0.0001559/0.347, allocations: 133.8 kB / 374.5 MB, free: 5.125 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.3471, allocations: 11.81 kB / 374.5 MB, free: 5.113 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.02e-05/0.3472, allocations: 25.44 kB / 374.5 MB, free: 5.094 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.219e-06/0.3472, allocations: 96 / 374.5 MB, free: 5.094 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.3472, allocations: 3.938 kB / 374.5 MB, free: 5.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.419e-06/0.3472, allocations: 12.3 kB / 374.5 MB, free: 5.078 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006632/0.3479, allocations: 403.3 kB / 374.9 MB, free: 4.625 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.85e-06/0.3479, allocations: 4 kB / 374.9 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.859e-05/0.348, allocations: 8 kB / 375 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.348, allocations: 3.938 kB / 375 MB, free: 4.609 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/0.348, allocations: 16.02 kB / 375 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.92e-06/0.348, allocations: 0 / 375 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.948e-06/0.348, allocations: 0 / 375 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003356/0.3484, allocations: 208.2 kB / 375.2 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.788e-05/0.3485, allocations: 96.86 kB / 375.3 MB, free: 4.258 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.205e-05/0.3485, allocations: 4 kB / 375.3 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.3487, allocations: 4 kB / 375.3 MB, free: 4.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.3487, allocations: 11.98 kB / 375.3 MB, free: 4.238 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.3487, allocations: 4 kB / 375.3 MB, free: 4.234 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002229/0.349, allocations: 188.5 kB / 375.5 MB, free: 4.051 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.349, allocations: 0 / 375.5 MB, free: 4.051 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003924/0.3494, allocations: 31.98 kB / 375.5 MB, free: 4.02 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001535/0.3509, allocations: 448.6 kB / 375.9 MB, free: 3.664 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003569/0.3513, allocations: 147.4 kB / 376.1 MB, free: 3.508 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.3513, allocations: 3.938 kB / 376.1 MB, free: 3.504 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.3515, allocations: 32.17 kB / 376.1 MB, free: 3.473 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.3518, allocations: 23.86 kB / 376.1 MB, free: 3.449 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006673/0.3525, allocations: 332.7 kB / 376.5 MB, free: 3.094 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/0.3529, allocations: 0.7199 MB / 377.2 MB, free: 2.348 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.001e-05/0.353, allocations: 19.44 kB / 377.2 MB, free: 2.328 MB / 298.7 MB Notification: Performance of SimCode: time 1.479e-06/0.353, allocations: 0 / 377.2 MB, free: 2.328 MB / 298.7 MB Notification: Performance of Templates: time 0.004915/0.3579, allocations: 2.013 MB / 379.2 MB, free: 324 kB / 298.7 MB