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.Test49.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.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.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadModel(ModelicaTest): time 2.196/2.196, allocations: 209.3 MB / 224.8 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004411/0.0004413, allocations: 16 kB / 282.5 MB, free: 9.641 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2844, allocations: 48.71 MB / 331.2 MB, free: 6.477 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.001852/0.2863, allocations: 1.287 MB / 332.5 MB, free: 5.832 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008354/0.2872, allocations: 429.8 kB / 332.9 MB, free: 5.547 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.961e-05/0.2872, allocations: 3.938 kB / 332.9 MB, free: 5.543 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002246/0.2875, allocations: 21.31 kB / 332.9 MB, free: 5.535 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001685/0.2877, allocations: 37.5 kB / 333 MB, free: 5.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.2879, allocations: 67.91 kB / 333 MB, free: 5.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000134/0.288, allocations: 58.8 kB / 333.1 MB, free: 5.453 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.88e-05/0.2881, allocations: 5.391 kB / 333.1 MB, free: 5.453 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.924e-05/0.2882, allocations: 27.05 kB / 333.1 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.022e-05/0.2883, allocations: 29.5 kB / 333.2 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.2883, allocations: 1.312 kB / 333.2 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.2884, allocations: 37.11 kB / 333.2 MB, free: 5.422 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.784e-05/0.2885, allocations: 21.28 kB / 333.2 MB, free: 5.418 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.475e-05/0.2885, allocations: 37.05 kB / 333.2 MB, free: 5.379 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.2887, allocations: 93.95 kB / 333.3 MB, free: 5.352 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.913e-06/0.2888, allocations: 0 / 333.3 MB, free: 5.352 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.331e-06/0.2888, allocations: 4.547 kB / 333.3 MB, free: 5.348 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.226e-06/0.2888, allocations: 0 / 333.3 MB, free: 5.348 MB / 266.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.0004295/0.2892, allocations: 430.1 kB / 333.8 MB, free: 4.914 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.2893, allocations: 9.656 kB / 333.8 MB, free: 4.914 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.172e-05/0.2893, allocations: 8.812 kB / 333.8 MB, free: 4.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.2895, allocations: 206.5 kB / 334 MB, free: 4.691 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.2896, allocations: 5.25 kB / 334 MB, free: 4.688 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.2896, allocations: 2.469 kB / 334 MB, free: 4.688 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.2897, allocations: 43.33 kB / 334 MB, free: 4.652 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.2897, allocations: 4.594 kB / 334 MB, free: 4.648 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.2898, allocations: 5.438 kB / 334 MB, free: 4.645 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.14e-06/0.2898, allocations: 0 / 334 MB, free: 4.645 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.982e-05/0.2898, allocations: 12.98 kB / 334.1 MB, free: 4.641 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003241/0.2902, allocations: 294.4 kB / 334.3 MB, free: 4.348 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.2904, allocations: 46.83 kB / 334.4 MB, free: 4.312 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.2904, allocations: 0 / 334.4 MB, free: 4.312 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001434/0.2906, allocations: 60.81 kB / 334.4 MB, free: 4.258 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 3.438e-06/0.2906, allocations: 3.984 kB / 334.5 MB, free: 4.254 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004308/0.291, allocations: 113.8 kB / 334.6 MB, free: 4.191 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.2911, allocations: 57.44 kB / 334.6 MB, free: 4.125 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/0.2914, allocations: 244.6 kB / 334.9 MB, free: 3.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.2914, allocations: 31.05 kB / 334.9 MB, free: 3.945 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.744e-05/0.2915, allocations: 170 kB / 335.1 MB, free: 3.781 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.2915, allocations: 16.05 kB / 335.1 MB, free: 3.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.41e-06/0.2915, allocations: 0 / 335.1 MB, free: 3.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.187e-05/0.2916, allocations: 321.4 kB / 335.4 MB, free: 3.449 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.378e-05/0.2916, allocations: 15.77 kB / 335.4 MB, free: 3.445 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.97e-05/0.2917, allocations: 20.33 kB / 335.4 MB, free: 3.438 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.081e-05/0.2918, allocations: 51 kB / 335.5 MB, free: 3.395 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.688e-06/0.2918, allocations: 0 / 335.5 MB, free: 3.395 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000196/0.292, allocations: 116.9 kB / 335.6 MB, free: 3.309 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.344e-05/0.2921, allocations: 34.19 kB / 335.6 MB, free: 3.277 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.846e-06/0.2921, allocations: 0.75 kB / 335.6 MB, free: 3.277 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.2921, allocations: 1.156 kB / 335.6 MB, free: 3.277 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.95e-05/0.2922, allocations: 13.14 kB / 335.6 MB, free: 3.273 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.562e-06/0.2922, allocations: 0 / 335.6 MB, free: 3.273 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.975e-05/0.2923, allocations: 3.219 kB / 335.6 MB, free: 3.273 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.2923, allocations: 7.688 kB / 335.6 MB, free: 3.27 MB / 266.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 () * Number of clocked 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 0.0001019/0.2924, allocations: 141.1 kB / 335.8 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.2924, allocations: 12.59 kB / 335.8 MB, free: 3.133 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.386e-05/0.2925, allocations: 18.8 kB / 335.8 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.294e-06/0.2925, allocations: 0 / 335.8 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.455e-06/0.2925, allocations: 5.609 kB / 335.8 MB, free: 3.121 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.62e-06/0.2925, allocations: 0 / 335.8 MB, free: 3.121 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003438/0.2929, allocations: 357.4 kB / 336.2 MB, free: 2.785 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.641e-06/0.2929, allocations: 0 / 336.2 MB, free: 2.785 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.648e-05/0.293, allocations: 9.766 kB / 336.2 MB, free: 2.781 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.769e-06/0.293, allocations: 0.9062 kB / 336.2 MB, free: 2.781 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.293, allocations: 1.641 kB / 336.2 MB, free: 2.781 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.911e-06/0.293, allocations: 0.5 kB / 336.2 MB, free: 2.781 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.585e-06/0.293, allocations: 1.031 kB / 336.2 MB, free: 2.781 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.2932, allocations: 174.1 kB / 336.3 MB, free: 2.629 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.2932, allocations: 88.92 kB / 336.4 MB, free: 2.527 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.2933, allocations: 1.75 kB / 336.4 MB, free: 2.527 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.344e-05/0.2934, allocations: 6.156 kB / 336.4 MB, free: 2.523 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.2934, allocations: 7.859 kB / 336.4 MB, free: 2.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.2935, allocations: 3 kB / 336.5 MB, free: 2.52 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001779/0.2937, allocations: 185.9 kB / 336.6 MB, free: 2.418 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.58e-07/0.2937, allocations: 0 / 336.6 MB, free: 2.418 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003545/0.294, allocations: 29.73 kB / 336.7 MB, free: 2.41 MB / 266.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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.001099/0.2951, allocations: 371.5 kB / 337 MB, free: 2.184 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001905/0.2953, allocations: 107 kB / 337.1 MB, free: 2.102 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.884e-06/0.2954, allocations: 0 / 337.1 MB, free: 2.102 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.469e-05/0.2954, allocations: 20.14 kB / 337.1 MB, free: 2.094 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.2957, allocations: 26.62 kB / 337.2 MB, free: 2.082 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000507/0.2962, allocations: 293.2 kB / 337.5 MB, free: 1.871 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001746/0.2964, allocations: 0.7137 MB / 338.2 MB, free: 1.172 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.301e-05/0.2965, allocations: 13.8 kB / 338.2 MB, free: 1.164 MB / 266.7 MB Notification: Performance of SimCode: time 1.315e-06/0.2965, allocations: 0 / 338.2 MB, free: 1.164 MB / 266.7 MB Notification: Performance of Templates: time 0.0042/0.3007, allocations: 1.804 MB / 340 MB, free: 492 kB / 266.7 MB