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.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime.nextTimeEvent|startTime_0.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadModel(ModelicaTest): time 1.885/1.885, allocations: 209.3 MB / 224.8 MB, free: 288 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004294/0.0004296, allocations: 12 kB / 282.5 MB, free: 9.652 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2804, allocations: 48.71 MB / 331.2 MB, free: 6.492 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.001947/0.2824, allocations: 1.345 MB / 332.5 MB, free: 5.785 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.2837, allocations: 0.6668 MB / 333.2 MB, free: 5.332 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.28e-05/0.2838, allocations: 4 kB / 333.2 MB, free: 5.328 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005192/0.2843, allocations: 270.1 kB / 333.5 MB, free: 5.309 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003231/0.2846, allocations: 170.8 kB / 333.6 MB, free: 5.273 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.285, allocations: 105.2 kB / 333.7 MB, free: 5.219 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002521/0.2853, allocations: 145.8 kB / 333.9 MB, free: 5.168 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.149e-05/0.2853, allocations: 7.156 kB / 333.9 MB, free: 5.168 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.2855, allocations: 99.66 kB / 334 MB, free: 5.141 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002156/0.2857, allocations: 132.9 kB / 334.1 MB, free: 5.121 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.2858, allocations: 2.875 kB / 334.1 MB, free: 5.121 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.2859, allocations: 64.75 kB / 334.2 MB, free: 5.102 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.2861, allocations: 120.9 kB / 334.3 MB, free: 5.074 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.676e-05/0.2862, allocations: 75.38 kB / 334.4 MB, free: 5.008 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004357/0.2866, allocations: 283.2 kB / 334.7 MB, free: 4.938 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.234e-06/0.2867, allocations: 0 / 334.7 MB, free: 4.938 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.171e-06/0.2867, allocations: 0 / 334.7 MB, free: 4.938 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.2867, allocations: 0 / 334.7 MB, free: 4.938 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.0007911/0.2875, allocations: 0.7019 MB / 335.4 MB, free: 4.316 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.2875, allocations: 9 kB / 335.4 MB, free: 4.316 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.143e-05/0.2876, allocations: 43.88 kB / 335.4 MB, free: 4.293 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005612/0.2882, allocations: 398.8 kB / 335.8 MB, free: 4.004 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.2882, allocations: 10.42 kB / 335.8 MB, free: 3.996 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.2883, allocations: 4.547 kB / 335.8 MB, free: 3.996 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.2884, allocations: 62.55 kB / 335.9 MB, free: 3.941 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.2885, allocations: 1.188 kB / 335.9 MB, free: 3.941 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.2885, allocations: 0 / 335.9 MB, free: 3.941 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.075e-06/0.2885, allocations: 1.094 kB / 335.9 MB, free: 3.941 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.29e-05/0.2886, allocations: 21.41 kB / 335.9 MB, free: 3.934 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004432/0.289, allocations: 358.7 kB / 336.3 MB, free: 3.684 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.2892, allocations: 62.08 kB / 336.3 MB, free: 3.621 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.2892, allocations: 3.984 kB / 336.3 MB, free: 3.617 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001908/0.2894, allocations: 97.95 kB / 336.4 MB, free: 3.531 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 2.171e-06/0.2894, allocations: 0 / 336.4 MB, free: 3.531 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003584/0.2898, allocations: 135.5 kB / 336.5 MB, free: 3.449 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.2898, allocations: 82.2 kB / 336.6 MB, free: 3.352 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/0.2911, allocations: 0.9782 MB / 337.6 MB, free: 2.902 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.2911, allocations: 27.14 kB / 337.6 MB, free: 2.871 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.2913, allocations: 254.6 kB / 337.9 MB, free: 2.629 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.2913, allocations: 22.73 kB / 337.9 MB, free: 2.609 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.253e-06/0.2913, allocations: 5.344 kB / 337.9 MB, free: 2.605 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.106e-05/0.2914, allocations: 316.4 kB / 338.2 MB, free: 2.289 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.865e-05/0.2915, allocations: 26.62 kB / 338.2 MB, free: 2.277 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.058e-05/0.2916, allocations: 42 kB / 338.3 MB, free: 2.246 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.2917, allocations: 86.66 kB / 338.4 MB, free: 2.168 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.611e-06/0.2917, allocations: 0 / 338.4 MB, free: 2.168 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002943/0.292, allocations: 176.2 kB / 338.5 MB, free: 2.031 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.231e-05/0.2921, allocations: 67.89 kB / 338.6 MB, free: 1.961 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.013e-06/0.2921, allocations: 1.219 kB / 338.6 MB, free: 1.961 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.2921, allocations: 1.219 kB / 338.6 MB, free: 1.961 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.682e-05/0.2922, allocations: 13.23 kB / 338.6 MB, free: 1.957 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.413e-06/0.2922, allocations: 5.031 kB / 338.6 MB, free: 1.953 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.2924, allocations: 13.59 kB / 338.6 MB, free: 1.945 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.2924, allocations: 8.062 kB / 338.6 MB, free: 1.941 MB / 266.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: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * 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.000231/0.2927, allocations: 217.9 kB / 338.9 MB, free: 1.785 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.942e-05/0.2927, allocations: 54.92 kB / 338.9 MB, free: 1.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.166e-05/0.2929, allocations: 49 kB / 339 MB, free: 1.727 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.964e-06/0.2929, allocations: 3.984 kB / 339 MB, free: 1.723 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.419e-06/0.2929, allocations: 1.688 kB / 339 MB, free: 1.723 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2929, allocations: 0 / 339 MB, free: 1.723 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003249/0.2932, allocations: 316.8 kB / 339.3 MB, free: 1.438 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.47e-06/0.2932, allocations: 0 / 339.3 MB, free: 1.438 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.857e-05/0.2933, allocations: 8.391 kB / 339.3 MB, free: 1.434 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.957e-06/0.2933, allocations: 5.453 kB / 339.3 MB, free: 1.43 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.2933, allocations: 1.375 kB / 339.3 MB, free: 1.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.2933, allocations: 9.484 kB / 339.3 MB, free: 1.422 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.2934, allocations: 0 / 339.3 MB, free: 1.422 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.2936, allocations: 153.5 kB / 339.4 MB, free: 1.301 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.2938, allocations: 135.1 kB / 339.6 MB, free: 1.176 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.737e-05/0.2938, allocations: 3.953 kB / 339.6 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.876e-05/0.2939, allocations: 3.031 kB / 339.6 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/0.294, allocations: 11.58 kB / 339.6 MB, free: 1.164 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.294, allocations: 7.906 kB / 339.6 MB, free: 1.16 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0009374/0.295, allocations: 0.7257 MB / 340.3 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.63e-07/0.295, allocations: 0 / 340.3 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004016/0.2954, allocations: 50.84 kB / 340.4 MB, free: 0.8125 MB / 266.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: 4 ($whenCondition2,startTime.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEvent) * Number of discrete states: 2 (startTime_0.nextTimeEvent,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.001437/0.2969, allocations: 483.5 kB / 340.9 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002798/0.2972, allocations: 183.7 kB / 341 MB, free: 360 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.338e-06/0.2972, allocations: 0 / 341 MB, free: 360 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.968e-05/0.2973, allocations: 26.06 kB / 341.1 MB, free: 348 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.2976, allocations: 50.97 kB / 341.1 MB, free: 312 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.2991, allocations: 0.8788 MB / 342 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006083/0.2997, allocations: 0.8353 MB / 342.8 MB, free: 15.01 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.129e-05/0.2998, allocations: 21.97 kB / 342.8 MB, free: 15 MB / 282.7 MB Notification: Performance of SimCode: time 1.403e-06/0.2998, allocations: 0 / 342.8 MB, free: 15 MB / 282.7 MB Notification: Performance of Templates: time 0.0105/0.3103, allocations: 4.718 MB / 347.6 MB, free: 12.61 MB / 282.7 MB