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.Test37.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.Test37,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.Test37") Notification: Performance of loadModel(ModelicaTest): time 1.945/1.945, allocations: 209.3 MB / 224.9 MB, free: 192 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004358/0.000436, allocations: 12 kB / 282.6 MB, free: 9.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.279, allocations: 48.7 MB / 331.3 MB, free: 6.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1126/0.3916, allocations: 75.7 MB / 407 MB, free: 2.711 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.3919, allocations: 67.97 kB / 407.1 MB, free: 2.645 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01586/0.4078, allocations: 3.836 MB / 410.9 MB, free: 14.81 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.258e-06/0.4078, allocations: 0 / 410.9 MB, free: 14.81 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.925e-05/0.4078, allocations: 4 kB / 410.9 MB, free: 14.8 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.0005494/0.4084, allocations: 424.7 kB / 411.3 MB, free: 14.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.4084, allocations: 8.031 kB / 411.3 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.638e-05/0.4085, allocations: 7.906 kB / 411.3 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.4088, allocations: 194.9 kB / 411.5 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.4088, allocations: 0 / 411.5 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.4088, allocations: 7.938 kB / 411.5 MB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.409, allocations: 41.69 kB / 411.6 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.651e-06/0.409, allocations: 0 / 411.6 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.962e-06/0.409, allocations: 0 / 411.6 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.196e-06/0.409, allocations: 4 kB / 411.6 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.746e-05/0.4091, allocations: 7.984 kB / 411.6 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002422/0.4093, allocations: 185.6 kB / 411.8 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.708e-05/0.4094, allocations: 30.56 kB / 411.8 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.4095, allocations: 3.938 kB / 411.8 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000131/0.4096, allocations: 55.45 kB / 411.8 MB, free: 13.68 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 2.258e-06/0.4096, allocations: 4 kB / 411.8 MB, free: 13.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.000232/0.4099, allocations: 65.59 kB / 411.9 MB, free: 13.61 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.4099, allocations: 51.41 kB / 412 MB, free: 13.55 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.4102, allocations: 157.5 kB / 412.1 MB, free: 13.38 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.4102, allocations: 29.7 kB / 412.1 MB, free: 13.35 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.6e-05/0.4103, allocations: 162.5 kB / 412.3 MB, free: 13.19 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.4104, allocations: 11.83 kB / 412.3 MB, free: 13.18 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-06/0.4104, allocations: 4 kB / 412.3 MB, free: 13.17 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.4105, allocations: 322.8 kB / 412.6 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.064e-05/0.4106, allocations: 15.98 kB / 412.6 MB, free: 12.83 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.812e-05/0.4107, allocations: 19.94 kB / 412.7 MB, free: 12.81 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.217e-05/0.4108, allocations: 53.69 kB / 412.7 MB, free: 12.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.92e-06/0.4108, allocations: 0 / 412.7 MB, free: 12.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002265/0.411, allocations: 115.3 kB / 412.8 MB, free: 12.63 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.473e-05/0.4111, allocations: 34.62 kB / 412.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.694e-06/0.4111, allocations: 4 kB / 412.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.4111, allocations: 0 / 412.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.904e-05/0.4112, allocations: 4 kB / 412.9 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.4112, allocations: 7.938 kB / 412.9 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.187e-05/0.4113, allocations: 7.938 kB / 412.9 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.4113, allocations: 8 kB / 412.9 MB, free: 12.56 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.0001282/0.4115, allocations: 125.8 kB / 413 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.4115, allocations: 7.906 kB / 413 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001916/0.4117, allocations: 65.92 kB / 413.1 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.344e-06/0.4117, allocations: 0 / 413.1 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.337e-06/0.4117, allocations: 0 / 413.1 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.472e-06/0.4118, allocations: 4 kB / 413.1 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.412, allocations: 185.6 kB / 413.3 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.279e-06/0.412, allocations: 240 / 413.3 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.774e-05/0.412, allocations: 8.125 kB / 413.3 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.315e-06/0.4121, allocations: 0 / 413.3 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.4121, allocations: 0 / 413.3 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.301e-06/0.4121, allocations: 3.938 kB / 413.3 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.948e-06/0.4121, allocations: 7.969 kB / 413.3 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.4123, allocations: 85.03 kB / 413.4 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.785e-05/0.4124, allocations: 92.97 kB / 413.5 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/0.4124, allocations: 11.98 kB / 413.5 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.53e-05/0.4125, allocations: 0 / 413.5 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.018e-05/0.4125, allocations: 4 kB / 413.5 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.82e-06/0.4125, allocations: 0 / 413.5 MB, free: 11.87 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001525/0.4127, allocations: 134.8 kB / 413.6 MB, free: 11.74 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.42e-07/0.4127, allocations: 0 / 413.6 MB, free: 11.74 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003086/0.413, allocations: 27.94 kB / 413.6 MB, free: 11.71 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.001034/0.4141, allocations: 335 kB / 414 MB, free: 11.46 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002245/0.4143, allocations: 103.3 kB / 414.1 MB, free: 11.34 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.656e-06/0.4143, allocations: 3.938 kB / 414.1 MB, free: 11.34 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.006e-05/0.4144, allocations: 12 kB / 414.1 MB, free: 11.33 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.4146, 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.0005079/0.4152, allocations: 219.8 kB / 414.3 MB, free: 11.06 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.4156, allocations: 0.6965 MB / 415 MB, free: 10.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.938e-05/0.4156, allocations: 11.44 kB / 415 MB, free: 10.32 MB / 346.7 MB Notification: Performance of SimCode: time 1.439e-06/0.4156, allocations: 3.938 kB / 415 MB, free: 10.32 MB / 346.7 MB Notification: Performance of Templates: time 0.003885/0.4195, allocations: 1.499 MB / 416.5 MB, free: 8.82 MB / 346.7 MB