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.Test38.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.Test38,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.Test38") Notification: Performance of loadModel(ModelicaTest): time 1.8/1.8, allocations: 209.3 MB / 224.8 MB, free: 0.6719 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004425/0.0004426, allocations: 16 kB / 282.6 MB, free: 9.648 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08673/0.0872, allocations: 48.71 MB / 331.3 MB, free: 8.848 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.32/0.4073, allocations: 75.69 MB / 407 MB, free: 9.438 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.4076, allocations: 67.97 kB / 407.1 MB, free: 9.371 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0156/0.4232, allocations: 3.84 MB / 410.9 MB, free: 5.539 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.441e-06/0.4232, allocations: 0 / 410.9 MB, free: 5.539 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.4232, allocations: 4 kB / 410.9 MB, free: 5.535 MB / 330.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.0005397/0.4238, allocations: 428.6 kB / 411.3 MB, free: 5.062 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.4238, allocations: 8.031 kB / 411.3 MB, free: 5.055 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.774e-05/0.4239, allocations: 7.906 kB / 411.3 MB, free: 5.047 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.4242, allocations: 190.9 kB / 411.5 MB, free: 4.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.4242, allocations: 4 kB / 411.5 MB, free: 4.816 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.4242, allocations: 0 / 411.5 MB, free: 4.816 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.4244, allocations: 45.69 kB / 411.6 MB, free: 4.766 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.813e-06/0.4244, allocations: 0 / 411.6 MB, free: 4.766 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.4244, allocations: 0 / 411.6 MB, free: 4.766 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.051e-06/0.4244, allocations: 0 / 411.6 MB, free: 4.766 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.689e-05/0.4245, allocations: 11.98 kB / 411.6 MB, free: 4.754 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002318/0.4247, allocations: 185.6 kB / 411.8 MB, free: 4.523 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.459e-05/0.4248, allocations: 34.5 kB / 411.8 MB, free: 4.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.4249, allocations: 4 kB / 411.8 MB, free: 4.477 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001364/0.425, allocations: 51.47 kB / 411.8 MB, free: 4.414 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.141e-06/0.425, allocations: 0 / 411.8 MB, free: 4.414 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002268/0.4252, allocations: 73.52 kB / 411.9 MB, free: 4.336 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.4253, allocations: 51.41 kB / 412 MB, free: 4.273 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.4255, allocations: 156.9 kB / 412.1 MB, free: 4.113 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.4256, allocations: 29.7 kB / 412.2 MB, free: 4.078 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.163e-05/0.4257, allocations: 162.6 kB / 412.3 MB, free: 3.918 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.4257, allocations: 15.83 kB / 412.3 MB, free: 3.902 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.394e-05/0.4258, allocations: 4 kB / 412.3 MB, free: 3.898 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.4259, allocations: 318.8 kB / 412.6 MB, free: 3.578 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.646e-05/0.426, allocations: 12 kB / 412.7 MB, free: 3.566 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.32e-05/0.4261, allocations: 23.98 kB / 412.7 MB, free: 3.543 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.205e-05/0.4261, allocations: 45.7 kB / 412.7 MB, free: 3.492 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.273e-06/0.4262, allocations: 0 / 412.7 MB, free: 3.492 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002292/0.4264, allocations: 115.2 kB / 412.8 MB, free: 3.367 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.058e-05/0.4265, allocations: 41.7 kB / 412.9 MB, free: 3.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.087e-06/0.4265, allocations: 0 / 412.9 MB, free: 3.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.4265, allocations: 0 / 412.9 MB, free: 3.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.695e-05/0.4266, allocations: 7.984 kB / 412.9 MB, free: 3.312 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.338e-06/0.4266, allocations: 3.938 kB / 412.9 MB, free: 3.309 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.828e-05/0.4267, allocations: 4 kB / 412.9 MB, free: 3.305 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.4267, allocations: 4 kB / 412.9 MB, free: 3.301 MB / 330.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.0001272/0.4268, allocations: 129.7 kB / 413 MB, free: 3.164 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.4269, allocations: 7.906 kB / 413 MB, free: 3.156 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001923/0.4271, allocations: 77.86 kB / 413.1 MB, free: 3.074 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.4271, allocations: 0 / 413.1 MB, free: 3.074 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.4271, allocations: 0 / 413.1 MB, free: 3.074 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.68e-06/0.4271, allocations: 4 kB / 413.1 MB, free: 3.07 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.4273, allocations: 177.7 kB / 413.3 MB, free: 2.848 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.4273, allocations: 4 kB / 413.3 MB, free: 2.844 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.402e-05/0.4274, allocations: 4.234 kB / 413.3 MB, free: 2.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.883e-06/0.4274, allocations: 0 / 413.3 MB, free: 2.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.993e-06/0.4274, allocations: 0 / 413.3 MB, free: 2.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.966e-06/0.4274, allocations: 0 / 413.3 MB, free: 2.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.399e-06/0.4274, allocations: 0 / 413.3 MB, free: 2.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.4276, allocations: 101 kB / 413.4 MB, free: 2.723 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.618e-05/0.4277, allocations: 88.97 kB / 413.5 MB, free: 2.617 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.4277, allocations: 4 kB / 413.5 MB, free: 2.613 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.829e-05/0.4278, allocations: 3.984 kB / 413.5 MB, free: 2.609 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/0.4278, allocations: 4 kB / 413.5 MB, free: 2.605 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.552e-06/0.4279, allocations: 3.938 kB / 413.5 MB, free: 2.602 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001456/0.428, allocations: 127.8 kB / 413.6 MB, free: 2.477 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.2e-07/0.428, allocations: 4 kB / 413.6 MB, free: 2.473 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003072/0.4284, allocations: 35.92 kB / 413.7 MB, free: 2.438 MB / 330.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.00103/0.4294, allocations: 331.8 kB / 414 MB, free: 2.184 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002061/0.4296, allocations: 99.39 kB / 414.1 MB, free: 2.074 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.57e-06/0.4296, allocations: 3.938 kB / 414.1 MB, free: 2.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.324e-05/0.4297, allocations: 15.92 kB / 414.1 MB, free: 2.055 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.4299, allocations: 19.97 kB / 414.1 MB, free: 2.035 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004722/0.4304, allocations: 219.8 kB / 414.3 MB, free: 1.781 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.4308, allocations: 0.6965 MB / 415 MB, free: 1.059 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.308e-05/0.4309, allocations: 15.44 kB / 415 MB, free: 1.043 MB / 330.7 MB Notification: Performance of SimCode: time 1.378e-06/0.4309, allocations: 4 kB / 415 MB, free: 1.039 MB / 330.7 MB Notification: Performance of Templates: time 0.003782/0.4347, allocations: 1.483 MB / 416.5 MB, free: 15.55 MB / 346.7 MB