Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test24.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.CombiTable1D.Test24,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.CombiTable1D.Test24") Notification: Performance of loadModel(ModelicaTest): time 1.955/1.955, allocations: 209.2 MB / 225.4 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004303/0.0004304, allocations: 8 kB / 283.1 MB, free: 9.703 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3466, allocations: 48.7 MB / 331.8 MB, free: 6.48 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1366/0.4833, allocations: 74.75 MB / 406.5 MB, free: 3.688 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/0.4837, allocations: 75.97 kB / 406.6 MB, free: 3.613 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01416/0.4978, allocations: 3.413 MB / 410 MB, free: 204 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4979, allocations: 0 / 410 MB, free: 204 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.4979, allocations: 0 / 410 MB, free: 204 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.0005322/0.4985, allocations: 404 kB / 410.4 MB, free: 15.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.4985, allocations: 8.031 kB / 410.4 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.246e-05/0.4986, allocations: 11.91 kB / 410.5 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.4988, allocations: 183 kB / 410.6 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.4988, allocations: 0 / 410.6 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.4989, allocations: 8 kB / 410.6 MB, free: 15.51 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.4991, allocations: 67.34 kB / 410.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.4991, allocations: 0 / 410.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.4992, allocations: 4 kB / 410.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.4992, allocations: 3.984 kB / 410.7 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.4993, allocations: 27.98 kB / 410.7 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004861/0.4998, allocations: 284.8 kB / 411 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/0.5001, allocations: 54.48 kB / 411.1 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.5002, allocations: 0 / 411.1 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.5002, allocations: 30.56 kB / 411.1 MB, free: 14.96 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.5002, allocations: 0 / 411.1 MB, free: 14.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008766/0.5011, allocations: 165.5 kB / 411.3 MB, free: 14.8 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.5012, allocations: 77.11 kB / 411.3 MB, free: 14.7 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.5014, allocations: 129.8 kB / 411.5 MB, free: 14.57 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.5014, allocations: 25.7 kB / 411.5 MB, free: 14.54 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.379e-05/0.5015, allocations: 162.5 kB / 411.6 MB, free: 14.38 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.5015, allocations: 15.69 kB / 411.7 MB, free: 14.36 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.498e-06/0.5015, allocations: 4 kB / 411.7 MB, free: 14.36 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.5017, allocations: 322.8 kB / 412 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.5019, allocations: 23.98 kB / 412 MB, free: 14.01 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.502, allocations: 45.69 kB / 412 MB, free: 13.96 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.5022, allocations: 61.62 kB / 412.1 MB, free: 13.89 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.5022, allocations: 0 / 412.1 MB, free: 13.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003883/0.5026, allocations: 127.3 kB / 412.2 MB, free: 13.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.385e-05/0.5027, allocations: 33.69 kB / 412.3 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.5027, allocations: 3.938 kB / 412.3 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.5027, allocations: 0 / 412.3 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.5029, allocations: 12 kB / 412.3 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.5029, allocations: 4 kB / 412.3 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.424e-05/0.503, allocations: 7.984 kB / 412.3 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.503, allocations: 4 kB / 412.3 MB, free: 13.68 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.0001306/0.5031, allocations: 121.8 kB / 412.4 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.5032, allocations: 3.938 kB / 412.4 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004139/0.5036, allocations: 109.8 kB / 412.5 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.5036, allocations: 4 kB / 412.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.351e-06/0.5037, allocations: 4.062 kB / 412.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.5037, allocations: 0 / 412.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006569/0.5043, allocations: 366.4 kB / 412.9 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.5044, allocations: 0 / 412.9 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.5045, allocations: 16 kB / 412.9 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.5045, allocations: 0 / 412.9 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.5045, allocations: 0 / 412.9 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.5045, allocations: 3.984 kB / 412.9 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5045, allocations: 0 / 412.9 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003767/0.5049, allocations: 191.5 kB / 413.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.439e-05/0.505, allocations: 85 kB / 413.2 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.505, allocations: 4 kB / 413.2 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.5051, allocations: 4 kB / 413.2 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.979e-05/0.5052, allocations: 15.92 kB / 413.2 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.5052, allocations: 0 / 413.2 MB, free: 12.67 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.555e-05/0.5053, allocations: 99.2 kB / 413.3 MB, free: 12.57 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.5054, allocations: 0 / 413.3 MB, free: 12.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000393/0.5058, allocations: 28 kB / 413.3 MB, free: 12.54 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.0009314/0.5067, allocations: 330.5 kB / 413.7 MB, free: 12.29 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004099/0.5071, allocations: 119.4 kB / 413.8 MB, free: 12.16 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.5072, allocations: 0 / 413.8 MB, free: 12.16 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.5073, allocations: 35.92 kB / 413.8 MB, free: 12.12 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.5076, allocations: 11.98 kB / 413.8 MB, free: 12.11 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005309/0.5081, allocations: 191 kB / 414 MB, free: 11.89 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.5084, allocations: 0.6926 MB / 414.7 MB, free: 11.17 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.174e-05/0.5085, allocations: 19.42 kB / 414.7 MB, free: 11.15 MB / 346.7 MB Notification: Performance of SimCode: time 1.293e-06/0.5086, allocations: 0 / 414.7 MB, free: 11.15 MB / 346.7 MB Notification: Performance of Templates: time 0.004829/0.5134, allocations: 1.47 MB / 416.2 MB, free: 9.684 MB / 346.7 MB