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.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadModel(ModelicaTest): time 1.824/1.824, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000435/0.0004352, allocations: 12 kB / 282.6 MB, free: 9.578 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.281, allocations: 48.7 MB / 331.3 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1135/0.3945, allocations: 76.63 MB / 407.9 MB, free: 1.777 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/0.3947, allocations: 63.97 kB / 408 MB, free: 1.715 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01297/0.4077, allocations: 3.236 MB / 411.2 MB, free: 14.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.74e-06/0.4078, allocations: 0 / 411.2 MB, free: 14.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.52e-05/0.4078, allocations: 7.875 kB / 411.2 MB, free: 14.47 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.0006634/0.4085, allocations: 482.2 kB / 411.7 MB, free: 13.94 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.4085, allocations: 8.031 kB / 411.7 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.001e-05/0.4086, allocations: 11.91 kB / 411.7 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.4089, allocations: 214.8 kB / 411.9 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.409, allocations: 0 / 411.9 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.351e-05/0.409, allocations: 12 kB / 411.9 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.4092, allocations: 69.61 kB / 412 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.063e-06/0.4093, allocations: 0 / 412 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.4093, allocations: 4 kB / 412 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.4093, allocations: 4 kB / 412 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.4095, allocations: 39.97 kB / 412 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006388/0.4101, allocations: 360.6 kB / 412.4 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002997/0.4104, allocations: 66.67 kB / 412.5 MB, free: 13.06 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.4105, allocations: 0 / 412.5 MB, free: 13.06 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002057/0.4107, allocations: 75.52 kB / 412.5 MB, free: 12.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.318e-06/0.4107, allocations: 0 / 412.5 MB, free: 12.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004323/0.4112, allocations: 125.5 kB / 412.7 MB, free: 12.85 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.4112, allocations: 63.36 kB / 412.7 MB, free: 12.77 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.4114, allocations: 149.2 kB / 412.9 MB, free: 12.62 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.4115, allocations: 29.7 kB / 412.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.4116, allocations: 162.6 kB / 413.1 MB, free: 12.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.304e-05/0.4117, allocations: 27.66 kB / 413.1 MB, free: 12.4 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.022e-05/0.4117, allocations: 112 / 413.1 MB, free: 12.4 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.4118, allocations: 326.8 kB / 413.4 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.412, allocations: 27.98 kB / 413.4 MB, free: 12.04 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.4121, allocations: 49.69 kB / 413.5 MB, free: 11.99 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.4123, allocations: 75.31 kB / 413.5 MB, free: 11.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.687e-06/0.4123, allocations: 0 / 413.5 MB, free: 11.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003841/0.4127, allocations: 147.3 kB / 413.7 MB, free: 11.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.801e-05/0.4128, allocations: 38.31 kB / 413.7 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.812e-06/0.4128, allocations: 0 / 413.7 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.4128, allocations: 3.938 kB / 413.7 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.4129, allocations: 12 kB / 413.7 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.4129, allocations: 12.02 kB / 413.8 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.95e-05/0.413, allocations: 11.95 kB / 413.8 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.4131, allocations: 4 kB / 413.8 MB, free: 11.67 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.0001326/0.4132, allocations: 117.8 kB / 413.9 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/0.4133, allocations: 11.81 kB / 413.9 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003387/0.4136, allocations: 118.8 kB / 414 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.635e-06/0.4136, allocations: 11.94 kB / 414 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.267e-06/0.4136, allocations: 3.938 kB / 414 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.04e-06/0.4137, allocations: 0 / 414 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.4139, allocations: 205.5 kB / 414.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.84e-06/0.4139, allocations: 4 kB / 414.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.414, allocations: 15.98 kB / 414.3 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.4141, allocations: 0 / 414.3 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.4141, allocations: 0 / 414.3 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.872e-06/0.4141, allocations: 4.078 kB / 414.3 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.381e-06/0.4141, allocations: 3.984 kB / 414.3 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004323/0.4146, allocations: 172.9 kB / 414.4 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.856e-05/0.4147, allocations: 92.94 kB / 414.5 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.4147, allocations: 0 / 414.5 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.108e-05/0.4148, allocations: 15.98 kB / 414.5 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.4148, allocations: 8.047 kB / 414.5 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.4149, allocations: 4 kB / 414.5 MB, free: 10.79 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000139/0.415, allocations: 122.5 kB / 414.7 MB, free: 10.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.62e-07/0.415, allocations: 0 / 414.7 MB, free: 10.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000328/0.4154, allocations: 35.94 kB / 414.7 MB, free: 10.64 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.001025/0.4164, allocations: 332.6 kB / 415 MB, free: 10.39 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003521/0.4168, allocations: 139.3 kB / 415.2 MB, free: 10.24 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.238e-06/0.4168, allocations: 0 / 415.2 MB, free: 10.24 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.4169, allocations: 31.98 kB / 415.2 MB, free: 10.21 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.4172, allocations: 26.5 kB / 415.2 MB, free: 10.18 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006357/0.4179, allocations: 295.4 kB / 415.5 MB, free: 9.859 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.4183, allocations: 0.7082 MB / 416.2 MB, free: 9.125 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.128e-05/0.4183, allocations: 15.44 kB / 416.2 MB, free: 9.109 MB / 346.7 MB Notification: Performance of SimCode: time 1.498e-06/0.4183, allocations: 4 kB / 416.2 MB, free: 9.105 MB / 346.7 MB Notification: Performance of Templates: time 0.004535/0.4229, allocations: 1.863 MB / 418.1 MB, free: 7.242 MB / 346.7 MB