Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,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.Test30") Notification: Performance of loadModel(ModelicaTest): time 2.08/2.08, allocations: 209.3 MB / 225.4 MB, free: 0.6055 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004754/0.0004758, allocations: 12 kB / 283.1 MB, free: 9.688 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3554, allocations: 48.71 MB / 331.8 MB, free: 6.488 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1368/0.4923, allocations: 75.86 MB / 407.7 MB, free: 2.566 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/0.4926, allocations: 79.95 kB / 407.8 MB, free: 2.488 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01846/0.5111, allocations: 4.018 MB / 411.8 MB, free: 14.47 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5112, allocations: 4 kB / 411.8 MB, free: 14.47 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.998e-05/0.5112, allocations: 3.984 kB / 411.8 MB, free: 14.46 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.0006661/0.5119, allocations: 428.7 kB / 412.2 MB, free: 13.99 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.5119, allocations: 12.03 kB / 412.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.216e-05/0.512, allocations: 11.89 kB / 412.2 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003113/0.5123, allocations: 190.9 kB / 412.4 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.5124, allocations: 4 kB / 412.4 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.5124, allocations: 7.922 kB / 412.4 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.5125, allocations: 49.69 kB / 412.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.5126, allocations: 0 / 412.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.5126, allocations: 0 / 412.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.5126, allocations: 0 / 412.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.674e-05/0.5127, allocations: 23.98 kB / 412.5 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000511/0.5132, allocations: 292.9 kB / 412.8 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.5135, allocations: 46.5 kB / 412.8 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.5135, allocations: 0 / 412.8 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001608/0.5137, allocations: 55.48 kB / 412.9 MB, free: 13.2 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.683e-06/0.5137, allocations: 8 kB / 412.9 MB, free: 13.19 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005481/0.5143, allocations: 121.3 kB / 413 MB, free: 13.06 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.5144, allocations: 59.3 kB / 413.1 MB, free: 12.99 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.5146, allocations: 177.1 kB / 413.2 MB, free: 12.81 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.5147, allocations: 25.7 kB / 413.3 MB, free: 12.78 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.263e-05/0.5148, allocations: 162.6 kB / 413.4 MB, free: 12.62 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.5148, allocations: 15.75 kB / 413.4 MB, free: 12.6 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-06/0.5148, allocations: 0 / 413.4 MB, free: 12.6 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.515, allocations: 322.8 kB / 413.7 MB, free: 12.28 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.307e-05/0.5151, allocations: 20 kB / 413.8 MB, free: 12.26 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.733e-05/0.5152, allocations: 23.98 kB / 413.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.5153, allocations: 53.64 kB / 413.8 MB, free: 12.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5153, allocations: 0 / 413.8 MB, free: 12.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003069/0.5156, allocations: 123.4 kB / 414 MB, free: 12.04 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.911e-05/0.5157, allocations: 37.69 kB / 414 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.5157, allocations: 0 / 414 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.5157, allocations: 0 / 414 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.889e-05/0.5158, allocations: 15.94 kB / 414 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.5159, allocations: 7.953 kB / 414 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.559e-05/0.5159, allocations: 4 kB / 414 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.516, allocations: 4 kB / 414 MB, free: 11.97 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.0001548/0.5161, allocations: 121.8 kB / 414.2 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/0.5162, allocations: 7.906 kB / 414.2 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002948/0.5165, allocations: 85.98 kB / 414.2 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.5165, allocations: 0 / 414.2 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5165, allocations: 0 / 414.2 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.5165, allocations: 7.953 kB / 414.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005026/0.5171, allocations: 358.7 kB / 414.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.5171, allocations: 0 / 414.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.787e-05/0.5172, allocations: 8.094 kB / 414.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.5172, allocations: 3.938 kB / 414.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.5172, allocations: 4 kB / 414.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.5172, allocations: 3.953 kB / 414.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.5172, allocations: 3.984 kB / 414.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.5175, allocations: 187.5 kB / 414.8 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.829e-05/0.5176, allocations: 85.02 kB / 414.9 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.722e-05/0.5176, allocations: 8 kB / 414.9 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.292e-05/0.5177, allocations: 0 / 414.9 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.5178, allocations: 11.94 kB / 414.9 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.5178, allocations: 0 / 414.9 MB, free: 10.98 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001709/0.518, allocations: 131.8 kB / 415 MB, free: 10.85 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.555e-06/0.518, allocations: 0 / 415 MB, free: 10.85 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003653/0.5184, allocations: 39.92 kB / 415.1 MB, free: 10.81 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.001032/0.5194, allocations: 368.4 kB / 415.4 MB, free: 10.52 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003064/0.5197, allocations: 119.3 kB / 415.6 MB, free: 10.39 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.5198, allocations: 0 / 415.6 MB, free: 10.39 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.999e-05/0.5198, allocations: 16 kB / 415.6 MB, free: 10.38 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.5202, allocations: 19.98 kB / 415.6 MB, free: 10.36 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005772/0.5208, allocations: 227.3 kB / 415.8 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.5211, allocations: 0.7004 MB / 416.5 MB, free: 9.379 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.58e-05/0.5212, allocations: 23.38 kB / 416.5 MB, free: 9.355 MB / 346.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5212, allocations: 0 / 416.5 MB, free: 9.355 MB / 346.7 MB Notification: Performance of Templates: time 0.005156/0.5264, allocations: 1.7 MB / 418.2 MB, free: 7.66 MB / 346.7 MB