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.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadModel(ModelicaTest): time 1.926/1.926, allocations: 209.3 MB / 224.9 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004447/0.0004448, allocations: 20 kB / 282.6 MB, free: 9.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2838, allocations: 48.7 MB / 331.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1154/0.3992, allocations: 76.61 MB / 407.9 MB, free: 1.816 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/0.3995, allocations: 71.95 kB / 408 MB, free: 1.746 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01312/0.4127, allocations: 3.2 MB / 411.2 MB, free: 14.54 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.669e-06/0.4127, allocations: 0 / 411.2 MB, free: 14.54 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.065e-05/0.4128, allocations: 7.828 kB / 411.2 MB, free: 14.54 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006681/0.4134, allocations: 482.2 kB / 411.7 MB, free: 14.01 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.4135, allocations: 8.031 kB / 411.7 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.994e-05/0.4136, allocations: 11.91 kB / 411.7 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.4139, allocations: 206.8 kB / 411.9 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.4139, allocations: 8 kB / 411.9 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/0.414, allocations: 8 kB / 411.9 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.4142, allocations: 81.53 kB / 412 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.129e-06/0.4142, allocations: 0 / 412 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.4142, allocations: 0 / 412 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.729e-06/0.4143, allocations: 4 kB / 412 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.4145, allocations: 43.95 kB / 412 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006563/0.4151, allocations: 348.7 kB / 412.4 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003096/0.4155, allocations: 78.61 kB / 412.4 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.4155, allocations: 0 / 412.4 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002053/0.4157, allocations: 75.5 kB / 412.5 MB, free: 13.04 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.435e-06/0.4157, allocations: 0 / 412.5 MB, free: 13.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004339/0.4162, allocations: 121.5 kB / 412.6 MB, free: 12.91 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.4163, allocations: 63.34 kB / 412.7 MB, free: 12.84 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.4165, allocations: 153.2 kB / 412.8 MB, free: 12.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.4165, allocations: 29.7 kB / 412.9 MB, free: 12.64 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.4166, allocations: 166.5 kB / 413 MB, free: 12.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.96e-05/0.4167, allocations: 23.66 kB / 413.1 MB, free: 12.46 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.043e-05/0.4167, allocations: 112 / 413.1 MB, free: 12.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.4169, allocations: 318.8 kB / 413.4 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.417, allocations: 39.98 kB / 413.4 MB, free: 12.1 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.4172, allocations: 41.7 kB / 413.4 MB, free: 12.05 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.4173, allocations: 75.41 kB / 413.5 MB, free: 11.97 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4173, allocations: 3.938 kB / 413.5 MB, free: 11.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003884/0.4177, allocations: 155.3 kB / 413.7 MB, free: 11.8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.514e-05/0.4178, allocations: 30.64 kB / 413.7 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.4178, allocations: 11.98 kB / 413.7 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.4179, allocations: 0 / 413.7 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.418, allocations: 15.94 kB / 413.7 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.88e-06/0.418, allocations: 0 / 413.7 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.064e-05/0.4181, allocations: 19.94 kB / 413.7 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.4181, allocations: 4 kB / 413.8 MB, free: 11.72 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 9 * 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.0001407/0.4183, allocations: 121.8 kB / 413.9 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-05/0.4183, allocations: 11.81 kB / 413.9 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003424/0.4187, allocations: 118.3 kB / 414 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.4187, allocations: 3.938 kB / 414 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4187, allocations: 0 / 414 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.199e-06/0.4187, allocations: 4 kB / 414 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.419, allocations: 201.6 kB / 414.2 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.026e-06/0.419, allocations: 0 / 414.2 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.4191, allocations: 19.98 kB / 414.2 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.332e-06/0.4192, allocations: 0 / 414.2 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.4192, allocations: 0 / 414.2 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.37e-06/0.4192, allocations: 0 / 414.2 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.867e-06/0.4192, allocations: 0 / 414.2 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004491/0.4197, allocations: 181.2 kB / 414.4 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.202e-05/0.4198, allocations: 92.89 kB / 414.5 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.4198, allocations: 0 / 414.5 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.01e-05/0.4199, allocations: 7.984 kB / 414.5 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.4199, allocations: 8 kB / 414.5 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.42, allocations: 4 kB / 414.5 MB, free: 10.86 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001461/0.4201, allocations: 126.5 kB / 414.6 MB, free: 10.74 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.23e-07/0.4201, allocations: 0 / 414.6 MB, free: 10.74 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003469/0.4205, allocations: 36 kB / 414.7 MB, free: 10.7 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (8): * Single equations (assignments): 7 * 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.001055/0.4216, allocations: 324.7 kB / 415 MB, free: 10.45 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003973/0.422, allocations: 143.3 kB / 415.1 MB, free: 10.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.9e-06/0.422, allocations: 0 / 415.1 MB, free: 10.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.4221, allocations: 27.98 kB / 415.2 MB, free: 10.27 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.4224, allocations: 31.61 kB / 415.2 MB, free: 10.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006778/0.4231, allocations: 291.3 kB / 415.5 MB, free: 9.926 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.4236, allocations: 0.716 MB / 416.2 MB, free: 9.184 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.486e-05/0.4236, allocations: 15.44 kB / 416.2 MB, free: 9.168 MB / 346.7 MB Notification: Performance of SimCode: time 1.383e-06/0.4236, allocations: 0 / 416.2 MB, free: 9.168 MB / 346.7 MB Notification: Performance of Templates: time 0.004778/0.4284, allocations: 1.869 MB / 418.1 MB, free: 7.301 MB / 346.7 MB