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.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadModel(ModelicaTest): time 2.007/2.007, allocations: 209.3 MB / 224.9 MB, free: 192 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004355/0.0004355, allocations: 12 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2835, allocations: 48.71 MB / 331.3 MB, free: 6.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1132/0.3968, allocations: 75.71 MB / 407 MB, free: 2.73 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/0.3971, allocations: 71.95 kB / 407.1 MB, free: 2.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01837/0.4155, allocations: 3.839 MB / 410.9 MB, free: 14.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.448e-06/0.4155, allocations: 0 / 410.9 MB, free: 14.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.4155, allocations: 4 kB / 410.9 MB, free: 14.82 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005598/0.4161, allocations: 424.7 kB / 411.3 MB, free: 14.35 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.4162, allocations: 11.97 kB / 411.3 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.981e-05/0.4162, allocations: 11.89 kB / 411.3 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.4165, allocations: 190.9 kB / 411.5 MB, free: 14.1 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.4166, allocations: 4 kB / 411.5 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.4166, allocations: 0 / 411.5 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.4167, allocations: 41.69 kB / 411.6 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.4167, allocations: 3.984 kB / 411.6 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.4167, allocations: 0 / 411.6 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.205e-06/0.4168, allocations: 4 kB / 411.6 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.496e-05/0.4168, allocations: 11.98 kB / 411.6 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002424/0.4171, allocations: 181.6 kB / 411.8 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.522e-05/0.4172, allocations: 30.52 kB / 411.8 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.4172, allocations: 0 / 411.8 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001373/0.4173, allocations: 55.45 kB / 411.9 MB, free: 13.7 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 2.228e-06/0.4174, allocations: 4 kB / 411.9 MB, free: 13.69 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002408/0.4176, allocations: 73.52 kB / 411.9 MB, free: 13.61 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.4177, allocations: 55.41 kB / 412 MB, free: 13.55 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.4179, allocations: 153.5 kB / 412.1 MB, free: 13.39 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.418, allocations: 29.7 kB / 412.2 MB, free: 13.35 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.586e-05/0.4181, allocations: 158.6 kB / 412.3 MB, free: 13.2 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.4181, allocations: 11.84 kB / 412.3 MB, free: 13.18 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.277e-06/0.4181, allocations: 0 / 412.3 MB, free: 13.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.4183, allocations: 322.8 kB / 412.6 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.884e-05/0.4184, allocations: 15.98 kB / 412.7 MB, free: 12.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.419e-05/0.4184, allocations: 23.98 kB / 412.7 MB, free: 12.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.873e-05/0.4185, allocations: 53.62 kB / 412.7 MB, free: 12.76 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4186, allocations: 0 / 412.7 MB, free: 12.76 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002295/0.4188, allocations: 115.2 kB / 412.8 MB, free: 12.64 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.533e-05/0.4188, allocations: 34.64 kB / 412.9 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.015e-06/0.4189, allocations: 80 / 412.9 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.4189, allocations: 0 / 412.9 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.204e-05/0.419, allocations: 4 kB / 412.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.419, allocations: 7.984 kB / 412.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.877e-05/0.4191, allocations: 15.92 kB / 412.9 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.4191, allocations: 4 kB / 412.9 MB, free: 12.57 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 (5): * Single equations (assignments): 4 * 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.0001275/0.4192, allocations: 121.8 kB / 413 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.4193, allocations: 7.906 kB / 413 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001899/0.4195, allocations: 69.86 kB / 413.1 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.103e-06/0.4195, allocations: 0 / 413.1 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.668e-06/0.4195, allocations: 3.984 kB / 413.1 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.64e-06/0.4195, allocations: 4 kB / 413.1 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.4197, allocations: 185.6 kB / 413.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.017e-06/0.4198, allocations: 0 / 413.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.74e-05/0.4198, allocations: 8.125 kB / 413.3 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.059e-06/0.4198, allocations: 0 / 413.3 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.901e-06/0.4198, allocations: 0 / 413.3 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.212e-06/0.4198, allocations: 0 / 413.3 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.4199, allocations: 0 / 413.3 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.42, allocations: 89.02 kB / 413.4 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.952e-05/0.4201, allocations: 97.25 kB / 413.5 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.4202, allocations: 4 kB / 413.5 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.508e-05/0.4202, allocations: 0 / 413.5 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.4203, allocations: 11.97 kB / 413.5 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.4203, allocations: 0 / 413.5 MB, free: 11.88 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001584/0.4205, allocations: 134.6 kB / 413.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.22e-07/0.4205, allocations: 0 / 413.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003499/0.4208, allocations: 27.94 kB / 413.7 MB, free: 11.72 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 (4): * Single equations (assignments): 3 * 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.001058/0.4219, allocations: 346.9 kB / 414 MB, free: 11.45 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002199/0.4222, allocations: 95.39 kB / 414.1 MB, free: 11.35 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.502e-06/0.4222, allocations: 0 / 414.1 MB, free: 11.35 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.271e-05/0.4222, allocations: 23.86 kB / 414.1 MB, free: 11.32 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.4225, allocations: 15.98 kB / 414.1 MB, free: 11.31 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004894/0.423, allocations: 219.8 kB / 414.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.4234, allocations: 0.6965 MB / 415 MB, free: 10.33 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.612e-05/0.4235, allocations: 11.44 kB / 415.1 MB, free: 10.32 MB / 346.7 MB Notification: Performance of SimCode: time 1.428e-06/0.4235, allocations: 0 / 415.1 MB, free: 10.32 MB / 346.7 MB Notification: Performance of Templates: time 0.003895/0.4274, allocations: 1.495 MB / 416.5 MB, free: 8.824 MB / 346.7 MB