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.Test22.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.Test22,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.Test22") Notification: Performance of loadModel(ModelicaTest): time 1.972/1.972, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004312/0.0004313, allocations: 12 kB / 282.6 MB, free: 9.574 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2818, allocations: 48.7 MB / 331.3 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1144/0.3962, allocations: 75.87 MB / 407.2 MB, free: 2.562 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.3965, allocations: 71.95 kB / 407.2 MB, free: 2.492 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01709/0.4136, allocations: 4.017 MB / 411.2 MB, free: 14.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.456e-06/0.4137, allocations: 0 / 411.2 MB, free: 14.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.4137, allocations: 0 / 411.2 MB, free: 14.48 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.0005943/0.4143, allocations: 424.7 kB / 411.7 MB, free: 14.01 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.4144, allocations: 8.031 kB / 411.7 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.116e-05/0.4144, allocations: 11.89 kB / 411.7 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002996/0.4148, allocations: 210.8 kB / 411.9 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.4148, allocations: 4 kB / 411.9 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.4148, allocations: 4 kB / 411.9 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.415, allocations: 41.69 kB / 411.9 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.415, allocations: 0 / 411.9 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.415, allocations: 0 / 411.9 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.259e-06/0.415, allocations: 0 / 411.9 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.8e-05/0.4151, allocations: 15.98 kB / 411.9 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004713/0.4156, allocations: 296.8 kB / 412.2 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.4158, allocations: 46.56 kB / 412.3 MB, free: 13.28 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.4159, allocations: 0 / 412.3 MB, free: 13.28 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001428/0.416, allocations: 59.48 kB / 412.3 MB, free: 13.21 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.299e-06/0.416, allocations: 0 / 412.3 MB, free: 13.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004844/0.4165, allocations: 117.3 kB / 412.5 MB, free: 13.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.4166, allocations: 59.36 kB / 412.5 MB, free: 13.02 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.4168, allocations: 161.4 kB / 412.7 MB, free: 12.85 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.4169, allocations: 25.7 kB / 412.7 MB, free: 12.82 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.417, allocations: 166.5 kB / 412.9 MB, free: 12.65 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.417, allocations: 15.81 kB / 412.9 MB, free: 12.64 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.959e-06/0.417, allocations: 3.938 kB / 412.9 MB, free: 12.63 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.4172, allocations: 310.8 kB / 413.2 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.332e-05/0.4173, allocations: 27.92 kB / 413.2 MB, free: 12.29 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.694e-05/0.4174, allocations: 23.98 kB / 413.2 MB, free: 12.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.815e-05/0.4175, allocations: 61.73 kB / 413.3 MB, free: 12.2 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.642e-06/0.4175, allocations: 0 / 413.3 MB, free: 12.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000264/0.4178, allocations: 127.3 kB / 413.4 MB, free: 12.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.693e-05/0.4178, allocations: 34.48 kB / 413.4 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.235e-06/0.4178, allocations: 0 / 413.4 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.4179, allocations: 0 / 413.4 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.584e-05/0.4179, allocations: 11.98 kB / 413.5 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.993e-06/0.418, allocations: 0 / 413.5 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.604e-05/0.418, allocations: 11.95 kB / 413.5 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.4181, allocations: 4 kB / 413.5 MB, free: 12 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.0001314/0.4182, allocations: 125.8 kB / 413.6 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.4182, allocations: 7.906 kB / 413.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002534/0.4185, allocations: 90.05 kB / 413.7 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.514e-06/0.4185, allocations: 8 kB / 413.7 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.042e-06/0.4185, allocations: 0 / 413.7 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.725e-06/0.4186, allocations: 0 / 413.7 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004909/0.4191, allocations: 350.8 kB / 414 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.148e-06/0.4191, allocations: 4 kB / 414 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.586e-05/0.4191, allocations: 11.98 kB / 414.1 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.96e-06/0.4192, allocations: 0 / 414.1 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.4192, allocations: 0 / 414.1 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.547e-06/0.4192, allocations: 3.938 kB / 414.1 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.979e-06/0.4192, allocations: 11.94 kB / 414.1 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.4195, allocations: 175.4 kB / 414.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.619e-05/0.4196, allocations: 89 kB / 414.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.4196, allocations: 8 kB / 414.3 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.328e-05/0.4197, allocations: 0 / 414.3 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/0.4198, allocations: 11.94 kB / 414.4 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.4198, allocations: 4 kB / 414.4 MB, free: 11.01 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001544/0.42, allocations: 130.8 kB / 414.5 MB, free: 10.89 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.77e-07/0.42, allocations: 0 / 414.5 MB, free: 10.89 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003764/0.4204, allocations: 31.94 kB / 414.5 MB, free: 10.86 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.001194/0.4216, allocations: 385.2 kB / 414.9 MB, free: 10.56 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002531/0.4218, allocations: 111.4 kB / 415 MB, free: 10.44 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.118e-06/0.4219, allocations: 0 / 415 MB, free: 10.44 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.748e-05/0.4219, allocations: 19.98 kB / 415 MB, free: 10.42 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.4222, allocations: 11.98 kB / 415 MB, free: 10.41 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005495/0.4228, allocations: 243.4 kB / 415.3 MB, free: 10.13 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.4232, allocations: 0.7043 MB / 416 MB, free: 9.402 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.239e-05/0.4233, allocations: 19.42 kB / 416 MB, free: 9.383 MB / 346.7 MB Notification: Performance of SimCode: time 1.553e-06/0.4233, allocations: 0 / 416 MB, free: 9.383 MB / 346.7 MB Notification: Performance of Templates: time 0.004331/0.4276, allocations: 1.691 MB / 417.7 MB, free: 7.695 MB / 346.7 MB