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.Test21.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,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.Test21") Notification: Performance of loadModel(ModelicaTest): time 1.946/1.946, allocations: 209.4 MB / 217.3 MB, free: 4.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.403e-05/2.407e-05, allocations: 8 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3254, allocations: 48.69 MB / 320 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1142/0.4396, allocations: 75.11 MB / 395.1 MB, free: 5.328 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.4399, allocations: 67.95 kB / 395.2 MB, free: 5.262 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01635/0.4563, allocations: 3.98 MB / 399.2 MB, free: 1.281 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.209e-06/0.4563, allocations: 4 kB / 399.2 MB, free: 1.277 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.4563, allocations: 0 / 399.2 MB, free: 1.277 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.0005163/0.4569, allocations: 412 kB / 399.6 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.4569, allocations: 8.031 kB / 399.6 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.695e-05/0.457, allocations: 11.84 kB / 399.6 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.4573, allocations: 198.9 kB / 399.8 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.4573, allocations: 0 / 399.8 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.098e-05/0.4574, allocations: 11.89 kB / 399.8 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.16e-05/0.4574, allocations: 15.98 kB / 399.8 MB, free: 0.543 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.372e-05/0.4575, allocations: 45.62 kB / 399.9 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.4576, allocations: 0 / 399.9 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.4576, allocations: 0 / 399.9 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.213e-06/0.4576, allocations: 7.938 kB / 399.9 MB, free: 496 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004077/0.458, allocations: 265.4 kB / 400.1 MB, free: 192 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.4582, allocations: 42.56 kB / 400.2 MB, free: 140 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.608e-05/0.4583, allocations: 12.95 kB / 400.2 MB, free: 124 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.4583, allocations: 3.984 kB / 400.2 MB, free: 120 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001288/0.4585, allocations: 55.41 kB / 400.2 MB, free: 52 kB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.36e-06/0.4585, allocations: 0 / 400.2 MB, free: 52 kB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004284/0.4589, allocations: 101.3 kB / 400.3 MB, free: 15.95 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.459, allocations: 63.39 kB / 400.4 MB, free: 15.87 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.4592, allocations: 154.3 kB / 400.6 MB, free: 15.71 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.4592, allocations: 25.7 kB / 400.6 MB, free: 15.68 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.4593, allocations: 166.5 kB / 400.7 MB, free: 15.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.4594, allocations: 11.81 kB / 400.8 MB, free: 15.51 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.619e-06/0.4594, allocations: 0 / 400.8 MB, free: 15.51 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.4596, allocations: 322.8 kB / 401.1 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.25e-05/0.4596, allocations: 20 kB / 401.1 MB, free: 15.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.467e-05/0.4597, allocations: 20 kB / 401.1 MB, free: 15.14 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.257e-05/0.4598, allocations: 23.92 kB / 401.1 MB, free: 15.12 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.647e-06/0.4598, allocations: 0 / 401.1 MB, free: 15.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002402/0.46, allocations: 93.58 kB / 401.2 MB, free: 15.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.357e-05/0.4601, allocations: 38.47 kB / 401.3 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.844e-06/0.4601, allocations: 0 / 401.3 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.4601, allocations: 0 / 401.3 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.103e-05/0.4602, allocations: 12 kB / 401.3 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.606e-06/0.4602, allocations: 4 kB / 401.3 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.517e-05/0.4603, allocations: 0 / 401.3 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.4603, allocations: 7.953 kB / 401.3 MB, free: 14.96 MB / 346.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 8.906e-05/0.4604, allocations: 109 kB / 401.4 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.979e-05/0.4605, allocations: 15.83 kB / 401.4 MB, free: 14.83 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002292/0.4607, allocations: 78.08 kB / 401.5 MB, free: 14.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.29e-06/0.4607, allocations: 4.125 kB / 401.5 MB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.04e-06/0.4608, allocations: 8 kB / 401.5 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.283e-06/0.4608, allocations: 0 / 401.5 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000431/0.4612, allocations: 331 kB / 401.8 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.794e-06/0.4612, allocations: 0 / 401.8 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.833e-05/0.4613, allocations: 8 kB / 401.8 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.878e-06/0.4613, allocations: 4 kB / 401.8 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.4613, allocations: 0 / 401.8 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.966e-06/0.4614, allocations: 0 / 401.8 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.352e-06/0.4614, allocations: 0 / 401.8 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.4616, allocations: 175.4 kB / 402 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.331e-05/0.4617, allocations: 89.02 kB / 402.1 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.4617, allocations: 0 / 402.1 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.738e-05/0.4618, allocations: 8.125 kB / 402.1 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.4619, allocations: 7.922 kB / 402.1 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.4619, allocations: 4 kB / 402.1 MB, free: 14.04 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001374/0.4621, allocations: 127.8 kB / 402.2 MB, free: 13.92 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.3e-07/0.4621, allocations: 0 / 402.2 MB, free: 13.92 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003642/0.4624, allocations: 31.94 kB / 402.3 MB, free: 13.89 MB / 346.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.0009304/0.4634, allocations: 324 kB / 402.6 MB, free: 13.62 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002099/0.4636, allocations: 99.41 kB / 402.7 MB, free: 13.51 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.078e-06/0.4636, allocations: 0 / 402.7 MB, free: 13.51 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.357e-05/0.4637, allocations: 23.94 kB / 402.7 MB, free: 13.49 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.464, allocations: 17.41 kB / 402.7 MB, free: 13.47 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003824/0.4644, allocations: 154.7 kB / 402.9 MB, free: 13.29 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.4648, allocations: 0.7041 MB / 403.6 MB, free: 12.56 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.864e-05/0.4648, allocations: 19.38 kB / 403.6 MB, free: 12.54 MB / 346.7 MB Notification: Performance of SimCode: time 1.467e-06/0.4649, allocations: 4 kB / 403.6 MB, free: 12.54 MB / 346.7 MB Notification: Performance of Templates: time 0.004397/0.4693, allocations: 1.702 MB / 405.3 MB, free: 10.84 MB / 346.7 MB