Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.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.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23") Notification: Performance of loadModel(ModelicaTest): time 2.041/2.041, allocations: 209.2 MB / 225.4 MB, free: 0.543 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006431/0.0006431, allocations: 20 kB / 283.1 MB, free: 9.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3709, allocations: 48.69 MB / 331.8 MB, free: 6.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1394/0.5104, allocations: 74.75 MB / 406.5 MB, free: 3.723 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/0.5107, allocations: 75.95 kB / 406.6 MB, free: 3.648 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01459/0.5253, allocations: 3.387 MB / 410 MB, free: 264 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.5254, allocations: 3.938 kB / 410 MB, free: 260 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.5254, allocations: 0 / 410 MB, free: 260 kB / 330.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.000576/0.526, allocations: 400.9 kB / 410.4 MB, free: 15.81 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.5261, allocations: 8.031 kB / 410.4 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.96e-05/0.5261, allocations: 11.91 kB / 410.4 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.5264, allocations: 186.9 kB / 410.6 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.5265, allocations: 0 / 410.6 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.243e-05/0.5265, allocations: 4 kB / 410.6 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.5267, allocations: 63.39 kB / 410.7 MB, free: 15.49 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.5268, allocations: 0 / 410.7 MB, free: 15.49 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.5268, allocations: 4 kB / 410.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.5268, allocations: 0 / 410.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.527, allocations: 31.92 kB / 410.7 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004573/0.5274, allocations: 276.8 kB / 411 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000267/0.5277, allocations: 42.56 kB / 411 MB, free: 15.08 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.5278, allocations: 4 kB / 411 MB, free: 15.08 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.5278, allocations: 34.56 kB / 411.1 MB, free: 15.04 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 2.335e-06/0.5278, allocations: 0 / 411.1 MB, free: 15.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009059/0.5287, allocations: 157.7 kB / 411.2 MB, free: 14.88 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/0.5288, allocations: 77.11 kB / 411.3 MB, free: 14.78 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.529, allocations: 125.8 kB / 411.4 MB, free: 14.65 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.529, allocations: 33.64 kB / 411.4 MB, free: 14.61 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.157e-05/0.5291, allocations: 154.6 kB / 411.6 MB, free: 14.46 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.5292, allocations: 23.73 kB / 411.6 MB, free: 14.43 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/0.5292, allocations: 4 kB / 411.6 MB, free: 14.43 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.5293, allocations: 314.8 kB / 411.9 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.5295, allocations: 27.92 kB / 411.9 MB, free: 14.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.5296, allocations: 37.7 kB / 412 MB, free: 14.04 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.5298, allocations: 61.72 kB / 412 MB, free: 13.98 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5298, allocations: 0 / 412 MB, free: 13.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003892/0.5302, allocations: 119.3 kB / 412.2 MB, free: 13.85 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.409e-05/0.5303, allocations: 34.33 kB / 412.2 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.5303, allocations: 0 / 412.2 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.5303, allocations: 4.25 kB / 412.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.5305, allocations: 15.94 kB / 412.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.5305, allocations: 7.984 kB / 412.2 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.577e-05/0.5306, allocations: 4 kB / 412.2 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.5306, allocations: 4 kB / 412.2 MB, free: 13.77 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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.000124/0.5308, allocations: 121.7 kB / 412.3 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.795e-05/0.5308, allocations: 0 / 412.3 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003902/0.5312, allocations: 101.6 kB / 412.4 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.5312, allocations: 0 / 412.4 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.5312, allocations: 0 / 412.4 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.5313, allocations: 7.984 kB / 412.5 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006331/0.5319, allocations: 354.4 kB / 412.8 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.5319, allocations: 0 / 412.8 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.532, allocations: 12 kB / 412.8 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.5321, allocations: 0 / 412.8 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.5321, allocations: 3.984 kB / 412.8 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.5321, allocations: 3.984 kB / 412.8 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.5321, allocations: 4 kB / 412.8 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000361/0.5325, allocations: 183.4 kB / 413 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.359e-05/0.5326, allocations: 89.02 kB / 413.1 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.5326, allocations: 3.984 kB / 413.1 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.5328, allocations: 8 kB / 413.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.873e-05/0.5328, allocations: 4 kB / 413.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.5329, allocations: 3.984 kB / 413.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001062/0.533, allocations: 99.27 kB / 413.2 MB, free: 12.69 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.615e-06/0.533, allocations: 0 / 413.2 MB, free: 12.69 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003697/0.5334, allocations: 23.94 kB / 413.2 MB, free: 12.66 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0009551/0.5343, allocations: 342.8 kB / 413.6 MB, free: 12.4 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004236/0.5348, allocations: 115.3 kB / 413.7 MB, free: 12.27 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5348, allocations: 0 / 413.7 MB, free: 12.27 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.5349, allocations: 27.98 kB / 413.7 MB, free: 12.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.5352, allocations: 11.98 kB / 413.7 MB, free: 12.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005454/0.5358, allocations: 195 kB / 413.9 MB, free: 12.01 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.5361, allocations: 0.6848 MB / 414.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.81e-05/0.5362, allocations: 15.44 kB / 414.6 MB, free: 11.28 MB / 346.7 MB Notification: Performance of SimCode: time 1.162e-06/0.5363, allocations: 0 / 414.6 MB, free: 11.28 MB / 346.7 MB Notification: Performance of Templates: time 0.004889/0.5412, allocations: 1.438 MB / 416 MB, free: 9.844 MB / 346.7 MB