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.Test23.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.Test23,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.Test23") Notification: Performance of loadModel(ModelicaTest): time 2.049/2.049, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.949e-05/3.97e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08662/0.08668, allocations: 48.7 MB / 326.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3352/0.4219, allocations: 75.73 MB / 402.3 MB, free: 10.05 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/0.4222, allocations: 72.92 kB / 402.4 MB, free: 10.04 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0151/0.4373, allocations: 3.948 MB / 406.3 MB, free: 8.523 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.01e-06/0.4373, allocations: 4 kB / 406.3 MB, free: 8.52 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.4374, allocations: 0 / 406.3 MB, free: 8.52 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.0003679/0.4378, allocations: 425.2 kB / 406.7 MB, free: 8.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.4378, allocations: 7.844 kB / 406.7 MB, free: 8.09 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.876e-05/0.4379, allocations: 7.75 kB / 406.7 MB, free: 8.086 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.4381, allocations: 196.9 kB / 406.9 MB, free: 7.871 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.4381, allocations: 3.906 kB / 406.9 MB, free: 7.871 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.4381, allocations: 0 / 406.9 MB, free: 7.871 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.4382, allocations: 55.67 kB / 407 MB, free: 7.828 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.4383, allocations: 4 kB / 407 MB, free: 7.824 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.4383, allocations: 0 / 407 MB, free: 7.824 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.4383, allocations: 0 / 407 MB, free: 7.824 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.006e-05/0.4384, allocations: 14.72 kB / 407 MB, free: 7.824 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003324/0.4387, allocations: 287.2 kB / 407.3 MB, free: 7.535 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.4389, allocations: 48.34 kB / 407.3 MB, free: 7.504 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.515e-05/0.439, allocations: 23.66 kB / 407.4 MB, free: 7.488 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.439, allocations: 0 / 407.4 MB, free: 7.488 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001032/0.4391, allocations: 58.86 kB / 407.4 MB, free: 7.434 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.226e-06/0.4391, allocations: 0 / 407.4 MB, free: 7.434 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003822/0.4395, allocations: 110 kB / 407.5 MB, free: 7.375 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.4396, allocations: 51.41 kB / 407.6 MB, free: 7.312 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.4398, allocations: 177.1 kB / 407.7 MB, free: 7.199 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.4398, allocations: 36.98 kB / 407.8 MB, free: 7.164 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.237e-05/0.4399, allocations: 160.9 kB / 407.9 MB, free: 7.016 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.4399, allocations: 14.5 kB / 408 MB, free: 7.008 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.701e-06/0.4399, allocations: 0 / 408 MB, free: 7.008 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.96e-05/0.44, allocations: 326.4 kB / 408.3 MB, free: 6.688 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.825e-05/0.44, allocations: 17.84 kB / 408.3 MB, free: 6.688 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.283e-05/0.4401, allocations: 22.03 kB / 408.3 MB, free: 6.688 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.161e-05/0.4402, allocations: 51.47 kB / 408.4 MB, free: 6.652 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.722e-06/0.4402, allocations: 0 / 408.4 MB, free: 6.652 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002104/0.4404, allocations: 132.1 kB / 408.5 MB, free: 6.574 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/0.4405, allocations: 33.48 kB / 408.5 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.037e-06/0.4405, allocations: 3.812 kB / 408.5 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.4405, allocations: 0 / 408.5 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.153e-05/0.4406, allocations: 11.61 kB / 408.5 MB, free: 6.535 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.623e-06/0.4406, allocations: 0 / 408.5 MB, free: 6.535 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.214e-05/0.4407, allocations: 7.75 kB / 408.5 MB, free: 6.531 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.4407, allocations: 7.766 kB / 408.6 MB, free: 6.527 MB / 314.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 5.532e-05/0.4408, allocations: 108.3 kB / 408.7 MB, free: 6.418 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.4408, allocations: 11.59 kB / 408.7 MB, free: 6.414 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002102/0.441, allocations: 87.89 kB / 408.8 MB, free: 6.371 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.763e-06/0.441, allocations: 3.844 kB / 408.8 MB, free: 6.371 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.494e-06/0.4411, allocations: 0 / 408.8 MB, free: 6.371 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.238e-06/0.4411, allocations: 4.109 kB / 408.8 MB, free: 6.367 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003433/0.4414, allocations: 361.8 kB / 409.1 MB, free: 6.039 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.596e-06/0.4414, allocations: 0 / 409.1 MB, free: 6.039 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.343e-05/0.4415, allocations: 3.719 kB / 409.1 MB, free: 6.039 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.485e-06/0.4415, allocations: 0 / 409.1 MB, free: 6.039 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.4415, allocations: 7.844 kB / 409.1 MB, free: 6.035 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.122e-06/0.4415, allocations: 3.984 kB / 409.1 MB, free: 6.031 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.591e-06/0.4415, allocations: 96 / 409.1 MB, free: 6.031 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.4417, allocations: 183.7 kB / 409.3 MB, free: 5.879 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.999e-05/0.4418, allocations: 88.23 kB / 409.4 MB, free: 5.781 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.4418, allocations: 3.984 kB / 409.4 MB, free: 5.777 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.223e-05/0.4419, allocations: 3.688 kB / 409.4 MB, free: 5.777 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.442, allocations: 11.59 kB / 409.4 MB, free: 5.773 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.975e-06/0.442, allocations: 0 / 409.4 MB, free: 5.773 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001174/0.4421, allocations: 145.9 kB / 409.6 MB, free: 5.688 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.93e-07/0.4421, allocations: 0 / 409.6 MB, free: 5.688 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000366/0.4425, allocations: 38.52 kB / 409.6 MB, free: 5.672 MB / 314.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.001011/0.4435, allocations: 351.7 kB / 409.9 MB, free: 5.461 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002037/0.4438, allocations: 113.4 kB / 410 MB, free: 5.391 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4438, allocations: 3.938 kB / 410.1 MB, free: 5.387 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.487e-05/0.4438, allocations: 17.94 kB / 410.1 MB, free: 5.387 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.4441, allocations: 15.14 kB / 410.1 MB, free: 5.383 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003806/0.4445, allocations: 170.9 kB / 410.3 MB, free: 5.258 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/0.4447, allocations: 0.7077 MB / 411 MB, free: 4.543 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.878e-05/0.4448, allocations: 14.59 kB / 411 MB, free: 4.535 MB / 314.7 MB Notification: Performance of SimCode: time 1.592e-06/0.4448, allocations: 0 / 411 MB, free: 4.535 MB / 314.7 MB Notification: Performance of Templates: time 0.00371/0.4485, allocations: 1.742 MB / 412.7 MB, free: 3.66 MB / 314.7 MB