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.Test28.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.Test28,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.Test28") Notification: Performance of loadModel(ModelicaTest): time 1.817/1.817, allocations: 209.3 MB / 224.8 MB, free: 0.5312 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004336/0.0004337, allocations: 19.98 kB / 282.5 MB, free: 9.68 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2762, allocations: 48.7 MB / 331.2 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.001843/0.2781, allocations: 1.286 MB / 332.5 MB, free: 5.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008265/0.2789, allocations: 422.4 kB / 332.9 MB, free: 5.559 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.757e-05/0.279, allocations: 3.938 kB / 332.9 MB, free: 5.555 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002133/0.2792, allocations: 25.34 kB / 332.9 MB, free: 5.543 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.2794, allocations: 35.28 kB / 333 MB, free: 5.523 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001895/0.2796, allocations: 53.88 kB / 333 MB, free: 5.496 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.2797, allocations: 56.72 kB / 333.1 MB, free: 5.469 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.818e-05/0.2798, allocations: 11.22 kB / 333.1 MB, free: 5.465 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.702e-05/0.2799, allocations: 27.25 kB / 333.1 MB, free: 5.453 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.204e-05/0.28, allocations: 26.23 kB / 333.1 MB, free: 5.441 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.28, allocations: 1.344 kB / 333.1 MB, free: 5.441 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.2801, allocations: 37.06 kB / 333.2 MB, free: 5.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.906e-05/0.2802, allocations: 14.12 kB / 333.2 MB, free: 5.426 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.263e-05/0.2802, allocations: 37.44 kB / 333.2 MB, free: 5.387 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.2804, allocations: 79.56 kB / 333.3 MB, free: 5.363 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.2804, allocations: 1.938 kB / 333.3 MB, free: 5.363 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.898e-06/0.2804, allocations: 0 / 333.3 MB, free: 5.363 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.735e-06/0.2804, allocations: 0 / 333.3 MB, free: 5.363 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.0003923/0.2808, allocations: 396.8 kB / 333.7 MB, free: 4.953 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.2809, allocations: 7.906 kB / 333.7 MB, free: 4.953 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.979e-05/0.2809, allocations: 12.22 kB / 333.7 MB, free: 4.945 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.2811, allocations: 202.9 kB / 333.9 MB, free: 4.727 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.2812, allocations: 5.312 kB / 333.9 MB, free: 4.723 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.2812, allocations: 7.703 kB / 333.9 MB, free: 4.719 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.2813, allocations: 42.61 kB / 334 MB, free: 4.684 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.2813, allocations: 3.984 kB / 334 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.2814, allocations: 1.875 kB / 334 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.4e-06/0.2814, allocations: 0 / 334 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.042e-05/0.2814, allocations: 13.56 kB / 334 MB, free: 4.676 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003099/0.2818, allocations: 275.8 kB / 334.2 MB, free: 4.395 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.282, allocations: 49.03 kB / 334.3 MB, free: 4.355 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.282, allocations: 5.953 kB / 334.3 MB, free: 4.352 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001375/0.2821, allocations: 54.98 kB / 334.4 MB, free: 4.301 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.337e-06/0.2822, allocations: 0 / 334.4 MB, free: 4.301 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003964/0.2826, allocations: 117.1 kB / 334.5 MB, free: 4.234 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.2826, allocations: 52.06 kB / 334.5 MB, free: 4.172 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.2828, allocations: 182.7 kB / 334.7 MB, free: 4.043 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.2829, allocations: 26.98 kB / 334.7 MB, free: 4.012 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.973e-05/0.2829, allocations: 161.5 kB / 334.9 MB, free: 3.855 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.283, allocations: 12.16 kB / 334.9 MB, free: 3.848 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.415e-06/0.283, allocations: 5.344 kB / 334.9 MB, free: 3.844 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.971e-05/0.283, allocations: 313.3 kB / 335.2 MB, free: 3.531 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.384e-05/0.2831, allocations: 18.89 kB / 335.2 MB, free: 3.523 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.954e-05/0.2832, allocations: 16.75 kB / 335.2 MB, free: 3.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.862e-05/0.2832, allocations: 58.12 kB / 335.3 MB, free: 3.469 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.568e-06/0.2833, allocations: 0.9688 kB / 335.3 MB, free: 3.469 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000194/0.2835, allocations: 112.3 kB / 335.4 MB, free: 3.387 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/0.2835, allocations: 34.58 kB / 335.4 MB, free: 3.355 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.256e-06/0.2835, allocations: 0.6094 kB / 335.4 MB, free: 3.355 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.2835, allocations: 0 / 335.4 MB, free: 3.355 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.579e-05/0.2836, allocations: 12.86 kB / 335.5 MB, free: 3.352 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.884e-06/0.2836, allocations: 1.125 kB / 335.5 MB, free: 3.352 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.651e-05/0.2837, allocations: 3.156 kB / 335.5 MB, free: 3.352 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.2837, allocations: 8.266 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 8.498e-05/0.2838, allocations: 135.7 kB / 335.6 MB, free: 3.215 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.2838, allocations: 8.141 kB / 335.6 MB, free: 3.211 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.777e-05/0.2839, allocations: 10.62 kB / 335.6 MB, free: 3.203 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.802e-06/0.2839, allocations: 7.938 kB / 335.6 MB, free: 3.195 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.322e-06/0.2839, allocations: 1.766 kB / 335.6 MB, free: 3.195 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.732e-06/0.2839, allocations: 0 / 335.6 MB, free: 3.195 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003242/0.2843, allocations: 340.3 kB / 336 MB, free: 2.867 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.279e-06/0.2843, allocations: 0 / 336 MB, free: 2.867 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.57e-05/0.2843, allocations: 10.47 kB / 336 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.881e-06/0.2844, allocations: 1.188 kB / 336 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.2844, allocations: 1.953 kB / 336 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.135e-06/0.2844, allocations: 0 / 336 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.11e-06/0.2844, allocations: 0.5625 kB / 336 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.2846, allocations: 168.8 kB / 336.1 MB, free: 2.715 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.134e-05/0.2846, allocations: 84.61 kB / 336.2 MB, free: 2.617 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.2846, allocations: 5.844 kB / 336.2 MB, free: 2.613 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.566e-05/0.2847, allocations: 5.828 kB / 336.2 MB, free: 2.609 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.2848, allocations: 5.391 kB / 336.2 MB, free: 2.609 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.2848, allocations: 1.875 kB / 336.2 MB, free: 2.609 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001119/0.2849, allocations: 138.3 kB / 336.4 MB, free: 2.516 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.8e-07/0.285, allocations: 0 / 336.4 MB, free: 2.516 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003462/0.2853, allocations: 28.8 kB / 336.4 MB, free: 2.508 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.001069/0.2864, allocations: 374.7 kB / 336.8 MB, free: 2.281 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001814/0.2866, allocations: 102.5 kB / 336.9 MB, free: 2.203 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.65e-06/0.2866, allocations: 0 / 336.9 MB, free: 2.203 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.368e-05/0.2867, allocations: 20.23 kB / 336.9 MB, free: 2.195 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.287, allocations: 14.72 kB / 336.9 MB, free: 2.191 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004141/0.2874, allocations: 226.5 kB / 337.1 MB, free: 2.004 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001558/0.2876, allocations: 0.7033 MB / 337.8 MB, free: 1.305 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.028e-05/0.2876, allocations: 18.12 kB / 337.8 MB, free: 1.293 MB / 266.7 MB Notification: Performance of SimCode: time 1.264e-06/0.2876, allocations: 0 / 337.8 MB, free: 1.293 MB / 266.7 MB Notification: Performance of Templates: time 0.003951/0.2916, allocations: 1.652 MB / 339.5 MB, free: 0.7539 MB / 266.7 MB