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.Test21.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.Test21,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.Test21") Notification: Performance of loadModel(ModelicaTest): time 1.919/1.919, allocations: 209.3 MB / 224.8 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004352/0.0004354, allocations: 12 kB / 282.5 MB, free: 9.645 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2818, allocations: 48.71 MB / 331.2 MB, free: 6.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.001869/0.2837, allocations: 1.293 MB / 332.5 MB, free: 5.828 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008597/0.2846, allocations: 421.2 kB / 332.9 MB, free: 5.547 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.248e-05/0.2846, allocations: 2.375 kB / 332.9 MB, free: 5.547 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002348/0.2849, allocations: 28.45 kB / 332.9 MB, free: 5.531 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00017/0.2851, allocations: 31.02 kB / 333 MB, free: 5.516 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.2853, allocations: 59.5 kB / 333 MB, free: 5.484 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.2855, allocations: 48.42 kB / 333.1 MB, free: 5.465 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.029e-05/0.2856, allocations: 18.44 kB / 333.1 MB, free: 5.453 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.027e-05/0.2856, allocations: 28.12 kB / 333.1 MB, free: 5.441 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.235e-05/0.2857, allocations: 20.42 kB / 333.1 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.2858, allocations: 2.375 kB / 333.1 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.2859, allocations: 33.55 kB / 333.2 MB, free: 5.426 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.182e-05/0.2859, allocations: 18.53 kB / 333.2 MB, free: 5.418 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.445e-05/0.286, allocations: 36.36 kB / 333.2 MB, free: 5.379 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.2862, allocations: 80.23 kB / 333.3 MB, free: 5.355 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.2862, allocations: 0 / 333.3 MB, free: 5.355 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.58e-06/0.2862, allocations: 4 kB / 333.3 MB, free: 5.352 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.348e-06/0.2862, allocations: 1.75 kB / 333.3 MB, free: 5.352 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.0004183/0.2866, allocations: 396.3 kB / 333.7 MB, free: 4.941 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.2867, allocations: 9.156 kB / 333.7 MB, free: 4.941 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.175e-05/0.2867, allocations: 12.12 kB / 333.7 MB, free: 4.934 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.2869, allocations: 198.7 kB / 333.9 MB, free: 4.719 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.287, allocations: 1.688 kB / 333.9 MB, free: 4.719 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.287, allocations: 1.719 kB / 333.9 MB, free: 4.719 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.2871, allocations: 47.36 kB / 334 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.2871, allocations: 0.5625 kB / 334 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.2872, allocations: 1.125 kB / 334 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.873e-06/0.2872, allocations: 4.969 kB / 334 MB, free: 4.676 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.265e-05/0.2872, allocations: 13.06 kB / 334 MB, free: 4.672 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003197/0.2876, allocations: 275.8 kB / 334.2 MB, free: 4.391 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.2878, allocations: 41.88 kB / 334.3 MB, free: 4.359 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.2878, allocations: 8.641 kB / 334.3 MB, free: 4.352 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000145/0.288, allocations: 59.47 kB / 334.4 MB, free: 4.297 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.682e-06/0.288, allocations: 1.312 kB / 334.4 MB, free: 4.297 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004202/0.2884, allocations: 114.5 kB / 334.5 MB, free: 4.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/0.2885, allocations: 53.27 kB / 334.5 MB, free: 4.168 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.2887, allocations: 175.8 kB / 334.7 MB, free: 4.043 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.2887, allocations: 27.17 kB / 334.7 MB, free: 4.012 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.888e-05/0.2888, allocations: 164.7 kB / 334.9 MB, free: 3.852 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.2888, allocations: 20.16 kB / 334.9 MB, free: 3.836 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.994e-06/0.2888, allocations: 1.438 kB / 334.9 MB, free: 3.836 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.089e-05/0.2889, allocations: 313.6 kB / 335.2 MB, free: 3.523 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.703e-05/0.2889, allocations: 19.69 kB / 335.2 MB, free: 3.516 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.861e-05/0.289, allocations: 15.58 kB / 335.2 MB, free: 3.512 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.005e-05/0.2891, allocations: 51.14 kB / 335.3 MB, free: 3.469 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.729e-06/0.2891, allocations: 0 / 335.3 MB, free: 3.469 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001996/0.2893, allocations: 113.3 kB / 335.4 MB, free: 3.387 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.396e-05/0.2894, allocations: 38.41 kB / 335.4 MB, free: 3.352 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.694e-06/0.2894, allocations: 0 / 335.4 MB, free: 3.352 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.2894, allocations: 1.797 kB / 335.4 MB, free: 3.352 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.2e-05/0.2895, allocations: 8.797 kB / 335.5 MB, free: 3.352 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.563e-06/0.2895, allocations: 0 / 335.5 MB, free: 3.352 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.281e-05/0.2896, allocations: 3.719 kB / 335.5 MB, free: 3.352 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.2896, allocations: 7.5 kB / 335.5 MB, free: 3.348 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 9e-05/0.2897, allocations: 136.7 kB / 335.6 MB, free: 3.215 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.2897, allocations: 8.125 kB / 335.6 MB, free: 3.211 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.669e-05/0.2898, allocations: 13.64 kB / 335.6 MB, free: 3.199 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.2898, allocations: 8.609 kB / 335.6 MB, free: 3.191 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.666e-06/0.2898, allocations: 5.906 kB / 335.6 MB, free: 3.188 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2898, allocations: 0 / 335.6 MB, free: 3.188 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003504/0.2902, allocations: 336.2 kB / 336 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.562e-06/0.2902, allocations: 1.281 kB / 336 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.505e-05/0.2903, allocations: 5.109 kB / 336 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.138e-06/0.2903, allocations: 1.156 kB / 336 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.2903, allocations: 1.094 kB / 336 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.773e-06/0.2903, allocations: 5.984 kB / 336 MB, free: 2.859 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.851e-06/0.2903, allocations: 3.938 kB / 336 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.2905, allocations: 167.8 kB / 336.1 MB, free: 2.707 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.235e-05/0.2905, allocations: 84.75 kB / 336.2 MB, free: 2.609 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.2906, allocations: 5.156 kB / 336.2 MB, free: 2.605 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.115e-05/0.2907, allocations: 2.766 kB / 336.2 MB, free: 2.605 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.2907, allocations: 3.609 kB / 336.2 MB, free: 2.605 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.2908, allocations: 6.781 kB / 336.2 MB, free: 2.602 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001187/0.2909, allocations: 135.2 kB / 336.4 MB, free: 2.512 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.69e-07/0.2909, allocations: 0 / 336.4 MB, free: 2.512 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003623/0.2913, allocations: 29.39 kB / 336.4 MB, free: 2.504 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.001134/0.2924, allocations: 367.4 kB / 336.8 MB, free: 2.285 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002066/0.2927, allocations: 106.2 kB / 336.9 MB, free: 2.203 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2927, allocations: 0 / 336.9 MB, free: 2.203 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.386e-05/0.2927, allocations: 16.16 kB / 336.9 MB, free: 2.199 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.293, allocations: 17.98 kB / 336.9 MB, free: 2.195 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004408/0.2935, allocations: 227.3 kB / 337.1 MB, free: 2.008 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000157/0.2937, allocations: 0.7098 MB / 337.8 MB, free: 1.301 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.081e-05/0.2937, allocations: 14.92 kB / 337.8 MB, free: 1.293 MB / 266.7 MB Notification: Performance of SimCode: time 1.389e-06/0.2937, allocations: 0 / 337.8 MB, free: 1.293 MB / 266.7 MB Notification: Performance of Templates: time 0.004078/0.2978, allocations: 1.653 MB / 339.5 MB, free: 0.7383 MB / 266.7 MB