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.Test78.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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadModel(ModelicaTest): time 2.189/2.189, allocations: 234.9 MB / 250.5 MB, free: 10.58 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004326/0.0004329, allocations: 15.98 kB / 314.3 MB, free: 10.62 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2782, allocations: 54.87 MB / 369.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002484/0.2807, allocations: 1.471 MB / 370.7 MB, free: 9.371 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002023/0.2827, allocations: 0.9603 MB / 371.6 MB, free: 8.402 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.2829, allocations: 7.938 kB / 371.6 MB, free: 8.395 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004961/0.2834, allocations: 219.6 kB / 371.8 MB, free: 8.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003679/0.2838, allocations: 159.6 kB / 372 MB, free: 8.023 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003495/0.2841, allocations: 99.7 kB / 372.1 MB, free: 7.926 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000302/0.2845, allocations: 175.7 kB / 372.3 MB, free: 7.754 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.2846, allocations: 17.55 kB / 372.3 MB, free: 7.738 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002002/0.2848, allocations: 115.6 kB / 372.4 MB, free: 7.625 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.2851, allocations: 135.6 kB / 372.5 MB, free: 7.492 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.2851, allocations: 8 kB / 372.5 MB, free: 7.484 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.2853, allocations: 51.91 kB / 372.6 MB, free: 7.434 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.984e-05/0.2854, allocations: 63.75 kB / 372.6 MB, free: 7.371 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.48e-05/0.2855, allocations: 57.58 kB / 372.7 MB, free: 7.309 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003333/0.2858, allocations: 192.3 kB / 372.9 MB, free: 7.121 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.2858, allocations: 0 / 372.9 MB, free: 7.121 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.039e-06/0.2858, allocations: 0 / 372.9 MB, free: 7.121 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.109e-06/0.2859, allocations: 0 / 372.9 MB, free: 7.121 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008818/0.2868, allocations: 0.6387 MB / 373.5 MB, free: 6.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.2868, allocations: 12.03 kB / 373.5 MB, free: 6.398 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.712e-05/0.2869, allocations: 31.61 kB / 373.6 MB, free: 6.367 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000396/0.2873, allocations: 259.1 kB / 373.8 MB, free: 6.074 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.2873, allocations: 8 kB / 373.8 MB, free: 6.066 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.857e-05/0.2874, allocations: 11.98 kB / 373.8 MB, free: 6.055 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.2877, allocations: 99.23 kB / 373.9 MB, free: 5.945 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.2877, allocations: 0 / 373.9 MB, free: 5.945 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.2877, allocations: 11.95 kB / 374 MB, free: 5.934 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.2878, allocations: 7.984 kB / 374 MB, free: 5.926 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.2879, allocations: 35.98 kB / 374 MB, free: 5.891 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006919/0.2887, allocations: 476.8 kB / 374.5 MB, free: 5.371 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003733/0.289, allocations: 121.3 kB / 374.6 MB, free: 5.234 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.2891, allocations: 3.938 kB / 374.6 MB, free: 5.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003061/0.2894, allocations: 113 kB / 374.7 MB, free: 5.102 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 2.519e-06/0.2894, allocations: 3.938 kB / 374.7 MB, free: 5.098 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001196/0.2906, allocations: 387.7 kB / 375.1 MB, free: 4.711 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.228e-05/0.2907, allocations: 85.11 kB / 375.2 MB, free: 4.609 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006571/0.2914, allocations: 464.4 kB / 375.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.658e-05/0.2915, allocations: 37.69 kB / 375.7 MB, free: 4.105 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.2916, allocations: 198.9 kB / 375.8 MB, free: 3.91 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.012e-05/0.2917, allocations: 51.34 kB / 375.9 MB, free: 3.859 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.869e-05/0.2918, allocations: 8 kB / 375.9 MB, free: 3.852 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.2919, allocations: 322.8 kB / 376.2 MB, free: 3.527 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.2921, allocations: 60.16 kB / 376.3 MB, free: 3.469 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.2924, allocations: 95.7 kB / 376.4 MB, free: 3.363 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002577/0.2927, allocations: 127.4 kB / 376.5 MB, free: 3.227 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.927e-06/0.2927, allocations: 0 / 376.5 MB, free: 3.227 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006442/0.2933, allocations: 276.8 kB / 376.8 MB, free: 2.938 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.959e-05/0.2934, allocations: 76 kB / 376.8 MB, free: 2.852 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.934e-06/0.2935, allocations: 0 / 376.8 MB, free: 2.852 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.2935, allocations: 4 kB / 376.8 MB, free: 2.848 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.2937, allocations: 31.92 kB / 376.9 MB, free: 2.816 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.2937, allocations: 4 kB / 376.9 MB, free: 2.812 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.2939, allocations: 8.188 kB / 376.9 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.2939, allocations: 12 kB / 376.9 MB, free: 2.793 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * 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.0002375/0.2941, allocations: 181.7 kB / 377.1 MB, free: 2.605 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.198e-05/0.2942, allocations: 31.58 kB / 377.1 MB, free: 2.574 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.289e-05/0.2943, allocations: 38.81 kB / 377.1 MB, free: 2.531 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.116e-06/0.2943, allocations: 4 kB / 377.2 MB, free: 2.527 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.613e-06/0.2944, allocations: 0 / 377.2 MB, free: 2.527 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.893e-06/0.2944, allocations: 0 / 377.2 MB, free: 2.527 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.2955, allocations: 0.6322 MB / 377.8 MB, free: 1.832 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.824e-06/0.2955, allocations: 0.75 kB / 377.8 MB, free: 1.832 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.095e-05/0.2956, allocations: 16 kB / 377.8 MB, free: 1.816 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.697e-06/0.2956, allocations: 0 / 377.8 MB, free: 1.816 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.2957, allocations: 11.98 kB / 377.8 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.479e-06/0.2957, allocations: 0 / 377.8 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.737e-06/0.2957, allocations: 12.02 kB / 377.8 MB, free: 1.793 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005574/0.2963, allocations: 375.7 kB / 378.2 MB, free: 1.406 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.2964, allocations: 116.8 kB / 378.3 MB, free: 1.273 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.515e-05/0.2965, allocations: 15.92 kB / 378.3 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.2967, allocations: 4 kB / 378.3 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.236e-05/0.2968, allocations: 23.97 kB / 378.3 MB, free: 1.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-05/0.2968, allocations: 11.98 kB / 378.4 MB, free: 1.219 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004888/0.2973, allocations: 343 kB / 378.7 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.475e-06/0.2973, allocations: 0 / 378.7 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005208/0.2979, allocations: 67.84 kB / 378.8 MB, free: 0.8164 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003324/0.3012, allocations: 0.6898 MB / 379.4 MB, free: 220 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001174/0.3024, allocations: 298.7 kB / 379.7 MB, free: 15.9 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/0.3025, allocations: 0 / 379.7 MB, free: 15.9 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003372/0.3028, allocations: 63.84 kB / 379.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000873/0.3037, allocations: 49.81 kB / 379.9 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.3055, allocations: 0.5936 MB / 380.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007015/0.3062, allocations: 0.7712 MB / 381.2 MB, free: 14.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.3064, allocations: 27.44 kB / 381.2 MB, free: 14.33 MB / 314.7 MB Notification: Performance of SimCode: time 2.24e-06/0.3064, allocations: 4 kB / 381.2 MB, free: 14.33 MB / 314.7 MB Notification: Performance of Templates: time 0.01081/0.3172, allocations: 3.657 MB / 384.9 MB, free: 10.68 MB / 314.7 MB