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.Test19.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.Test19,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.Test19") Notification: Performance of loadModel(ModelicaTest): time 2.19/2.19, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006024/0.0006023, allocations: 12 kB / 283.1 MB, free: 9.684 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3785, allocations: 48.7 MB / 331.8 MB, free: 6.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1339/0.5125, allocations: 75.83 MB / 407.6 MB, free: 2.594 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/0.5128, allocations: 75.97 kB / 407.7 MB, free: 2.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01797/0.5308, allocations: 3.916 MB / 411.6 MB, free: 14.61 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5309, allocations: 0 / 411.6 MB, free: 14.61 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.5309, allocations: 8 kB / 411.6 MB, free: 14.6 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.0005876/0.5315, allocations: 431.6 kB / 412.1 MB, free: 14.12 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.5315, allocations: 8.031 kB / 412.1 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.069e-05/0.5316, allocations: 7.906 kB / 412.1 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.5319, allocations: 198.8 kB / 412.3 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.5319, allocations: 4 kB / 412.3 MB, free: 13.87 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.532, allocations: 8 kB / 412.3 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.5321, allocations: 45.67 kB / 412.3 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.5321, allocations: 4 kB / 412.3 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.5322, allocations: 0 / 412.3 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.5322, allocations: 4 kB / 412.3 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.603e-05/0.5323, allocations: 15.98 kB / 412.3 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004612/0.5327, allocations: 288.8 kB / 412.6 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.533, allocations: 38.56 kB / 412.7 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.533, allocations: 11.94 kB / 412.7 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001473/0.5332, allocations: 63.47 kB / 412.7 MB, free: 13.32 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.904e-06/0.5332, allocations: 0 / 412.7 MB, free: 13.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005229/0.5337, allocations: 121.2 kB / 412.9 MB, free: 13.2 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.5338, allocations: 55.36 kB / 412.9 MB, free: 13.13 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002648/0.5341, allocations: 173.5 kB / 413.1 MB, free: 12.95 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.5341, allocations: 33.7 kB / 413.1 MB, free: 12.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.973e-05/0.5342, allocations: 166.5 kB / 413.3 MB, free: 12.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.5343, allocations: 19.81 kB / 413.3 MB, free: 12.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.315e-06/0.5343, allocations: 0 / 413.3 MB, free: 12.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.5344, allocations: 314.8 kB / 413.6 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.073e-05/0.5345, allocations: 23.92 kB / 413.6 MB, free: 12.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.421e-05/0.5346, allocations: 23.98 kB / 413.6 MB, free: 12.37 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.5347, allocations: 53.7 kB / 413.7 MB, free: 12.31 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5347, allocations: 0 / 413.7 MB, free: 12.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002864/0.535, allocations: 127.3 kB / 413.8 MB, free: 12.17 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.861e-05/0.5351, allocations: 33.7 kB / 413.9 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.5351, allocations: 8 kB / 413.9 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.5351, allocations: 0 / 413.9 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.83e-05/0.5352, allocations: 11.98 kB / 413.9 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.5353, allocations: 3.953 kB / 413.9 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.553e-05/0.5353, allocations: 4 kB / 413.9 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.5354, allocations: 0 / 413.9 MB, free: 12.11 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.0001242/0.5355, allocations: 121.8 kB / 414 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.5355, allocations: 7.906 kB / 414 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002765/0.5358, allocations: 97.92 kB / 414.1 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.5358, allocations: 0 / 414.1 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.5359, allocations: 96 / 414.1 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.5359, allocations: 7.891 kB / 414.1 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004836/0.5364, allocations: 350.5 kB / 414.5 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.5364, allocations: 0 / 414.5 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.97e-05/0.5364, allocations: 11.98 kB / 414.5 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.5365, allocations: 0 / 414.5 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.5365, allocations: 4 kB / 414.5 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.5365, allocations: 12.08 kB / 414.5 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.5365, allocations: 4 kB / 414.5 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.5368, allocations: 171.4 kB / 414.7 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.847e-05/0.5368, allocations: 93 kB / 414.7 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.241e-05/0.5369, allocations: 0 / 414.7 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.547e-05/0.537, allocations: 4 kB / 414.8 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.676e-05/0.537, allocations: 11.94 kB / 414.8 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.5371, allocations: 0 / 414.8 MB, free: 11.12 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001578/0.5372, allocations: 131.8 kB / 414.9 MB, free: 10.99 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5372, allocations: 3.938 kB / 414.9 MB, free: 10.98 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003666/0.5376, allocations: 35.98 kB / 414.9 MB, free: 10.95 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.001061/0.5387, allocations: 372.2 kB / 415.3 MB, free: 10.66 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002753/0.539, allocations: 119.4 kB / 415.4 MB, free: 10.53 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.539, allocations: 0 / 415.4 MB, free: 10.53 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.815e-05/0.5391, allocations: 16 kB / 415.4 MB, free: 10.51 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.5394, allocations: 15.98 kB / 415.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005528/0.54, allocations: 231.2 kB / 415.7 MB, free: 10.24 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.5403, allocations: 0.7043 MB / 416.4 MB, free: 9.508 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.581e-05/0.5404, allocations: 15.42 kB / 416.4 MB, free: 9.492 MB / 346.7 MB Notification: Performance of SimCode: time 7.61e-07/0.5404, allocations: 0 / 416.4 MB, free: 9.492 MB / 346.7 MB Notification: Performance of Templates: time 0.005081/0.5455, allocations: 1.704 MB / 418.1 MB, free: 7.793 MB / 346.7 MB