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.Test1.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.Test1,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.Test1") Notification: Performance of loadModel(ModelicaTest): time 1.928/1.928, allocations: 209.3 MB / 225.4 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004291/0.0004292, allocations: 12 kB / 283.1 MB, free: 9.684 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3453, allocations: 48.7 MB / 331.8 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1344/0.4798, allocations: 75.86 MB / 407.7 MB, free: 2.574 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/0.4801, allocations: 71.97 kB / 407.7 MB, free: 2.504 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01974/0.4999, allocations: 4.32 MB / 412.1 MB, free: 14.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4999, allocations: 0 / 412.1 MB, free: 14.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.927e-05/0.5, allocations: 4 kB / 412.1 MB, free: 14.18 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.0006811/0.5007, allocations: 456.5 kB / 412.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.5007, allocations: 8.031 kB / 412.5 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.998e-05/0.5008, allocations: 15.81 kB / 412.5 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.5012, allocations: 210.8 kB / 412.7 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.5012, allocations: 0 / 412.7 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.983e-05/0.5012, allocations: 4 kB / 412.7 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.5014, allocations: 49.67 kB / 412.8 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.5014, allocations: 0 / 412.8 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.5014, allocations: 0 / 412.8 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.5015, allocations: 0 / 412.8 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.127e-05/0.5015, allocations: 23.98 kB / 412.8 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000552/0.5021, allocations: 304.8 kB / 413.1 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002604/0.5024, allocations: 42.5 kB / 413.2 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.5024, allocations: 4 kB / 413.2 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.5026, allocations: 59.48 kB / 413.2 MB, free: 12.85 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.685e-06/0.5026, allocations: 0 / 413.2 MB, free: 12.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005722/0.5032, allocations: 137.4 kB / 413.4 MB, free: 12.71 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.5033, allocations: 51.41 kB / 413.4 MB, free: 12.65 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004017/0.5037, allocations: 239.5 kB / 413.6 MB, free: 12.4 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.5037, allocations: 33.7 kB / 413.7 MB, free: 12.36 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.913e-05/0.5038, allocations: 166.5 kB / 413.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.5039, allocations: 15.89 kB / 413.8 MB, free: 12.18 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.285e-06/0.5039, allocations: 7.875 kB / 413.9 MB, free: 12.17 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.504, allocations: 326.8 kB / 414.2 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.946e-05/0.5041, allocations: 16 kB / 414.2 MB, free: 11.83 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.656e-05/0.5042, allocations: 31.91 kB / 414.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.5043, allocations: 53.69 kB / 414.3 MB, free: 11.74 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5043, allocations: 0 / 414.3 MB, free: 11.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003026/0.5046, allocations: 127.3 kB / 414.4 MB, free: 11.6 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.979e-05/0.5047, allocations: 41.69 kB / 414.4 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.5047, allocations: 0 / 414.4 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.5047, allocations: 0 / 414.4 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.306e-05/0.5048, allocations: 11.94 kB / 414.5 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.5049, allocations: 4 kB / 414.5 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.996e-05/0.505, allocations: 4 kB / 414.5 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.505, allocations: 11.94 kB / 414.5 MB, free: 11.52 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.0001577/0.5052, allocations: 125.8 kB / 414.6 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.03e-05/0.5052, allocations: 15.89 kB / 414.6 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003019/0.5055, allocations: 94.58 kB / 414.7 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.5056, allocations: 3.938 kB / 414.7 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5056, allocations: 4 kB / 414.7 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.5056, allocations: 0 / 414.7 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006027/0.5062, allocations: 374.5 kB / 415.1 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.5062, allocations: 0 / 415.1 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.014e-05/0.5063, allocations: 8 kB / 415.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.5063, allocations: 0 / 415.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.5063, allocations: 4 kB / 415.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.5064, allocations: 0 / 415.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.5064, allocations: 0 / 415.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.5066, allocations: 187.4 kB / 415.3 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.555e-05/0.5068, allocations: 104.8 kB / 415.4 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/0.5068, allocations: 256 / 415.4 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.5069, allocations: 4 kB / 415.4 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.507, allocations: 8 kB / 415.4 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.507, allocations: 0 / 415.4 MB, free: 10.51 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002815/0.5073, allocations: 197.1 kB / 415.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5073, allocations: 0 / 415.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000385/0.5077, allocations: 43.88 kB / 415.6 MB, free: 10.27 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.001062/0.5088, allocations: 374.9 kB / 416 MB, free: 9.977 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003072/0.5091, allocations: 115.3 kB / 416.1 MB, free: 9.852 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5091, allocations: 0 / 416.1 MB, free: 9.852 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.566e-05/0.5092, allocations: 23.98 kB / 416.1 MB, free: 9.828 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.5096, allocations: 16.17 kB / 416.1 MB, free: 9.809 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007687/0.5104, allocations: 303.4 kB / 416.4 MB, free: 9.484 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.5107, allocations: 0.7199 MB / 417.2 MB, free: 8.738 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.038e-05/0.5108, allocations: 19.42 kB / 417.2 MB, free: 8.719 MB / 346.7 MB Notification: Performance of SimCode: time 1.163e-06/0.5108, allocations: 0 / 417.2 MB, free: 8.719 MB / 346.7 MB Notification: Performance of Templates: time 0.005843/0.5167, allocations: 1.904 MB / 419.1 MB, free: 6.824 MB / 346.7 MB