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.Test46.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.Test46,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.Test46") Notification: Performance of loadModel(ModelicaTest): time 2.291/2.291, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004462/0.0004464, allocations: 12 kB / 314.3 MB, free: 9.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2955, allocations: 54.86 MB / 369.2 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002254/0.2978, allocations: 1.345 MB / 370.5 MB, free: 9.223 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.2993, allocations: 0.7125 MB / 371.3 MB, free: 8.504 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.907e-05/0.2994, allocations: 3.938 kB / 371.3 MB, free: 8.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002419/0.2996, allocations: 31.89 kB / 371.3 MB, free: 8.469 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001817/0.2998, allocations: 39.89 kB / 371.3 MB, free: 8.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.3, allocations: 55.81 kB / 371.4 MB, free: 8.375 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.3002, allocations: 63.86 kB / 371.4 MB, free: 8.312 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.265e-05/0.3003, allocations: 15.97 kB / 371.5 MB, free: 8.297 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.564e-05/0.3004, allocations: 35.86 kB / 371.5 MB, free: 8.262 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.335e-05/0.3005, allocations: 43.83 kB / 371.5 MB, free: 8.219 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.3006, allocations: 4 kB / 371.5 MB, free: 8.215 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.137e-05/0.3007, allocations: 23.92 kB / 371.6 MB, free: 8.191 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.438e-05/0.3007, allocations: 23.92 kB / 371.6 MB, free: 8.168 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.064e-05/0.3008, allocations: 45.64 kB / 371.6 MB, free: 8.117 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.301, allocations: 95.86 kB / 371.7 MB, free: 8.023 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.439e-06/0.301, allocations: 0 / 371.7 MB, free: 8.023 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.837e-06/0.301, allocations: 0 / 371.7 MB, free: 8.023 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.639e-06/0.3011, allocations: 0 / 371.7 MB, free: 8.023 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.0006591/0.3017, allocations: 478.8 kB / 372.2 MB, free: 7.496 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.3018, allocations: 8.031 kB / 372.2 MB, free: 7.488 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.573e-05/0.3018, allocations: 15.81 kB / 372.2 MB, free: 7.473 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.3021, allocations: 210.7 kB / 372.4 MB, free: 7.227 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.3022, allocations: 4 kB / 372.4 MB, free: 7.223 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.3022, allocations: 11.88 kB / 372.4 MB, free: 7.211 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.3024, allocations: 57.67 kB / 372.5 MB, free: 7.148 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.3024, allocations: 4 kB / 372.5 MB, free: 7.145 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.3025, allocations: 0 / 372.5 MB, free: 7.145 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.3025, allocations: 7.953 kB / 372.5 MB, free: 7.137 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.3026, allocations: 19.98 kB / 372.5 MB, free: 7.117 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004801/0.3031, allocations: 300.9 kB / 372.8 MB, free: 6.773 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.3033, allocations: 54.69 kB / 372.9 MB, free: 6.711 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.3034, allocations: 0 / 372.9 MB, free: 6.711 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000221/0.3036, allocations: 83.25 kB / 373 MB, free: 6.617 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 4.607e-06/0.3036, allocations: 3.984 kB / 373 MB, free: 6.613 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007025/0.3043, allocations: 189 kB / 373.1 MB, free: 6.422 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.3044, allocations: 51.41 kB / 373.2 MB, free: 6.359 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003332/0.3048, allocations: 254.5 kB / 373.4 MB, free: 6.098 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.334e-05/0.3048, allocations: 33.64 kB / 373.5 MB, free: 6.059 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.3049, allocations: 186.4 kB / 373.7 MB, free: 5.875 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.305, allocations: 23.66 kB / 373.7 MB, free: 5.852 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.161e-06/0.305, allocations: 0 / 373.7 MB, free: 5.852 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.3052, allocations: 318.8 kB / 374 MB, free: 5.531 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.3053, allocations: 31.98 kB / 374 MB, free: 5.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.3054, allocations: 46.41 kB / 374.1 MB, free: 5.449 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.3056, allocations: 65.69 kB / 374.1 MB, free: 5.379 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.241e-06/0.3056, allocations: 0 / 374.1 MB, free: 5.379 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003597/0.306, allocations: 155.2 kB / 374.3 MB, free: 5.215 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.072e-05/0.306, allocations: 37.66 kB / 374.3 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.845e-06/0.3061, allocations: 0 / 374.3 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.3061, allocations: 0 / 374.3 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.3062, allocations: 19.98 kB / 374.3 MB, free: 5.152 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.274e-06/0.3062, allocations: 0 / 374.3 MB, free: 5.152 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.381e-05/0.3063, allocations: 8 kB / 374.3 MB, free: 5.145 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.3064, allocations: 4 kB / 374.4 MB, free: 5.141 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.0001693/0.3065, allocations: 145.3 kB / 374.5 MB, free: 4.992 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.3066, allocations: 15.81 kB / 374.5 MB, free: 4.977 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.749e-05/0.3067, allocations: 29.28 kB / 374.5 MB, free: 4.953 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.959e-06/0.3067, allocations: 0 / 374.5 MB, free: 4.953 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.26e-06/0.3067, allocations: 0 / 374.5 MB, free: 4.953 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3067, allocations: 0 / 374.5 MB, free: 4.953 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006708/0.3074, allocations: 407.3 kB / 374.9 MB, free: 4.496 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.3074, allocations: 0 / 374.9 MB, free: 4.496 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.869e-05/0.3075, allocations: 12.41 kB / 374.9 MB, free: 4.484 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.815e-06/0.3075, allocations: 4.094 kB / 375 MB, free: 4.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.3075, allocations: 7.938 kB / 375 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.97e-06/0.3075, allocations: 0 / 375 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.3075, allocations: 4 kB / 375 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.3079, allocations: 204.1 kB / 375.2 MB, free: 4.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.308, allocations: 104.9 kB / 375.3 MB, free: 4.129 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.308, allocations: 7.984 kB / 375.3 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.3082, allocations: 4 kB / 375.3 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.3082, allocations: 4 kB / 375.3 MB, free: 4.113 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/0.3082, allocations: 7.984 kB / 375.3 MB, free: 4.105 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002297/0.3085, allocations: 188.5 kB / 375.5 MB, free: 3.922 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.14e-07/0.3085, allocations: 0 / 375.5 MB, free: 3.922 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003737/0.3089, allocations: 32 kB / 375.5 MB, free: 3.891 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.001526/0.3104, allocations: 449.3 kB / 375.9 MB, free: 3.535 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003603/0.3108, allocations: 147.3 kB / 376.1 MB, free: 3.379 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.143e-06/0.3108, allocations: 0 / 376.1 MB, free: 3.379 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.3109, allocations: 39.91 kB / 376.1 MB, free: 3.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.3113, allocations: 19.92 kB / 376.1 MB, free: 3.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006948/0.312, allocations: 336.6 kB / 376.5 MB, free: 2.961 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.3124, allocations: 0.7238 MB / 377.2 MB, free: 2.211 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.61e-05/0.3125, allocations: 11.62 kB / 377.2 MB, free: 2.199 MB / 298.7 MB Notification: Performance of SimCode: time 1.48e-06/0.3125, allocations: 4 kB / 377.2 MB, free: 2.195 MB / 298.7 MB Notification: Performance of Templates: time 0.005122/0.3176, allocations: 2.017 MB / 379.2 MB, free: 184 kB / 298.7 MB