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.Test33.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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadModel(ModelicaTest): time 1.867/1.867, allocations: 209.3 MB / 222.4 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.3e-05/3.315e-05, allocations: 4 kB / 277.8 MB, free: 12.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08527/0.08532, allocations: 48.71 MB / 326.5 MB, free: 11.57 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3582/0.4436, allocations: 75.77 MB / 402.3 MB, free: 11.45 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.4439, allocations: 67.97 kB / 402.4 MB, free: 11.39 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01741/0.4613, allocations: 4.015 MB / 406.4 MB, free: 7.375 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.945e-06/0.4613, allocations: 0 / 406.4 MB, free: 7.375 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.777e-05/0.4614, allocations: 4 kB / 406.4 MB, free: 7.371 MB / 330.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.000508/0.4619, allocations: 415.9 kB / 406.8 MB, free: 6.914 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.4619, allocations: 8.031 kB / 406.8 MB, free: 6.906 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.975e-05/0.462, allocations: 7.906 kB / 406.8 MB, free: 6.898 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.4623, allocations: 202.4 kB / 407 MB, free: 6.664 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.4623, allocations: 0 / 407 MB, free: 6.664 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.4624, allocations: 7.906 kB / 407 MB, free: 6.656 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.4625, allocations: 49.62 kB / 407.1 MB, free: 6.602 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.4625, allocations: 3.938 kB / 407.1 MB, free: 6.598 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.4625, allocations: 0 / 407.1 MB, free: 6.598 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.4625, allocations: 0 / 407.1 MB, free: 6.598 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.855e-05/0.4626, allocations: 19.98 kB / 407.1 MB, free: 6.578 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004536/0.4631, allocations: 284.9 kB / 407.4 MB, free: 6.25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.4633, allocations: 54.5 kB / 407.4 MB, free: 6.188 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.064e-05/0.4634, allocations: 8.859 kB / 407.4 MB, free: 6.176 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.4634, allocations: 96 / 407.4 MB, free: 6.176 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001338/0.4636, allocations: 59.39 kB / 407.5 MB, free: 6.105 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.386e-06/0.4636, allocations: 0 / 407.5 MB, free: 6.105 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004597/0.464, allocations: 121.2 kB / 407.6 MB, free: 5.98 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.4641, allocations: 51.41 kB / 407.7 MB, free: 5.918 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.4643, allocations: 153.5 kB / 407.8 MB, free: 5.758 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.4644, allocations: 33.7 kB / 407.9 MB, free: 5.719 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.382e-05/0.4645, allocations: 158.5 kB / 408 MB, free: 5.562 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.4645, allocations: 15.81 kB / 408 MB, free: 5.547 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.359e-06/0.4645, allocations: 0 / 408 MB, free: 5.547 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.4647, allocations: 322.8 kB / 408.3 MB, free: 5.223 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.856e-05/0.4648, allocations: 16 kB / 408.4 MB, free: 5.207 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.116e-05/0.4649, allocations: 20 kB / 408.4 MB, free: 5.188 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.465, allocations: 57.69 kB / 408.4 MB, free: 5.125 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.856e-06/0.465, allocations: 7.938 kB / 408.4 MB, free: 5.117 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000262/0.4653, allocations: 127.2 kB / 408.6 MB, free: 4.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.394e-05/0.4653, allocations: 34.33 kB / 408.6 MB, free: 4.941 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.549e-06/0.4653, allocations: 0 / 408.6 MB, free: 4.941 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.4654, allocations: 0 / 408.6 MB, free: 4.941 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.912e-05/0.4654, allocations: 12.05 kB / 408.6 MB, free: 4.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.839e-06/0.4655, allocations: 3.938 kB / 408.6 MB, free: 4.926 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.455e-05/0.4655, allocations: 11.98 kB / 408.6 MB, free: 4.914 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.4656, allocations: 144 / 408.6 MB, free: 4.914 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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 9.975e-05/0.4657, allocations: 117.2 kB / 408.7 MB, free: 4.793 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.4657, allocations: 7.906 kB / 408.7 MB, free: 4.785 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/0.466, allocations: 89.77 kB / 408.8 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.572e-06/0.466, allocations: 0 / 408.8 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.585e-06/0.466, allocations: 3.953 kB / 408.8 MB, free: 4.691 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.929e-06/0.466, allocations: 0 / 408.8 MB, free: 4.691 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004705/0.4665, allocations: 358.6 kB / 409.2 MB, free: 4.285 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.536e-06/0.4665, allocations: 0 / 409.2 MB, free: 4.285 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.908e-05/0.4666, allocations: 4 kB / 409.2 MB, free: 4.281 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.629e-06/0.4666, allocations: 4 kB / 409.2 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.4666, allocations: 7.953 kB / 409.2 MB, free: 4.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.41e-06/0.4666, allocations: 0 / 409.2 MB, free: 4.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.557e-06/0.4666, allocations: 0 / 409.2 MB, free: 4.27 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.4669, allocations: 175.4 kB / 409.4 MB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.058e-05/0.467, allocations: 85.02 kB / 409.5 MB, free: 3.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.467, allocations: 8 kB / 409.5 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.875e-05/0.4671, allocations: 7.953 kB / 409.5 MB, free: 3.965 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.4672, allocations: 7.984 kB / 409.5 MB, free: 3.957 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.4672, allocations: 0 / 409.5 MB, free: 3.957 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001501/0.4674, allocations: 131 kB / 409.6 MB, free: 3.832 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.6e-07/0.4674, allocations: 0 / 409.6 MB, free: 3.832 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003766/0.4678, allocations: 39.92 kB / 409.6 MB, free: 3.793 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001108/0.4689, allocations: 349.5 kB / 410 MB, free: 3.531 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000238/0.4691, allocations: 115.3 kB / 410.1 MB, free: 3.406 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.4692, allocations: 4 kB / 410.1 MB, free: 3.402 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.279e-05/0.4692, allocations: 16 kB / 410.1 MB, free: 3.387 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.4695, allocations: 15.98 kB / 410.1 MB, free: 3.371 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003999/0.4699, allocations: 159.7 kB / 410.3 MB, free: 3.188 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.4703, allocations: 0.7004 MB / 411 MB, free: 2.461 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.407e-05/0.4704, allocations: 23.42 kB / 411 MB, free: 2.438 MB / 330.7 MB Notification: Performance of SimCode: time 1.526e-06/0.4704, allocations: 0 / 411 MB, free: 2.438 MB / 330.7 MB Notification: Performance of Templates: time 0.004135/0.4746, allocations: 1.702 MB / 412.7 MB, free: 0.7422 MB / 330.7 MB