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.892/1.892, allocations: 209.3 MB / 222.4 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.263e-05/3.287e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08767/0.08773, allocations: 48.7 MB / 326.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.381/0.4688, allocations: 75.64 MB / 402.2 MB, free: 10 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002012/0.4691, allocations: 71.69 kB / 402.3 MB, free: 9.992 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01907/0.4882, allocations: 5.471 MB / 407.7 MB, free: 7.848 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.762e-06/0.4882, allocations: 0 / 407.7 MB, free: 7.848 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.763e-05/0.4883, allocations: 7.812 kB / 407.7 MB, free: 7.844 MB / 314.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.0006811/0.4889, allocations: 0.6447 MB / 408.4 MB, free: 7.258 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.489, allocations: 11.62 kB / 408.4 MB, free: 7.254 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.4891, allocations: 46.72 kB / 408.4 MB, free: 7.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000738/0.4899, allocations: 452.4 kB / 408.9 MB, free: 6.953 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.4899, allocations: 6.562 kB / 408.9 MB, free: 6.953 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.4899, allocations: 3.844 kB / 408.9 MB, free: 6.953 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.4901, allocations: 61.61 kB / 408.9 MB, free: 6.898 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.859e-06/0.4901, allocations: 4 kB / 408.9 MB, free: 6.895 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.4901, allocations: 0 / 408.9 MB, free: 6.895 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.366e-06/0.4902, allocations: 7.812 kB / 409 MB, free: 6.891 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.384e-05/0.4902, allocations: 23.05 kB / 409 MB, free: 6.883 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000403/0.4906, allocations: 383.4 kB / 409.4 MB, free: 6.613 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.4908, allocations: 62.7 kB / 409.4 MB, free: 6.559 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.052e-05/0.4908, allocations: 25.56 kB / 409.4 MB, free: 6.539 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.4909, allocations: 0 / 409.4 MB, free: 6.539 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/0.491, allocations: 86.19 kB / 409.5 MB, free: 6.465 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.226e-06/0.4911, allocations: 0 / 409.5 MB, free: 6.465 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003295/0.4914, allocations: 133.6 kB / 409.7 MB, free: 6.395 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.4914, allocations: 84.23 kB / 409.7 MB, free: 6.297 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001531/0.493, allocations: 0.9099 MB / 410.6 MB, free: 6.086 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.493, allocations: 32.67 kB / 410.7 MB, free: 6.055 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.4932, allocations: 248.6 kB / 410.9 MB, free: 5.906 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.4932, allocations: 23.19 kB / 410.9 MB, free: 5.895 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/0.4932, allocations: 0 / 410.9 MB, free: 5.895 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.275e-05/0.4933, allocations: 318.5 kB / 411.3 MB, free: 5.578 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.4934, allocations: 38.02 kB / 411.3 MB, free: 5.574 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.4935, allocations: 61.34 kB / 411.3 MB, free: 5.543 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.4937, allocations: 98.16 kB / 411.4 MB, free: 5.473 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.893e-06/0.4937, allocations: 0 / 411.4 MB, free: 5.473 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003519/0.4941, allocations: 184.9 kB / 411.6 MB, free: 5.367 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.196e-05/0.4941, allocations: 66.14 kB / 411.7 MB, free: 5.301 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.968e-06/0.4941, allocations: 3.844 kB / 411.7 MB, free: 5.301 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.4942, allocations: 0 / 411.7 MB, free: 5.301 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.182e-05/0.4943, allocations: 11.72 kB / 411.7 MB, free: 5.297 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.088e-06/0.4943, allocations: 3.875 kB / 411.7 MB, free: 5.297 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.4945, allocations: 23.44 kB / 411.7 MB, free: 5.285 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.4945, allocations: 7.859 kB / 411.7 MB, free: 5.281 MB / 314.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 () * 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 6.594e-05/0.4946, allocations: 108.9 kB / 411.8 MB, free: 5.172 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.281e-05/0.4947, allocations: 50.16 kB / 411.9 MB, free: 5.148 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003169/0.495, allocations: 162.6 kB / 412.1 MB, free: 5.074 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.865e-06/0.495, allocations: 0 / 412.1 MB, free: 5.074 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.958e-06/0.495, allocations: 3.969 kB / 412.1 MB, free: 5.074 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.371e-06/0.4951, allocations: 0 / 412.1 MB, free: 5.074 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003311/0.4954, allocations: 379.3 kB / 412.4 MB, free: 4.793 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.359e-06/0.4954, allocations: 0 / 412.4 MB, free: 4.793 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.241e-05/0.4955, allocations: 15.64 kB / 412.4 MB, free: 4.785 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.893e-06/0.4955, allocations: 0 / 412.4 MB, free: 4.785 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.4955, allocations: 7.75 kB / 412.5 MB, free: 4.781 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.773e-06/0.4955, allocations: 0 / 412.5 MB, free: 4.781 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.962e-06/0.4955, allocations: 0 / 412.5 MB, free: 4.781 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002768/0.4958, allocations: 185.4 kB / 412.6 MB, free: 4.652 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000233/0.4961, allocations: 187.9 kB / 412.8 MB, free: 4.523 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.485e-05/0.4962, allocations: 3.812 kB / 412.8 MB, free: 4.523 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.4963, allocations: 3.781 kB / 412.8 MB, free: 4.523 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.4963, allocations: 10.98 kB / 412.8 MB, free: 4.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.4964, allocations: 3.812 kB / 412.8 MB, free: 4.52 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009528/0.4973, allocations: 0.7175 MB / 413.6 MB, free: 4.367 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.44e-07/0.4973, allocations: 0 / 413.6 MB, free: 4.367 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004725/0.4978, allocations: 104.9 kB / 413.7 MB, free: 4.348 MB / 314.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) * 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.001438/0.4993, allocations: 454.8 kB / 414.1 MB, free: 4.066 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002974/0.4996, allocations: 195.7 kB / 414.3 MB, free: 3.934 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.223e-06/0.4996, allocations: 0 / 414.3 MB, free: 3.934 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.811e-05/0.4997, allocations: 34.95 kB / 414.3 MB, free: 3.922 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.5001, allocations: 53.02 kB / 414.4 MB, free: 3.891 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.5014, allocations: 0.7825 MB / 415.2 MB, free: 3.152 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.5018, allocations: 0.8432 MB / 416 MB, free: 2.301 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.5019, allocations: 38.55 kB / 416 MB, free: 2.266 MB / 314.7 MB Notification: Performance of SimCode: time 1.579e-06/0.502, allocations: 0 / 416 MB, free: 2.266 MB / 314.7 MB Notification: Performance of Templates: time 0.01103/0.513, allocations: 5.493 MB / 421.5 MB, free: 12.79 MB / 330.7 MB