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.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime.nextTimeEvent|startTime_0.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadModel(ModelicaTest): time 1.944/1.944, allocations: 209.2 MB / 224.8 MB, free: 212 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004423/0.0004425, allocations: 16 kB / 282.5 MB, free: 9.625 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2776, allocations: 48.7 MB / 331.2 MB, free: 6.484 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.001891/0.2795, allocations: 1.343 MB / 332.5 MB, free: 5.781 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.2808, allocations: 0.666 MB / 333.2 MB, free: 5.332 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.108e-05/0.2809, allocations: 5.188 kB / 333.2 MB, free: 5.328 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005487/0.2814, allocations: 269.8 kB / 333.5 MB, free: 5.309 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003494/0.2818, allocations: 169.5 kB / 333.6 MB, free: 5.273 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003911/0.2822, allocations: 105.9 kB / 333.8 MB, free: 5.219 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002497/0.2825, allocations: 147.3 kB / 333.9 MB, free: 5.168 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.835e-05/0.2825, allocations: 6.531 kB / 333.9 MB, free: 5.168 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.2827, allocations: 94.73 kB / 334 MB, free: 5.145 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002143/0.2829, allocations: 136.3 kB / 334.1 MB, free: 5.121 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.654e-05/0.283, allocations: 7.406 kB / 334.1 MB, free: 5.117 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001855/0.2832, allocations: 61.45 kB / 334.2 MB, free: 5.102 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000149/0.2833, allocations: 125 kB / 334.3 MB, free: 5.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7e-05/0.2834, allocations: 66.27 kB / 334.4 MB, free: 5.012 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004472/0.2839, allocations: 286.1 kB / 334.7 MB, free: 4.938 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2839, allocations: 1.406 kB / 334.7 MB, free: 4.938 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.095e-06/0.2839, allocations: 3.938 kB / 334.7 MB, free: 4.934 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.716e-06/0.2839, allocations: 0 / 334.7 MB, free: 4.934 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.000811/0.2848, allocations: 0.701 MB / 335.4 MB, free: 4.312 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.2848, allocations: 13.31 kB / 335.4 MB, free: 4.309 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.658e-05/0.2849, allocations: 39.92 kB / 335.4 MB, free: 4.289 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005776/0.2855, allocations: 398.7 kB / 335.8 MB, free: 4 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.2855, allocations: 6.781 kB / 335.8 MB, free: 3.996 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.2856, allocations: 3.406 kB / 335.8 MB, free: 3.996 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.2857, allocations: 67.53 kB / 335.9 MB, free: 3.938 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.6e-06/0.2857, allocations: 0 / 335.9 MB, free: 3.938 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.2858, allocations: 5.766 kB / 335.9 MB, free: 3.934 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.483e-06/0.2858, allocations: 4 kB / 335.9 MB, free: 3.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.337e-05/0.2859, allocations: 17.88 kB / 335.9 MB, free: 3.926 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000425/0.2863, allocations: 354.3 kB / 336.3 MB, free: 3.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.2864, allocations: 65.66 kB / 336.3 MB, free: 3.613 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.2865, allocations: 1.25 kB / 336.3 MB, free: 3.613 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001883/0.2867, allocations: 92.03 kB / 336.4 MB, free: 3.523 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 2.33e-06/0.2867, allocations: 0 / 336.4 MB, free: 3.523 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.000358/0.287, allocations: 138.5 kB / 336.5 MB, free: 3.438 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.2871, allocations: 78.55 kB / 336.6 MB, free: 3.344 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.2884, allocations: 0.9814 MB / 337.6 MB, free: 2.891 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.2884, allocations: 31.52 kB / 337.6 MB, free: 2.855 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.2886, allocations: 246.9 kB / 337.9 MB, free: 2.621 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/0.2886, allocations: 23.08 kB / 337.9 MB, free: 2.602 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.421e-06/0.2886, allocations: 1.188 kB / 337.9 MB, free: 2.602 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.187e-05/0.2887, allocations: 316 kB / 338.2 MB, free: 2.285 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.086e-05/0.2888, allocations: 26.95 kB / 338.2 MB, free: 2.273 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.308e-05/0.2889, allocations: 46.39 kB / 338.3 MB, free: 2.238 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.289, allocations: 86.42 kB / 338.4 MB, free: 2.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.289, allocations: 0 / 338.4 MB, free: 2.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002956/0.2893, allocations: 184.8 kB / 338.5 MB, free: 2.016 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.171e-05/0.2894, allocations: 62.17 kB / 338.6 MB, free: 1.949 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.551e-06/0.2894, allocations: 1.531 kB / 338.6 MB, free: 1.949 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.2894, allocations: 1.25 kB / 338.6 MB, free: 1.949 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.483e-05/0.2895, allocations: 16.78 kB / 338.6 MB, free: 1.941 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.518e-06/0.2896, allocations: 1.5 kB / 338.6 MB, free: 1.941 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.2897, allocations: 16.89 kB / 338.6 MB, free: 1.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.2897, allocations: 8.75 kB / 338.7 MB, free: 1.926 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.0002265/0.29, allocations: 218.6 kB / 338.9 MB, free: 1.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.757e-05/0.29, allocations: 46.67 kB / 338.9 MB, free: 1.742 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.63e-05/0.2902, allocations: 55.36 kB / 339 MB, free: 1.711 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.241e-06/0.2902, allocations: 1.406 kB / 339 MB, free: 1.711 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.557e-06/0.2902, allocations: 0 / 339 MB, free: 1.711 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.069e-06/0.2902, allocations: 1.375 kB / 339 MB, free: 1.711 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003115/0.2905, allocations: 312.5 kB / 339.3 MB, free: 1.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.471e-06/0.2905, allocations: 0 / 339.3 MB, free: 1.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.831e-05/0.2906, allocations: 4.156 kB / 339.3 MB, free: 1.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.391e-06/0.2906, allocations: 5.078 kB / 339.3 MB, free: 1.426 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.2906, allocations: 2.312 kB / 339.3 MB, free: 1.426 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.769e-06/0.2906, allocations: 5.062 kB / 339.3 MB, free: 1.422 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2907, allocations: 0 / 339.3 MB, free: 1.422 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.2909, allocations: 153.7 kB / 339.4 MB, free: 1.301 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.2911, allocations: 138 kB / 339.6 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.846e-05/0.2911, allocations: 5.172 kB / 339.6 MB, free: 1.168 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.2912, allocations: 7.406 kB / 339.6 MB, free: 1.164 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.2913, allocations: 11.73 kB / 339.6 MB, free: 1.156 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.2913, allocations: 3.438 kB / 339.6 MB, free: 1.156 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0009817/0.2923, allocations: 0.7258 MB / 340.3 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.87e-07/0.2924, allocations: 0 / 340.3 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004025/0.2928, allocations: 54.52 kB / 340.4 MB, free: 0.8047 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.001435/0.2942, allocations: 495 kB / 340.9 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002754/0.2945, allocations: 183.1 kB / 341 MB, free: 340 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2945, allocations: 0.9062 kB / 341 MB, free: 340 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.922e-05/0.2946, allocations: 20.83 kB / 341.1 MB, free: 332 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.295, allocations: 39.92 kB / 341.1 MB, free: 308 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.2965, allocations: 0.8862 MB / 342 MB, free: 15.77 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005994/0.2971, allocations: 0.8321 MB / 342.8 MB, free: 15 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.356e-05/0.2972, allocations: 25.67 kB / 342.8 MB, free: 14.99 MB / 282.7 MB Notification: Performance of SimCode: time 1.594e-06/0.2972, allocations: 1 kB / 342.8 MB, free: 14.99 MB / 282.7 MB Notification: Performance of Templates: time 0.01071/0.308, allocations: 4.718 MB / 347.6 MB, free: 12.59 MB / 282.7 MB