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/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.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 1.917/1.917, allocations: 209.4 MB / 217.3 MB, free: 4.18 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.133e-05/2.135e-05, allocations: 4 kB / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2598, allocations: 48.69 MB / 320 MB, free: 14.3 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1423/0.4021, allocations: 75.08 MB / 395.1 MB, free: 5.285 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/0.4024, allocations: 67.97 kB / 395.2 MB, free: 5.219 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01584/0.4183, allocations: 3.925 MB / 399.1 MB, free: 1.289 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.978e-06/0.4183, allocations: 0 / 399.1 MB, free: 1.289 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.4183, allocations: 4 kB / 399.1 MB, free: 1.285 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.0005081/0.4189, allocations: 415.9 kB / 399.5 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.4189, allocations: 8.031 kB / 399.5 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.615e-05/0.419, allocations: 11.91 kB / 399.5 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.4193, allocations: 195.5 kB / 399.7 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.785e-06/0.4193, allocations: 0 / 399.7 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.4193, allocations: 4 kB / 399.7 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.388e-05/0.4194, allocations: 15.98 kB / 399.7 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.596e-05/0.4195, allocations: 45.62 kB / 399.8 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.4195, allocations: 3.938 kB / 399.8 MB, free: 0.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.4196, allocations: 4 kB / 399.8 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.711e-06/0.4196, allocations: 3.938 kB / 399.8 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004145/0.42, allocations: 277.4 kB / 400.1 MB, free: 188 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/0.4202, allocations: 38.56 kB / 400.1 MB, free: 140 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.503e-05/0.4203, allocations: 12.86 kB / 400.1 MB, free: 124 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.653e-06/0.4203, allocations: 4 kB / 400.1 MB, free: 120 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001233/0.4204, allocations: 59.42 kB / 400.2 MB, free: 48 kB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.473e-06/0.4205, allocations: 4 kB / 400.2 MB, free: 44 kB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000424/0.4209, allocations: 101.3 kB / 400.3 MB, free: 15.94 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.4209, allocations: 55.41 kB / 400.3 MB, free: 15.87 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.4212, allocations: 170.8 kB / 400.5 MB, free: 15.7 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.4212, allocations: 25.7 kB / 400.5 MB, free: 15.66 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.849e-05/0.4213, allocations: 166.5 kB / 400.7 MB, free: 15.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.4214, allocations: 11.81 kB / 400.7 MB, free: 15.49 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.936e-06/0.4214, allocations: 4 kB / 400.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.4215, allocations: 318.8 kB / 401 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.205e-05/0.4216, allocations: 20 kB / 401 MB, free: 15.14 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.455e-05/0.4217, allocations: 23.98 kB / 401 MB, free: 15.12 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.651e-05/0.4218, allocations: 16 kB / 401.1 MB, free: 15.11 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.157e-06/0.4218, allocations: 4 kB / 401.1 MB, free: 15.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002233/0.422, allocations: 89.61 kB / 401.2 MB, free: 15.01 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.081e-05/0.4221, allocations: 34.48 kB / 401.2 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.567e-06/0.4221, allocations: 0 / 401.2 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.4221, allocations: 0 / 401.2 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.152e-05/0.4222, allocations: 11.98 kB / 401.2 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.45e-06/0.4222, allocations: 4 kB / 401.2 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.407e-05/0.4223, allocations: 12 kB / 401.2 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.4223, allocations: 4 kB / 401.2 MB, free: 14.94 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 9.27e-05/0.4224, allocations: 112.1 kB / 401.3 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.4224, allocations: 11.98 kB / 401.3 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002386/0.4227, allocations: 98.12 kB / 401.4 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.854e-06/0.4227, allocations: 4 kB / 401.4 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.941e-06/0.4227, allocations: 0 / 401.4 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.311e-06/0.4227, allocations: 4 kB / 401.4 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004304/0.4232, allocations: 323.1 kB / 401.8 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.011e-06/0.4232, allocations: 3.938 kB / 401.8 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.699e-05/0.4233, allocations: 8 kB / 401.8 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.4233, allocations: 0 / 401.8 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.4233, allocations: 0 / 401.8 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-06/0.4233, allocations: 0 / 401.8 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.563e-06/0.4233, allocations: 11.92 kB / 401.8 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.4236, allocations: 175.3 kB / 402 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.888e-05/0.4237, allocations: 93.02 kB / 402 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/0.4237, allocations: 3.984 kB / 402 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.016e-05/0.4238, allocations: 0 / 402 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.4238, allocations: 4 kB / 402.1 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.4239, allocations: 4 kB / 402.1 MB, free: 14.01 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001444/0.424, allocations: 131.2 kB / 402.2 MB, free: 13.88 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.56e-07/0.424, allocations: 0 / 402.2 MB, free: 13.88 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003731/0.4244, allocations: 35.94 kB / 402.2 MB, free: 13.85 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.0009508/0.4254, allocations: 316.3 kB / 402.5 MB, free: 13.59 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002082/0.4256, allocations: 103.4 kB / 402.6 MB, free: 13.47 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.601e-06/0.4256, allocations: 0 / 402.6 MB, free: 13.47 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.355e-05/0.4257, allocations: 16 kB / 402.6 MB, free: 13.46 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.426, allocations: 30.08 kB / 402.7 MB, free: 13.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004003/0.4264, allocations: 171.8 kB / 402.8 MB, free: 13.24 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.4268, allocations: 0.7002 MB / 403.5 MB, free: 12.52 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.215e-05/0.4269, allocations: 15.42 kB / 403.6 MB, free: 12.5 MB / 346.7 MB Notification: Performance of SimCode: time 1.424e-06/0.4269, allocations: 7.938 kB / 403.6 MB, free: 12.49 MB / 346.7 MB Notification: Performance of Templates: time 0.004198/0.4311, allocations: 1.73 MB / 405.3 MB, free: 10.76 MB / 346.7 MB