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.Test26.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.Test26,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.Test26") Notification: Performance of loadModel(ModelicaTest): time 2.408/2.408, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004473/0.0004478, allocations: 12 kB / 314.3 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2793, allocations: 54.87 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002301/0.2816, allocations: 1.345 MB / 370.5 MB, free: 9.355 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.2832, allocations: 0.7125 MB / 371.3 MB, free: 8.637 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.737e-05/0.2833, allocations: 4 kB / 371.3 MB, free: 8.633 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002321/0.2835, allocations: 27.84 kB / 371.3 MB, free: 8.605 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001791/0.2837, allocations: 31.89 kB / 371.3 MB, free: 8.574 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002068/0.284, allocations: 51.83 kB / 371.4 MB, free: 8.523 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.2841, allocations: 71.84 kB / 371.4 MB, free: 8.453 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.082e-05/0.2842, allocations: 11.98 kB / 371.5 MB, free: 8.441 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.2844, allocations: 35.84 kB / 371.5 MB, free: 8.406 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.825e-05/0.2844, allocations: 31.84 kB / 371.5 MB, free: 8.375 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.2845, allocations: 8 kB / 371.5 MB, free: 8.367 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.58e-05/0.2846, allocations: 27.94 kB / 371.6 MB, free: 8.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.682e-05/0.2846, allocations: 19.91 kB / 371.6 MB, free: 8.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.909e-05/0.2847, allocations: 45.58 kB / 371.6 MB, free: 8.27 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.2849, allocations: 83.88 kB / 371.7 MB, free: 8.188 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.597e-06/0.2849, allocations: 0 / 371.7 MB, free: 8.188 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.06e-06/0.285, allocations: 0 / 371.7 MB, free: 8.188 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.391e-06/0.285, allocations: 0 / 371.7 MB, free: 8.188 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.0006242/0.2856, allocations: 458.9 kB / 372.1 MB, free: 7.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.2856, allocations: 12.03 kB / 372.2 MB, free: 7.668 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.876e-05/0.2857, allocations: 11.91 kB / 372.2 MB, free: 7.656 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.286, allocations: 202.8 kB / 372.4 MB, free: 7.418 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.286, allocations: 7.938 kB / 372.4 MB, free: 7.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.2861, allocations: 8 kB / 372.4 MB, free: 7.402 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.2863, allocations: 53.61 kB / 372.4 MB, free: 7.344 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.2863, allocations: 4 kB / 372.4 MB, free: 7.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.2863, allocations: 4 kB / 372.4 MB, free: 7.336 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.41e-06/0.2863, allocations: 7.953 kB / 372.5 MB, free: 7.328 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.564e-05/0.2865, allocations: 15.98 kB / 372.5 MB, free: 7.312 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00046/0.2869, allocations: 296.9 kB / 372.8 MB, free: 6.973 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.2872, allocations: 58.61 kB / 372.8 MB, free: 6.906 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.2872, allocations: 0 / 372.8 MB, free: 6.906 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002116/0.2874, allocations: 79.25 kB / 372.9 MB, free: 6.816 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.424e-06/0.2874, allocations: 0 / 372.9 MB, free: 6.816 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007151/0.2882, allocations: 177.2 kB / 373.1 MB, free: 6.637 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.2882, allocations: 55.41 kB / 373.1 MB, free: 6.57 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.2885, allocations: 195.2 kB / 373.3 MB, free: 6.371 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.2885, allocations: 29.7 kB / 373.3 MB, free: 6.336 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.2887, allocations: 170.4 kB / 373.5 MB, free: 6.168 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.2887, allocations: 27.64 kB / 373.5 MB, free: 6.141 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.824e-06/0.2887, allocations: 0 / 373.5 MB, free: 6.141 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.2889, allocations: 322.8 kB / 373.8 MB, free: 5.816 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.289, allocations: 27.98 kB / 373.9 MB, free: 5.789 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.2892, allocations: 50.25 kB / 373.9 MB, free: 5.734 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.2893, allocations: 61.7 kB / 374 MB, free: 5.668 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.581e-06/0.2893, allocations: 0 / 374 MB, free: 5.668 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003589/0.2897, allocations: 155.2 kB / 374.1 MB, free: 5.504 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.064e-05/0.2898, allocations: 41.67 kB / 374.2 MB, free: 5.457 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.933e-06/0.2898, allocations: 0 / 374.2 MB, free: 5.457 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.2898, allocations: 4 kB / 374.2 MB, free: 5.453 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.2899, allocations: 15.94 kB / 374.2 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.705e-06/0.29, allocations: 0 / 374.2 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.316e-05/0.29, allocations: 11.98 kB / 374.2 MB, free: 5.426 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.2901, allocations: 4 kB / 374.2 MB, free: 5.422 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.0001484/0.2902, allocations: 126.6 kB / 374.3 MB, free: 5.289 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.2903, allocations: 23.77 kB / 374.4 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.188e-05/0.2903, allocations: 25.36 kB / 374.4 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.753e-06/0.2904, allocations: 0 / 374.4 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.338e-06/0.2904, allocations: 0 / 374.4 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.196e-06/0.2904, allocations: 0 / 374.4 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006465/0.291, allocations: 391.3 kB / 374.8 MB, free: 4.805 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.331e-06/0.2911, allocations: 0 / 374.8 MB, free: 4.805 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.705e-05/0.2911, allocations: 12 kB / 374.8 MB, free: 4.793 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.923e-06/0.2911, allocations: 7.984 kB / 374.8 MB, free: 4.785 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.2912, allocations: 4.406 kB / 374.8 MB, free: 4.781 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.371e-06/0.2912, allocations: 3.938 kB / 374.8 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2912, allocations: 0 / 374.8 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003252/0.2915, allocations: 212.3 kB / 375 MB, free: 4.551 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.661e-05/0.2916, allocations: 96.95 kB / 375.1 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.2917, allocations: 0 / 375.1 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.2918, allocations: 8 kB / 375.1 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.2919, allocations: 7.984 kB / 375.1 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.508e-05/0.2919, allocations: 8 kB / 375.1 MB, free: 4.414 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001687/0.2921, allocations: 143.9 kB / 375.3 MB, free: 4.273 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.49e-07/0.2921, allocations: 0 / 375.3 MB, free: 4.273 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003756/0.2925, allocations: 28 kB / 375.3 MB, free: 4.246 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.00152/0.294, allocations: 455.9 kB / 375.7 MB, free: 3.887 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004012/0.2944, allocations: 147.3 kB / 375.9 MB, free: 3.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.385e-06/0.2945, allocations: 0 / 375.9 MB, free: 3.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.2946, allocations: 31.92 kB / 375.9 MB, free: 3.699 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.2949, allocations: 19.98 kB / 375.9 MB, free: 3.68 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006004/0.2955, allocations: 275.9 kB / 376.2 MB, free: 3.379 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.296, allocations: 0.7043 MB / 376.9 MB, free: 2.648 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.608e-05/0.296, allocations: 19.42 kB / 376.9 MB, free: 2.629 MB / 298.7 MB Notification: Performance of SimCode: time 3.889e-06/0.2961, allocations: 4 kB / 376.9 MB, free: 2.625 MB / 298.7 MB Notification: Performance of Templates: time 0.004685/0.3008, allocations: 1.898 MB / 378.8 MB, free: 0.7305 MB / 298.7 MB