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.Test49.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.Test49,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.Test49") Notification: Performance of loadModel(ModelicaTest): time 2.203/2.203, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004407/0.0004409, allocations: 12 kB / 283.1 MB, free: 9.684 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3661, allocations: 48.7 MB / 331.8 MB, free: 6.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1427/0.5089, allocations: 75.87 MB / 407.7 MB, free: 2.562 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000332/0.5093, allocations: 75.97 kB / 407.8 MB, free: 2.488 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01953/0.5289, allocations: 4.344 MB / 412.1 MB, free: 14.14 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5289, allocations: 0 / 412.1 MB, free: 14.14 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.782e-05/0.529, allocations: 4 kB / 412.1 MB, free: 14.14 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.0007183/0.5297, allocations: 452.5 kB / 412.5 MB, free: 13.64 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.5298, allocations: 8.031 kB / 412.6 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.327e-05/0.5298, allocations: 15.81 kB / 412.6 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003521/0.5302, allocations: 214.8 kB / 412.8 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.5302, allocations: 0 / 412.8 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.5303, allocations: 8 kB / 412.8 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.5304, allocations: 41.69 kB / 412.8 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.5304, allocations: 0 / 412.8 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.5305, allocations: 0 / 412.8 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.5305, allocations: 4 kB / 412.8 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.124e-05/0.5306, allocations: 19.98 kB / 412.8 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00053/0.5311, allocations: 304.8 kB / 413.1 MB, free: 12.94 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.5314, allocations: 50.48 kB / 413.2 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.5314, allocations: 0 / 413.2 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/0.5316, allocations: 67.48 kB / 413.3 MB, free: 12.8 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/0.5316, allocations: 0 / 413.3 MB, free: 12.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005479/0.5322, allocations: 129.2 kB / 413.4 MB, free: 12.67 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.5322, allocations: 51.41 kB / 413.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004098/0.5326, allocations: 247.5 kB / 413.7 MB, free: 12.35 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.5327, allocations: 25.7 kB / 413.7 MB, free: 12.32 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.5328, allocations: 174.5 kB / 413.9 MB, free: 12.15 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.5328, allocations: 7.891 kB / 413.9 MB, free: 12.14 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.045e-05/0.5329, allocations: 4 kB / 413.9 MB, free: 12.14 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.533, allocations: 318.8 kB / 414.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.426e-05/0.5331, allocations: 23.98 kB / 414.2 MB, free: 11.79 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.347e-05/0.5332, allocations: 31.86 kB / 414.3 MB, free: 11.76 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.5334, allocations: 49.64 kB / 414.3 MB, free: 11.71 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5334, allocations: 4 kB / 414.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002977/0.5337, allocations: 131.3 kB / 414.4 MB, free: 11.56 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.536e-05/0.5338, allocations: 37.64 kB / 414.5 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.5338, allocations: 0 / 414.5 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.5338, allocations: 0 / 414.5 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.932e-05/0.5339, allocations: 11.98 kB / 414.5 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.5339, allocations: 4 kB / 414.5 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.381e-05/0.534, allocations: 4 kB / 414.5 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.5341, allocations: 7.953 kB / 414.5 MB, free: 11.49 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.0001462/0.5342, allocations: 133.8 kB / 414.6 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.389e-05/0.5343, allocations: 7.906 kB / 414.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002899/0.5346, allocations: 98.52 kB / 414.7 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.5346, allocations: 0 / 414.7 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.5346, allocations: 4 kB / 414.7 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.5346, allocations: 3.984 kB / 414.7 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000578/0.5352, allocations: 374.5 kB / 415.1 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.5352, allocations: 0 / 415.1 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.051e-05/0.5353, allocations: 11.98 kB / 415.1 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.5353, allocations: 0 / 415.1 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.5353, allocations: 0 / 415.1 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/0.5353, allocations: 0 / 415.1 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5353, allocations: 7.938 kB / 415.1 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.5356, allocations: 175.6 kB / 415.3 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.077e-05/0.5357, allocations: 100.9 kB / 415.4 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.5358, allocations: 8.062 kB / 415.4 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.723e-05/0.5359, allocations: 0 / 415.4 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.5359, allocations: 12.08 kB / 415.4 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.536, allocations: 3.938 kB / 415.4 MB, free: 10.47 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002668/0.5362, allocations: 189.1 kB / 415.6 MB, free: 10.29 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.5362, allocations: 0 / 415.6 MB, free: 10.29 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003874/0.5366, allocations: 43.92 kB / 415.6 MB, free: 10.24 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.001095/0.5377, allocations: 364.3 kB / 416 MB, free: 9.957 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000296/0.5381, allocations: 119.3 kB / 416.1 MB, free: 9.828 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5381, allocations: 0 / 416.1 MB, free: 9.828 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.872e-05/0.5382, allocations: 23.94 kB / 416.1 MB, free: 9.805 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.5385, allocations: 16.17 kB / 416.2 MB, free: 9.785 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007054/0.5392, allocations: 307.4 kB / 416.5 MB, free: 9.457 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.5396, allocations: 0.716 MB / 417.2 MB, free: 8.715 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.213e-05/0.5397, allocations: 15.44 kB / 417.2 MB, free: 8.699 MB / 346.7 MB Notification: Performance of SimCode: time 8.52e-07/0.5397, allocations: 0 / 417.2 MB, free: 8.699 MB / 346.7 MB Notification: Performance of Templates: time 0.00588/0.5456, allocations: 1.919 MB / 419.1 MB, free: 6.789 MB / 346.7 MB