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.Test32.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.Test32,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.Test32") Notification: Performance of loadModel(ModelicaTest): time 1.9/1.9, allocations: 209.3 MB / 224.8 MB, free: 348 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004362/0.0004365, allocations: 12 kB / 282.5 MB, free: 9.645 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2839, allocations: 48.71 MB / 331.2 MB, free: 6.477 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.001843/0.2858, allocations: 1.291 MB / 332.5 MB, free: 5.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007996/0.2866, allocations: 422.5 kB / 332.9 MB, free: 5.539 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.35e-05/0.2867, allocations: 1.188 kB / 332.9 MB, free: 5.539 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002206/0.2869, allocations: 24.48 kB / 332.9 MB, free: 5.527 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.2871, allocations: 30.94 kB / 333 MB, free: 5.512 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.2873, allocations: 59 kB / 333 MB, free: 5.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.2874, allocations: 51.91 kB / 333.1 MB, free: 5.457 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.842e-05/0.2875, allocations: 11.98 kB / 333.1 MB, free: 5.453 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.493e-05/0.2876, allocations: 22.55 kB / 333.1 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.183e-05/0.2877, allocations: 30.14 kB / 333.1 MB, free: 5.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.2877, allocations: 1.438 kB / 333.1 MB, free: 5.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.2878, allocations: 33.08 kB / 333.2 MB, free: 5.422 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.181e-05/0.2879, allocations: 21.77 kB / 333.2 MB, free: 5.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.223e-05/0.2879, allocations: 29.33 kB / 333.2 MB, free: 5.379 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.2881, allocations: 79.62 kB / 333.3 MB, free: 5.355 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.451e-06/0.2882, allocations: 3.938 kB / 333.3 MB, free: 5.352 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.441e-06/0.2882, allocations: 0.75 kB / 333.3 MB, free: 5.352 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.2882, allocations: 1.156 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.0004075/0.2886, allocations: 403.9 kB / 333.7 MB, free: 4.934 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.2886, allocations: 9.438 kB / 333.7 MB, free: 4.934 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.876e-05/0.2887, allocations: 12.62 kB / 333.7 MB, free: 4.926 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.2889, allocations: 202.8 kB / 333.9 MB, free: 4.707 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.2889, allocations: 1.344 kB / 333.9 MB, free: 4.707 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.289, allocations: 2.938 kB / 333.9 MB, free: 4.707 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.2891, allocations: 42.33 kB / 334 MB, free: 4.672 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.2891, allocations: 1.344 kB / 334 MB, free: 4.672 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.2891, allocations: 0.7031 kB / 334 MB, free: 4.672 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.2891, allocations: 4 kB / 334 MB, free: 4.668 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.621e-05/0.2892, allocations: 14.34 kB / 334 MB, free: 4.664 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003127/0.2895, allocations: 278.4 kB / 334.3 MB, free: 4.379 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.2897, allocations: 42.53 kB / 334.3 MB, free: 4.348 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.2898, allocations: 1.062 kB / 334.3 MB, free: 4.348 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001428/0.2899, allocations: 63.83 kB / 334.4 MB, free: 4.289 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.313e-06/0.2899, allocations: 0 / 334.4 MB, free: 4.289 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003984/0.2903, allocations: 113.1 kB / 334.5 MB, free: 4.227 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.2904, allocations: 51.41 kB / 334.5 MB, free: 4.164 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.2906, allocations: 175.5 kB / 334.7 MB, free: 4.039 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.2906, allocations: 31.7 kB / 334.7 MB, free: 4.004 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.857e-05/0.2907, allocations: 160.8 kB / 334.9 MB, free: 3.848 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.2907, allocations: 12.45 kB / 334.9 MB, free: 3.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8e-06/0.2907, allocations: 4 kB / 334.9 MB, free: 3.836 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.999e-05/0.2908, allocations: 318.4 kB / 335.2 MB, free: 3.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.66e-05/0.2908, allocations: 19.12 kB / 335.2 MB, free: 3.512 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.955e-05/0.2909, allocations: 17.47 kB / 335.2 MB, free: 3.508 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.821e-05/0.291, allocations: 46.41 kB / 335.3 MB, free: 3.469 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.291, allocations: 0 / 335.3 MB, free: 3.469 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001975/0.2912, allocations: 121.6 kB / 335.4 MB, free: 3.379 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.344e-05/0.2913, allocations: 32.62 kB / 335.4 MB, free: 3.348 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.214e-06/0.2913, allocations: 1.891 kB / 335.4 MB, free: 3.348 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.2913, allocations: 0 / 335.4 MB, free: 3.348 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.892e-05/0.2914, allocations: 13.31 kB / 335.5 MB, free: 3.344 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.2914, allocations: 1.438 kB / 335.5 MB, free: 3.344 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.058e-05/0.2915, allocations: 7.25 kB / 335.5 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.2915, allocations: 6.641 kB / 335.5 MB, free: 3.336 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.815e-05/0.2916, allocations: 131.8 kB / 335.6 MB, free: 3.207 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.253e-05/0.2916, allocations: 9.188 kB / 335.6 MB, free: 3.203 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.861e-05/0.2917, allocations: 9.844 kB / 335.6 MB, free: 3.195 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.277e-06/0.2917, allocations: 5.188 kB / 335.6 MB, free: 3.191 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.247e-06/0.2917, allocations: 0 / 335.6 MB, free: 3.191 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.924e-06/0.2917, allocations: 5 kB / 335.6 MB, free: 3.188 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003344/0.2921, allocations: 344.5 kB / 336 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.481e-06/0.2921, allocations: 0 / 336 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.794e-05/0.2921, allocations: 6.5 kB / 336 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.044e-06/0.2921, allocations: 0 / 336 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.689e-06/0.2922, allocations: 1.531 kB / 336 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.642e-06/0.2922, allocations: 3.109 kB / 336 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.766e-06/0.2922, allocations: 0 / 336 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.2924, allocations: 174.9 kB / 336.1 MB, free: 2.699 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.041e-05/0.2924, allocations: 85 kB / 336.2 MB, free: 2.602 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.2924, allocations: 6.547 kB / 336.2 MB, free: 2.598 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.639e-05/0.2925, allocations: 2.5 kB / 336.2 MB, free: 2.598 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.2926, allocations: 2.531 kB / 336.2 MB, free: 2.598 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.2926, allocations: 3.891 kB / 336.2 MB, free: 2.598 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001107/0.2927, allocations: 133.6 kB / 336.4 MB, free: 2.508 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.2927, allocations: 0 / 336.4 MB, free: 2.508 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000352/0.2931, allocations: 32.44 kB / 336.4 MB, free: 2.496 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.001076/0.2942, allocations: 369.5 kB / 336.8 MB, free: 2.277 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000201/0.2944, allocations: 105.6 kB / 336.9 MB, free: 2.195 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.2944, allocations: 1.562 kB / 336.9 MB, free: 2.195 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.25e-05/0.2945, allocations: 18.97 kB / 336.9 MB, free: 2.188 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.2948, allocations: 18.91 kB / 336.9 MB, free: 2.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004413/0.2952, allocations: 227.1 kB / 337.1 MB, free: 1.992 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001545/0.2954, allocations: 0.7063 MB / 337.8 MB, free: 1.289 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.213e-05/0.2955, allocations: 18.3 kB / 337.9 MB, free: 1.277 MB / 266.7 MB Notification: Performance of SimCode: time 1.413e-06/0.2955, allocations: 0 / 337.9 MB, free: 1.277 MB / 266.7 MB Notification: Performance of Templates: time 0.003967/0.2995, allocations: 1.652 MB / 339.5 MB, free: 0.7305 MB / 266.7 MB