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.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadModel(ModelicaTest): time 2.103/2.103, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004531/0.000453, allocations: 16 kB / 283.1 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3653, allocations: 48.7 MB / 331.8 MB, free: 6.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1461/0.5114, allocations: 76.1 MB / 407.9 MB, free: 2.367 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003337/0.5118, allocations: 71.97 kB / 408 MB, free: 2.297 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02691/0.5387, allocations: 4.934 MB / 412.9 MB, free: 13.36 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.472e-06/0.5388, allocations: 0 / 412.9 MB, free: 13.36 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.907e-05/0.5388, allocations: 7.938 kB / 412.9 MB, free: 13.36 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000715/0.5396, allocations: 412.8 kB / 413.3 MB, free: 12.9 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.5396, allocations: 19.95 kB / 413.3 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.373e-05/0.5397, allocations: 4 kB / 413.3 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003695/0.5401, allocations: 202.8 kB / 413.5 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.5401, allocations: 8 kB / 413.6 MB, free: 12.63 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.305e-05/0.5402, allocations: 0 / 413.6 MB, free: 12.63 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.5404, allocations: 67.39 kB / 413.6 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.5404, allocations: 0 / 413.6 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.5405, allocations: 4 kB / 413.6 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.5405, allocations: 4 kB / 413.6 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.5407, allocations: 27.97 kB / 413.7 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006041/0.5413, allocations: 300.7 kB / 413.9 MB, free: 12.17 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.5415, allocations: 46.56 kB / 414 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.5415, allocations: 4 kB / 414 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002007/0.5417, allocations: 71.47 kB / 414.1 MB, free: 12.03 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 4.979e-06/0.5418, allocations: 0 / 414.1 MB, free: 12.03 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.000731/0.5425, allocations: 137.3 kB / 414.2 MB, free: 11.89 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.718e-05/0.5426, allocations: 81.06 kB / 414.3 MB, free: 11.79 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002696/0.5429, allocations: 157.5 kB / 414.4 MB, free: 11.63 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.49e-05/0.5429, allocations: 29.7 kB / 414.5 MB, free: 11.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.5431, allocations: 162.5 kB / 414.6 MB, free: 11.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.293e-05/0.5431, allocations: 19.73 kB / 414.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.5432, allocations: 4 kB / 414.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.5434, allocations: 314.8 kB / 415 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.5435, allocations: 23.98 kB / 415 MB, free: 11.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.5436, allocations: 41.7 kB / 415 MB, free: 11.02 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.5438, allocations: 57.69 kB / 415.1 MB, free: 10.96 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5438, allocations: 96 / 415.1 MB, free: 10.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004296/0.5443, allocations: 143.2 kB / 415.2 MB, free: 10.81 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.379e-05/0.5444, allocations: 29.7 kB / 415.2 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.5444, allocations: 0 / 415.2 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.5444, allocations: 4.031 kB / 415.2 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.5446, allocations: 15.98 kB / 415.3 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.5446, allocations: 3.938 kB / 415.3 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.5447, allocations: 11.86 kB / 415.3 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/0.5448, allocations: 4 kB / 415.3 MB, free: 10.73 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 (8): * Single equations (assignments): 7 * 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.000162/0.5449, allocations: 117.8 kB / 415.4 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/0.545, allocations: 11.98 kB / 415.4 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004363/0.5454, allocations: 114.2 kB / 415.5 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.5455, allocations: 4 kB / 415.5 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.5455, allocations: 0 / 415.5 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.5455, allocations: 0 / 415.5 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007515/0.5463, allocations: 379.1 kB / 415.9 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.5463, allocations: 4 kB / 415.9 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.5464, allocations: 11.98 kB / 415.9 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.5464, allocations: 4 kB / 415.9 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.5465, allocations: 0 / 415.9 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.624e-06/0.5465, allocations: 4 kB / 415.9 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.5465, allocations: 7.953 kB / 415.9 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000394/0.5469, allocations: 195.5 kB / 416.1 MB, free: 9.812 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.902e-05/0.547, allocations: 89 kB / 416.2 MB, free: 9.707 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.491e-05/0.5471, allocations: 0 / 416.2 MB, free: 9.707 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.5473, allocations: 8 kB / 416.2 MB, free: 9.699 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.959e-05/0.5473, allocations: 7.953 kB / 416.2 MB, free: 9.691 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.889e-05/0.5474, allocations: 7.922 kB / 416.2 MB, free: 9.684 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001821/0.5476, allocations: 115.3 kB / 416.3 MB, free: 9.57 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.5476, allocations: 0 / 416.3 MB, free: 9.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006613/0.5483, allocations: 51.92 kB / 416.4 MB, free: 9.52 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 (8): * Single equations (assignments): 7 * 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.001824/0.5501, allocations: 442.2 kB / 416.8 MB, free: 9.164 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003835/0.5505, allocations: 123.4 kB / 416.9 MB, free: 9.031 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.5505, allocations: 0 / 416.9 MB, free: 9.031 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.5507, allocations: 31.94 kB / 417 MB, free: 9 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004233/0.5511, allocations: 27.91 kB / 417 MB, free: 8.973 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007163/0.5519, allocations: 215.3 kB / 417.2 MB, free: 8.727 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.5523, allocations: 0.6965 MB / 417.9 MB, free: 8.004 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.5524, allocations: 27.42 kB / 417.9 MB, free: 7.977 MB / 346.7 MB Notification: Performance of SimCode: time 8.61e-07/0.5524, allocations: 0 / 417.9 MB, free: 7.977 MB / 346.7 MB Notification: Performance of Templates: time 0.007315/0.5598, allocations: 2.025 MB / 420 MB, free: 5.957 MB / 346.7 MB