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.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime.nextTimeEvent|startTime_0.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadModel(ModelicaTest): time 1.928/1.928, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004458/0.000446, allocations: 16 kB / 282.5 MB, free: 9.625 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2807, allocations: 48.7 MB / 331.2 MB, free: 6.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.001866/0.2826, allocations: 1.341 MB / 332.5 MB, free: 5.773 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.2838, allocations: 0.6682 MB / 333.2 MB, free: 5.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.207e-05/0.2839, allocations: 1.312 kB / 333.2 MB, free: 5.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000547/0.2845, allocations: 281.2 kB / 333.5 MB, free: 5.297 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003298/0.2848, allocations: 169.8 kB / 333.7 MB, free: 5.266 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.2852, allocations: 110 kB / 333.8 MB, free: 5.207 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.2854, allocations: 147.2 kB / 333.9 MB, free: 5.156 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.588e-05/0.2855, allocations: 7.891 kB / 333.9 MB, free: 5.156 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.2857, allocations: 99.7 kB / 334 MB, free: 5.129 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/0.2859, allocations: 135.6 kB / 334.1 MB, free: 5.109 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.488e-05/0.2859, allocations: 2.844 kB / 334.1 MB, free: 5.109 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.2861, allocations: 61.25 kB / 334.2 MB, free: 5.094 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.2863, allocations: 137.7 kB / 334.3 MB, free: 5.055 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.938e-05/0.2864, allocations: 70.05 kB / 334.4 MB, free: 4.992 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004369/0.2868, allocations: 294.4 kB / 334.7 MB, free: 4.914 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.753e-06/0.2868, allocations: 0 / 334.7 MB, free: 4.914 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.826e-06/0.2869, allocations: 0 / 334.7 MB, free: 4.914 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.638e-06/0.2869, allocations: 0.875 kB / 334.7 MB, free: 4.914 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.0008065/0.2877, allocations: 0.7048 MB / 335.4 MB, free: 4.293 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.2877, allocations: 13.09 kB / 335.4 MB, free: 4.289 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.948e-05/0.2878, allocations: 43.72 kB / 335.5 MB, free: 4.266 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005838/0.2884, allocations: 398.8 kB / 335.8 MB, free: 3.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.2885, allocations: 7.234 kB / 335.9 MB, free: 3.977 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.2885, allocations: 3.781 kB / 335.9 MB, free: 3.977 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.2887, allocations: 70.91 kB / 335.9 MB, free: 3.914 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.968e-06/0.2887, allocations: 1.062 kB / 335.9 MB, free: 3.914 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.2887, allocations: 0.6562 kB / 335.9 MB, free: 3.914 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.2887, allocations: 1.312 kB / 335.9 MB, free: 3.914 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.183e-05/0.2888, allocations: 16.3 kB / 335.9 MB, free: 3.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000445/0.2893, allocations: 367.5 kB / 336.3 MB, free: 3.648 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.2894, allocations: 66.94 kB / 336.4 MB, free: 3.578 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.2894, allocations: 1.125 kB / 336.4 MB, free: 3.578 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001856/0.2896, allocations: 91.03 kB / 336.5 MB, free: 3.488 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 3.335e-06/0.2896, allocations: 3.984 kB / 336.5 MB, free: 3.484 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003626/0.29, allocations: 139.7 kB / 336.6 MB, free: 3.398 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.29, allocations: 82.36 kB / 336.7 MB, free: 3.301 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/0.2914, allocations: 1.012 MB / 337.7 MB, free: 2.836 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.2914, allocations: 27.05 kB / 337.7 MB, free: 2.805 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.2915, allocations: 246.8 kB / 338 MB, free: 2.57 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.2916, allocations: 14.97 kB / 338 MB, free: 2.559 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.425e-06/0.2916, allocations: 1.438 kB / 338 MB, free: 2.559 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.458e-05/0.2917, allocations: 320.3 kB / 338.3 MB, free: 2.238 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.156e-05/0.2918, allocations: 26.77 kB / 338.3 MB, free: 2.227 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.284e-05/0.2919, allocations: 46.48 kB / 338.4 MB, free: 2.191 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.292, allocations: 82.84 kB / 338.4 MB, free: 2.117 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.661e-06/0.292, allocations: 0 / 338.4 MB, free: 2.117 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002963/0.2923, allocations: 184.2 kB / 338.6 MB, free: 1.973 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.275e-05/0.2924, allocations: 60.34 kB / 338.7 MB, free: 1.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.378e-06/0.2924, allocations: 0 / 338.7 MB, free: 1.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.2924, allocations: 0.9375 kB / 338.7 MB, free: 1.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.704e-05/0.2925, allocations: 18.05 kB / 338.7 MB, free: 1.902 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.319e-06/0.2925, allocations: 4.031 kB / 338.7 MB, free: 1.898 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.2927, allocations: 26.41 kB / 338.7 MB, free: 1.879 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.2927, allocations: 4.406 kB / 338.7 MB, free: 1.879 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.0002276/0.293, allocations: 220.6 kB / 338.9 MB, free: 1.723 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.018e-05/0.293, allocations: 47.3 kB / 339 MB, free: 1.695 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.2932, allocations: 56.41 kB / 339 MB, free: 1.664 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.858e-06/0.2932, allocations: 1.188 kB / 339 MB, free: 1.664 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.329e-06/0.2932, allocations: 1.219 kB / 339.1 MB, free: 1.664 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.635e-06/0.2932, allocations: 0 / 339.1 MB, free: 1.664 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003134/0.2935, allocations: 319.3 kB / 339.4 MB, free: 1.379 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.92e-06/0.2935, allocations: 4 kB / 339.4 MB, free: 1.375 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.892e-05/0.2936, allocations: 3.781 kB / 339.4 MB, free: 1.375 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.664e-06/0.2936, allocations: 5.078 kB / 339.4 MB, free: 1.371 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.2936, allocations: 1.719 kB / 339.4 MB, free: 1.371 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.795e-06/0.2936, allocations: 9.25 kB / 339.4 MB, free: 1.363 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.039e-06/0.2937, allocations: 1.562 kB / 339.4 MB, free: 1.363 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/0.2939, allocations: 157.5 kB / 339.5 MB, free: 1.238 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.2941, allocations: 133.2 kB / 339.7 MB, free: 1.113 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.004e-05/0.2941, allocations: 10.3 kB / 339.7 MB, free: 1.105 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.2943, allocations: 3.25 kB / 339.7 MB, free: 1.105 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.2943, allocations: 7.266 kB / 339.7 MB, free: 1.102 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.2944, allocations: 7.281 kB / 339.7 MB, free: 1.098 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001034/0.2954, allocations: 0.7471 MB / 340.4 MB, free: 0.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.43e-07/0.2954, allocations: 0 / 340.4 MB, free: 0.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004028/0.2958, allocations: 62.52 kB / 340.5 MB, free: 0.7305 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.001456/0.2973, allocations: 483.7 kB / 341 MB, free: 444 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002793/0.2976, allocations: 192.1 kB / 341.2 MB, free: 272 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.988e-06/0.2976, allocations: 0 / 341.2 MB, free: 272 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.763e-05/0.2977, allocations: 15.41 kB / 341.2 MB, free: 268 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.2981, allocations: 48.38 kB / 341.2 MB, free: 236 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.2996, allocations: 0.9041 MB / 342.1 MB, free: 15.7 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006163/0.3003, allocations: 0.8382 MB / 343 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.3004, allocations: 31.3 kB / 343 MB, free: 14.91 MB / 282.7 MB Notification: Performance of SimCode: time 1.557e-06/0.3004, allocations: 0 / 343 MB, free: 14.91 MB / 282.7 MB Notification: Performance of Templates: time 0.01075/0.3112, allocations: 4.792 MB / 347.8 MB, free: 12.49 MB / 282.7 MB