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.Test17.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.Test17,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.Test17") Notification: Performance of loadModel(ModelicaTest): time 1.923/1.923, allocations: 209.3 MB / 222.4 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.989e-05/4.016e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08881/0.08888, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3409/0.4299, allocations: 75.78 MB / 402.3 MB, free: 10.04 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/0.4301, allocations: 75.64 kB / 402.4 MB, free: 10.03 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01533/0.4455, allocations: 3.956 MB / 406.4 MB, free: 8.512 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.078e-06/0.4455, allocations: 4 kB / 406.4 MB, free: 8.508 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.4455, allocations: 0 / 406.4 MB, free: 8.508 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.0003869/0.4459, allocations: 414.1 kB / 406.8 MB, free: 8.082 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.446, allocations: 7.844 kB / 406.8 MB, free: 8.082 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.796e-05/0.4461, allocations: 7.75 kB / 406.8 MB, free: 8.078 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.4463, allocations: 197.3 kB / 407 MB, free: 7.867 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.4463, allocations: 0 / 407 MB, free: 7.867 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/0.4464, allocations: 11.14 kB / 407 MB, free: 7.863 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.4465, allocations: 44.88 kB / 407 MB, free: 7.824 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.4465, allocations: 0 / 407 MB, free: 7.824 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.4465, allocations: 3.984 kB / 407 MB, free: 7.82 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.544e-06/0.4465, allocations: 3.844 kB / 407 MB, free: 7.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.72e-05/0.4466, allocations: 15.12 kB / 407 MB, free: 7.816 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.447, allocations: 293.6 kB / 407.3 MB, free: 7.523 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.4472, allocations: 40.84 kB / 407.4 MB, free: 7.496 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.48e-05/0.4472, allocations: 16.39 kB / 407.4 MB, free: 7.484 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.4473, allocations: 0 / 407.4 MB, free: 7.484 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001145/0.4474, allocations: 58.56 kB / 407.4 MB, free: 7.43 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.413e-06/0.4474, allocations: 0 / 407.4 MB, free: 7.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004033/0.4478, allocations: 109.6 kB / 407.6 MB, free: 7.375 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/0.4479, allocations: 51.41 kB / 407.6 MB, free: 7.312 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.448, allocations: 155.2 kB / 407.8 MB, free: 7.199 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.4481, allocations: 32.64 kB / 407.8 MB, free: 7.164 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.17e-05/0.4481, allocations: 160 kB / 407.9 MB, free: 7.016 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.4482, allocations: 14.41 kB / 408 MB, free: 7.008 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.441e-06/0.4482, allocations: 3.938 kB / 408 MB, free: 7.004 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.791e-05/0.4482, allocations: 314.8 kB / 408.3 MB, free: 6.688 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.271e-05/0.4483, allocations: 23.56 kB / 408.3 MB, free: 6.688 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.136e-05/0.4484, allocations: 18.59 kB / 408.3 MB, free: 6.688 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.912e-05/0.4485, allocations: 54.03 kB / 408.4 MB, free: 6.652 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.116e-06/0.4485, allocations: 3.938 kB / 408.4 MB, free: 6.648 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00023/0.4487, allocations: 128.6 kB / 408.5 MB, free: 6.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.28e-05/0.4488, allocations: 33.52 kB / 408.5 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.304e-06/0.4488, allocations: 0 / 408.5 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.4488, allocations: 0 / 408.5 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.669e-05/0.4489, allocations: 7.906 kB / 408.5 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.271e-06/0.4489, allocations: 7.938 kB / 408.5 MB, free: 6.531 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.482e-05/0.449, allocations: 7.281 kB / 408.5 MB, free: 6.531 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.449, allocations: 7.969 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.88e-05/0.4491, allocations: 108 kB / 408.7 MB, free: 6.422 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.4491, allocations: 11.75 kB / 408.7 MB, free: 6.414 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/0.4493, allocations: 88.61 kB / 408.8 MB, free: 6.371 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.666e-06/0.4494, allocations: 0 / 408.8 MB, free: 6.371 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.042e-06/0.4494, allocations: 3.906 kB / 408.8 MB, free: 6.371 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.664e-06/0.4494, allocations: 3.953 kB / 408.8 MB, free: 6.367 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003453/0.4497, allocations: 347.3 kB / 409.1 MB, free: 6.047 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.4498, allocations: 0 / 409.1 MB, free: 6.047 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.847e-05/0.4498, allocations: 15.73 kB / 409.1 MB, free: 6.039 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.336e-06/0.4498, allocations: 4 kB / 409.1 MB, free: 6.035 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.4499, allocations: 0 / 409.1 MB, free: 6.035 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.876e-06/0.4499, allocations: 7.922 kB / 409.1 MB, free: 6.031 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.066e-06/0.4499, allocations: 3.938 kB / 409.1 MB, free: 6.027 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.4501, allocations: 170.1 kB / 409.3 MB, free: 5.887 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.822e-05/0.4501, allocations: 95.39 kB / 409.4 MB, free: 5.781 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.4502, allocations: 0 / 409.4 MB, free: 5.781 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.4503, allocations: 3.969 kB / 409.4 MB, free: 5.781 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.4503, allocations: 15.78 kB / 409.4 MB, free: 5.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.4504, allocations: 3.062 kB / 409.4 MB, free: 5.77 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.664e-05/0.4505, allocations: 118.2 kB / 409.5 MB, free: 5.691 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.73e-07/0.4505, allocations: 0 / 409.5 MB, free: 5.691 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003665/0.4509, allocations: 34.94 kB / 409.6 MB, free: 5.684 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.001005/0.4519, allocations: 355.5 kB / 409.9 MB, free: 5.457 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001938/0.4521, allocations: 114.8 kB / 410 MB, free: 5.391 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.177e-06/0.4521, allocations: 0 / 410 MB, free: 5.391 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.124e-05/0.4522, allocations: 22.81 kB / 410 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.0002723/0.4525, allocations: 14.45 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.0003401/0.4528, allocations: 141.3 kB / 410.2 MB, free: 5.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001386/0.453, allocations: 0.7036 MB / 410.9 MB, free: 4.559 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.118e-05/0.453, allocations: 19.2 kB / 410.9 MB, free: 4.547 MB / 314.7 MB Notification: Performance of SimCode: time 1.488e-06/0.4531, allocations: 0 / 410.9 MB, free: 4.547 MB / 314.7 MB Notification: Performance of Templates: time 0.003649/0.4567, allocations: 1.668 MB / 412.6 MB, free: 3.711 MB / 314.7 MB