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.Test47.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.Test47,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.Test47") Notification: Performance of loadModel(ModelicaTest): time 2.225/2.225, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004398/0.0004401, allocations: 12 kB / 314.3 MB, free: 9.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2747, allocations: 54.88 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002296/0.2771, allocations: 1.349 MB / 370.5 MB, free: 9.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.2787, allocations: 0.7125 MB / 371.3 MB, free: 8.621 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.785e-05/0.2788, allocations: 7.938 kB / 371.3 MB, free: 8.613 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000232/0.279, allocations: 31.83 kB / 371.3 MB, free: 8.582 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000178/0.2792, allocations: 35.95 kB / 371.3 MB, free: 8.547 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001903/0.2794, allocations: 55.81 kB / 371.4 MB, free: 8.492 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.2796, allocations: 67.86 kB / 371.5 MB, free: 8.426 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.479e-05/0.2797, allocations: 11.98 kB / 371.5 MB, free: 8.414 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.2798, allocations: 39.84 kB / 371.5 MB, free: 8.375 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.584e-05/0.2799, allocations: 35.83 kB / 371.5 MB, free: 8.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.28, allocations: 8 kB / 371.5 MB, free: 8.332 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.284e-05/0.2801, allocations: 24 kB / 371.6 MB, free: 8.309 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.765e-05/0.2801, allocations: 19.91 kB / 371.6 MB, free: 8.289 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.307e-05/0.2802, allocations: 45.64 kB / 371.6 MB, free: 8.238 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.2804, allocations: 99.8 kB / 371.7 MB, free: 8.141 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.367e-06/0.2804, allocations: 0 / 371.7 MB, free: 8.141 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.889e-06/0.2805, allocations: 0 / 371.7 MB, free: 8.141 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.291e-06/0.2805, allocations: 3.938 kB / 371.7 MB, free: 8.137 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.0006384/0.2811, allocations: 474.8 kB / 372.2 MB, free: 7.613 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.2812, allocations: 12.03 kB / 372.2 MB, free: 7.602 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.168e-05/0.2812, allocations: 19.75 kB / 372.2 MB, free: 7.582 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.2815, allocations: 206.8 kB / 372.4 MB, free: 7.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.2816, allocations: 8 kB / 372.4 MB, free: 7.332 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.2816, allocations: 4 kB / 372.4 MB, free: 7.328 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.2818, allocations: 53.67 kB / 372.5 MB, free: 7.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.2818, allocations: 0 / 372.5 MB, free: 7.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.2818, allocations: 3.938 kB / 372.5 MB, free: 7.266 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.2819, allocations: 3.953 kB / 372.5 MB, free: 7.262 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.365e-05/0.282, allocations: 23.98 kB / 372.5 MB, free: 7.238 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004904/0.2825, allocations: 296.9 kB / 372.8 MB, free: 6.898 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.2827, allocations: 58.67 kB / 372.9 MB, free: 6.832 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.2827, allocations: 0 / 372.9 MB, free: 6.832 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002113/0.283, allocations: 87.19 kB / 373 MB, free: 6.734 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.428e-06/0.283, allocations: 0 / 373 MB, free: 6.734 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006793/0.2837, allocations: 185.1 kB / 373.1 MB, free: 6.547 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.2838, allocations: 59.34 kB / 373.2 MB, free: 6.477 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000332/0.2841, allocations: 254.5 kB / 373.4 MB, free: 6.215 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.2841, allocations: 25.7 kB / 373.5 MB, free: 6.184 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.2843, allocations: 178.4 kB / 373.6 MB, free: 6.008 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/0.2843, allocations: 27.64 kB / 373.7 MB, free: 5.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.892e-06/0.2843, allocations: 4 kB / 373.7 MB, free: 5.977 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.2845, allocations: 322.8 kB / 374 MB, free: 5.652 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.2846, allocations: 27.98 kB / 374 MB, free: 5.625 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.2848, allocations: 45.7 kB / 374.1 MB, free: 5.574 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.2849, allocations: 61.7 kB / 374.1 MB, free: 5.508 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.08e-06/0.2849, allocations: 0 / 374.1 MB, free: 5.508 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003595/0.2853, allocations: 159.2 kB / 374.3 MB, free: 5.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.481e-05/0.2854, allocations: 37.66 kB / 374.3 MB, free: 5.297 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.328e-06/0.2854, allocations: 0 / 374.3 MB, free: 5.297 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.2854, allocations: 4 kB / 374.3 MB, free: 5.293 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.2855, allocations: 15.98 kB / 374.3 MB, free: 5.277 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.447e-06/0.2855, allocations: 0 / 374.3 MB, free: 5.277 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.951e-05/0.2856, allocations: 8.375 kB / 374.3 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.2857, allocations: 4 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.0001635/0.2858, allocations: 145.4 kB / 374.5 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.2859, allocations: 15.84 kB / 374.5 MB, free: 5.102 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.794e-05/0.286, allocations: 29.34 kB / 374.5 MB, free: 5.078 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.591e-06/0.286, allocations: 96 / 374.5 MB, free: 5.078 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.394e-06/0.286, allocations: 3.938 kB / 374.5 MB, free: 5.074 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.054e-06/0.286, allocations: 3.938 kB / 374.5 MB, free: 5.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006656/0.2867, allocations: 407.3 kB / 374.9 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.175e-06/0.2867, allocations: 0 / 374.9 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.819e-05/0.2868, allocations: 11.98 kB / 375 MB, free: 4.602 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.023e-06/0.2868, allocations: 4.031 kB / 375 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.2868, allocations: 0 / 375 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.074e-06/0.2868, allocations: 4 kB / 375 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.241e-06/0.2868, allocations: 0 / 375 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/0.2872, allocations: 204.1 kB / 375.2 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.2873, allocations: 104.9 kB / 375.3 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.2873, allocations: 0 / 375.3 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.2874, allocations: 11.98 kB / 375.3 MB, free: 4.242 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.2875, allocations: 8 kB / 375.3 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.2875, allocations: 4 kB / 375.3 MB, free: 4.23 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002267/0.2878, allocations: 188.5 kB / 375.5 MB, free: 4.047 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-07/0.2878, allocations: 0 / 375.5 MB, free: 4.047 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003674/0.2882, allocations: 32 kB / 375.5 MB, free: 4.016 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.001509/0.2897, allocations: 452.7 kB / 375.9 MB, free: 3.656 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003535/0.29, allocations: 151.3 kB / 376.1 MB, free: 3.496 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.2901, allocations: 0 / 376.1 MB, free: 3.496 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.2902, allocations: 32.11 kB / 376.1 MB, free: 3.465 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.2905, allocations: 30.7 kB / 376.2 MB, free: 3.438 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006622/0.2912, allocations: 328.7 kB / 376.5 MB, free: 3.086 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/0.2916, allocations: 0.7238 MB / 377.2 MB, free: 2.336 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.876e-05/0.2917, allocations: 15.44 kB / 377.2 MB, free: 2.32 MB / 298.7 MB Notification: Performance of SimCode: time 1.439e-06/0.2917, allocations: 0 / 377.2 MB, free: 2.32 MB / 298.7 MB Notification: Performance of Templates: time 0.004878/0.2966, allocations: 2.009 MB / 379.2 MB, free: 320 kB / 298.7 MB