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.Test32.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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadModel(ModelicaTest): time 2.05/2.05, allocations: 209.3 MB / 224.8 MB, free: 204 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004353/0.0004354, allocations: 16 kB / 282.6 MB, free: 9.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2882, allocations: 48.7 MB / 331.3 MB, free: 6.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1143/0.4026, allocations: 75.83 MB / 407.1 MB, free: 2.633 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.4029, allocations: 71.95 kB / 407.2 MB, free: 2.562 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01724/0.4202, allocations: 3.936 MB / 411.1 MB, free: 14.63 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.674e-06/0.4202, allocations: 0 / 411.1 MB, free: 14.63 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.4202, allocations: 0 / 411.1 MB, free: 14.63 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005893/0.4208, allocations: 432.6 kB / 411.5 MB, free: 14.15 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.4209, allocations: 8.031 kB / 411.5 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.105e-05/0.4209, allocations: 7.906 kB / 411.6 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/0.4212, allocations: 198.8 kB / 411.8 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.851e-05/0.4213, allocations: 8 kB / 411.8 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.4213, allocations: 4 kB / 411.8 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.4215, allocations: 45.67 kB / 411.8 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.4215, allocations: 0 / 411.8 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.4215, allocations: 0 / 411.8 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.098e-06/0.4215, allocations: 0 / 411.8 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.359e-05/0.4216, allocations: 15.98 kB / 411.8 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004603/0.4221, allocations: 288.9 kB / 412.1 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/0.4223, allocations: 50.59 kB / 412.2 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.4224, allocations: 3.984 kB / 412.2 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001442/0.4225, allocations: 59.39 kB / 412.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.528e-06/0.4225, allocations: 0 / 412.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004878/0.423, allocations: 125.2 kB / 412.3 MB, free: 13.23 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.4231, allocations: 55.36 kB / 412.4 MB, free: 13.16 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.4233, allocations: 161.4 kB / 412.6 MB, free: 13 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.4234, allocations: 29.64 kB / 412.6 MB, free: 12.96 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.85e-05/0.4235, allocations: 162.6 kB / 412.7 MB, free: 12.8 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.4235, allocations: 19.8 kB / 412.8 MB, free: 12.78 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.661e-06/0.4235, allocations: 0 / 412.8 MB, free: 12.78 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.4237, allocations: 310.8 kB / 413.1 MB, free: 12.47 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.247e-05/0.4238, allocations: 23.98 kB / 413.1 MB, free: 12.45 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.57e-05/0.4239, allocations: 23.94 kB / 413.1 MB, free: 12.42 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.424, allocations: 61.72 kB / 413.2 MB, free: 12.36 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.631e-06/0.424, allocations: 4 kB / 413.2 MB, free: 12.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002558/0.4243, allocations: 115.4 kB / 413.3 MB, free: 12.23 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.151e-05/0.4243, allocations: 38.31 kB / 413.3 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.289e-06/0.4243, allocations: 0 / 413.3 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.4244, allocations: 3.938 kB / 413.3 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.845e-05/0.4244, allocations: 12 kB / 413.3 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.588e-06/0.4245, allocations: 0 / 413.3 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.811e-05/0.4245, allocations: 7.953 kB / 413.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.4246, allocations: 8.141 kB / 413.4 MB, free: 12.15 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 (7): * Single equations (assignments): 6 * 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.0001316/0.4247, allocations: 125.8 kB / 413.5 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.4247, allocations: 7.906 kB / 413.5 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002532/0.425, allocations: 93.98 kB / 413.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.731e-06/0.425, allocations: 3.984 kB / 413.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.369e-06/0.4251, allocations: 4 kB / 413.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.05e-06/0.4251, allocations: 0 / 413.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005005/0.4256, allocations: 350.5 kB / 413.9 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.85e-06/0.4256, allocations: 0 / 413.9 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.206e-05/0.4257, allocations: 12 kB / 413.9 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.389e-06/0.4257, allocations: 288 / 413.9 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.4257, allocations: 4 kB / 413.9 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.788e-06/0.4257, allocations: 0 / 413.9 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.812e-06/0.4257, allocations: 7.953 kB / 413.9 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.426, allocations: 179.3 kB / 414.1 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.83e-05/0.4261, allocations: 89.02 kB / 414.2 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.4261, allocations: 4 kB / 414.2 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.4262, allocations: 7.984 kB / 414.2 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.4263, allocations: 7.953 kB / 414.2 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.4263, allocations: 4 kB / 414.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000163/0.4265, allocations: 138.5 kB / 414.4 MB, free: 11.03 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.4265, allocations: 0 / 414.4 MB, free: 11.03 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003713/0.4269, allocations: 32 kB / 414.4 MB, free: 11 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 (6): * Single equations (assignments): 5 * 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.001191/0.4281, allocations: 369.3 kB / 414.8 MB, free: 10.71 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002866/0.4284, allocations: 119.3 kB / 414.9 MB, free: 10.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.353e-06/0.4284, allocations: 0 / 414.9 MB, free: 10.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.189e-05/0.4285, allocations: 23.98 kB / 414.9 MB, free: 10.56 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.4288, allocations: 12 kB / 414.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005654/0.4294, allocations: 235.2 kB / 415.1 MB, free: 10.29 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/0.4298, allocations: 0.7074 MB / 415.9 MB, free: 9.555 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.387e-05/0.4299, allocations: 15.44 kB / 415.9 MB, free: 9.539 MB / 346.7 MB Notification: Performance of SimCode: time 1.656e-06/0.4299, allocations: 0 / 415.9 MB, free: 9.539 MB / 346.7 MB Notification: Performance of Templates: time 0.004388/0.4343, allocations: 1.691 MB / 417.6 MB, free: 7.852 MB / 346.7 MB