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.Test20.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.Test20,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.Test20") Notification: Performance of loadModel(ModelicaTest): time 1.953/1.953, allocations: 209.2 MB / 224.8 MB, free: 0.5273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004429/0.000443, allocations: 12 kB / 282.6 MB, free: 9.625 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2875, allocations: 48.7 MB / 331.3 MB, free: 6.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1145/0.4021, allocations: 75.84 MB / 407.1 MB, free: 2.574 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/0.4024, allocations: 75.95 kB / 407.2 MB, free: 2.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01658/0.419, allocations: 3.918 MB / 411.1 MB, free: 14.58 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.591e-06/0.4191, allocations: 0 / 411.1 MB, free: 14.58 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.279e-05/0.4191, allocations: 8 kB / 411.1 MB, free: 14.57 MB / 346.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.0005893/0.4197, allocations: 424.7 kB / 411.5 MB, free: 14.11 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.4198, allocations: 8.031 kB / 411.5 MB, free: 14.1 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.709e-05/0.4198, allocations: 11.91 kB / 411.6 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.4201, allocations: 194.9 kB / 411.8 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.4201, allocations: 0 / 411.8 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.4202, allocations: 4 kB / 411.8 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.4203, allocations: 45.67 kB / 411.8 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.4203, allocations: 3.938 kB / 411.8 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.4204, allocations: 4 kB / 411.8 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.513e-06/0.4204, allocations: 4 kB / 411.8 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.343e-05/0.4205, allocations: 15.98 kB / 411.8 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000456/0.4209, allocations: 288.9 kB / 412.1 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.4212, allocations: 42.56 kB / 412.1 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.4212, allocations: 8.078 kB / 412.2 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001386/0.4213, allocations: 63.33 kB / 412.2 MB, free: 13.31 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.359e-06/0.4214, allocations: 0 / 412.2 MB, free: 13.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004711/0.4218, allocations: 121.2 kB / 412.3 MB, free: 13.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.4219, allocations: 59.36 kB / 412.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000213/0.4221, allocations: 157.4 kB / 412.5 MB, free: 12.95 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.4222, allocations: 29.7 kB / 412.6 MB, free: 12.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.828e-05/0.4223, allocations: 158.6 kB / 412.7 MB, free: 12.76 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.4223, allocations: 23.8 kB / 412.8 MB, free: 12.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.077e-06/0.4224, allocations: 3.938 kB / 412.8 MB, free: 12.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.4225, allocations: 314.8 kB / 413.1 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.663e-05/0.4226, allocations: 23.92 kB / 413.1 MB, free: 12.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.818e-05/0.4227, allocations: 20 kB / 413.1 MB, free: 12.37 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.4228, allocations: 57.69 kB / 413.2 MB, free: 12.31 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-06/0.4228, allocations: 0 / 413.2 MB, free: 12.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002569/0.4231, allocations: 123.3 kB / 413.3 MB, free: 12.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.543e-05/0.4231, allocations: 33.69 kB / 413.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.258e-06/0.4232, allocations: 64 / 413.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.4232, allocations: 12 kB / 413.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.492e-05/0.4233, allocations: 8 kB / 413.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.624e-06/0.4233, allocations: 0 / 413.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.6e-05/0.4234, allocations: 7.953 kB / 413.3 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.4234, allocations: 7.984 kB / 413.4 MB, free: 12.1 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 () * Number of clocked 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 0.0001485/0.4235, allocations: 121.8 kB / 413.5 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.4236, allocations: 7.906 kB / 413.5 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/0.4239, allocations: 93.98 kB / 413.6 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.374e-06/0.4239, allocations: 0 / 413.6 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.315e-06/0.4239, allocations: 3.984 kB / 413.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.091e-06/0.4239, allocations: 0 / 413.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005087/0.4244, allocations: 358.4 kB / 413.9 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.049e-06/0.4245, allocations: 4 kB / 413.9 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.147e-05/0.4245, allocations: 4 kB / 413.9 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.046e-06/0.4245, allocations: 0 / 413.9 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.4245, allocations: 4 kB / 413.9 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.877e-06/0.4246, allocations: 0 / 413.9 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.101e-06/0.4246, allocations: 7.953 kB / 413.9 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.4248, allocations: 179.4 kB / 414.1 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.355e-05/0.4249, allocations: 92.89 kB / 414.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.425, allocations: 4 kB / 414.2 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.4251, allocations: 7.984 kB / 414.2 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.4251, allocations: 3.953 kB / 414.2 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.4252, allocations: 4.188 kB / 414.2 MB, free: 11.12 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001598/0.4253, allocations: 139.2 kB / 414.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.85e-07/0.4253, allocations: 0 / 414.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003904/0.4257, allocations: 28 kB / 414.4 MB, free: 10.96 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) * Number of clocked states: 0 () * 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.001202/0.427, allocations: 375.3 kB / 414.8 MB, free: 10.66 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002583/0.4272, allocations: 115.4 kB / 414.9 MB, free: 10.54 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.851e-06/0.4273, allocations: 0 / 414.9 MB, free: 10.54 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.046e-05/0.4273, allocations: 27.92 kB / 414.9 MB, free: 10.51 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.4277, allocations: 8 kB / 414.9 MB, free: 10.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005422/0.4282, allocations: 235.3 kB / 415.1 MB, free: 10.23 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.4286, allocations: 0.7004 MB / 415.8 MB, free: 9.508 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.235e-05/0.4287, allocations: 15.44 kB / 415.9 MB, free: 9.492 MB / 346.7 MB Notification: Performance of SimCode: time 1.503e-06/0.4287, allocations: 0 / 415.9 MB, free: 9.492 MB / 346.7 MB Notification: Performance of Templates: time 0.004376/0.4331, allocations: 1.701 MB / 417.6 MB, free: 7.801 MB / 346.7 MB