Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test6.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.CombiTable2D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test6") Notification: Performance of loadModel(ModelicaTest): time 2.079/2.079, allocations: 209.2 MB / 225.4 MB, free: 292 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004362/0.0004363, allocations: 8 kB / 283.1 MB, free: 9.637 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.351, allocations: 48.7 MB / 331.8 MB, free: 6.457 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1468/0.4978, allocations: 74.47 MB / 406.3 MB, free: 3.961 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/0.4982, allocations: 79.95 kB / 406.4 MB, free: 3.883 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0193/0.5175, allocations: 5.237 MB / 411.6 MB, free: 14.63 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.5176, allocations: 0 / 411.6 MB, free: 14.63 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.989e-05/0.5176, allocations: 4 kB / 411.6 MB, free: 14.62 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009286/0.5185, allocations: 0.6509 MB / 412.2 MB, free: 13.92 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.122e-05/0.5186, allocations: 8.031 kB / 412.3 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.5187, allocations: 39.53 kB / 412.3 MB, free: 13.87 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006168/0.5194, allocations: 323.4 kB / 412.6 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.5194, allocations: 3.938 kB / 412.6 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.5194, allocations: 8 kB / 412.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002284/0.5197, allocations: 53.67 kB / 412.7 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.5197, allocations: 0 / 412.7 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.5197, allocations: 7.938 kB / 412.7 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.5197, allocations: 0 / 412.7 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002398/0.52, allocations: 47.97 kB / 412.7 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007322/0.5207, allocations: 440.5 kB / 413.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.5209, allocations: 46.56 kB / 413.2 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.521, allocations: 4 kB / 413.2 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.521, allocations: 30.56 kB / 413.2 MB, free: 12.81 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.512e-06/0.521, allocations: 0 / 413.2 MB, free: 12.81 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.001306/0.5223, allocations: 324 kB / 413.6 MB, free: 12.49 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.5224, allocations: 51.41 kB / 413.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001973/0.5244, allocations: 0.826 MB / 414.4 MB, free: 11.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.5244, allocations: 29.7 kB / 414.5 MB, free: 11.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.5246, allocations: 230.6 kB / 414.7 MB, free: 11.33 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.368e-05/0.5247, allocations: 23.64 kB / 414.7 MB, free: 11.3 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.066e-05/0.5247, allocations: 4 kB / 414.7 MB, free: 11.3 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.5248, allocations: 314.8 kB / 415 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002284/0.5251, allocations: 43.97 kB / 415.1 MB, free: 10.94 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.5253, allocations: 43.97 kB / 415.1 MB, free: 10.9 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002458/0.5256, allocations: 73.61 kB / 415.2 MB, free: 10.82 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5256, allocations: 0 / 415.2 MB, free: 10.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005315/0.5261, allocations: 167.2 kB / 415.3 MB, free: 10.64 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.982e-05/0.5262, allocations: 30.33 kB / 415.4 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.5262, allocations: 0 / 415.4 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.5262, allocations: 4 kB / 415.4 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.5264, allocations: 27.94 kB / 415.4 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.5264, allocations: 0 / 415.4 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.5266, allocations: 15.98 kB / 415.4 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.5267, allocations: 8.062 kB / 415.4 MB, free: 10.56 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 (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.0002855/0.527, allocations: 213.7 kB / 415.6 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.5271, allocations: 39.53 kB / 415.7 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006348/0.5277, allocations: 181.3 kB / 415.9 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.5277, allocations: 4 kB / 415.9 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.5278, allocations: 7.953 kB / 415.9 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.5278, allocations: 0 / 415.9 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.5292, allocations: 0.631 MB / 416.5 MB, free: 9.422 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.5292, allocations: 0 / 416.5 MB, free: 9.422 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/0.5294, allocations: 24.27 kB / 416.5 MB, free: 9.398 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.5294, allocations: 0 / 416.5 MB, free: 9.398 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.5294, allocations: 3.953 kB / 416.5 MB, free: 9.395 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5294, allocations: 0 / 416.5 MB, free: 9.395 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5294, allocations: 0 / 416.5 MB, free: 9.395 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006153/0.53, allocations: 266.9 kB / 416.8 MB, free: 9.117 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002585/0.5303, allocations: 160.5 kB / 416.9 MB, free: 8.941 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.463e-05/0.5304, allocations: 8 kB / 416.9 MB, free: 8.934 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.5306, allocations: 15.94 kB / 417 MB, free: 8.918 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.703e-05/0.5307, allocations: 7.984 kB / 417 MB, free: 8.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.5307, allocations: 0 / 417 MB, free: 8.91 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001173/0.5319, allocations: 0.6237 MB / 417.6 MB, free: 8.289 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5319, allocations: 0 / 417.6 MB, free: 8.289 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004183/0.5323, allocations: 63.94 kB / 417.7 MB, free: 8.227 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 (7): * Single equations (assignments): 7 * 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.000701/0.5331, allocations: 249.6 kB / 417.9 MB, free: 8.02 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005419/0.5336, allocations: 159.3 kB / 418.1 MB, free: 7.852 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.5336, allocations: 0 / 418.1 MB, free: 7.852 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002346/0.5339, allocations: 51.91 kB / 418.1 MB, free: 7.801 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.5342, allocations: 21.53 kB / 418.1 MB, free: 7.785 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.5362, allocations: 0.9482 MB / 419.1 MB, free: 6.805 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005319/0.5367, allocations: 0.8262 MB / 419.9 MB, free: 5.953 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.5369, allocations: 23.69 kB / 419.9 MB, free: 5.93 MB / 346.7 MB Notification: Performance of SimCode: time 6.31e-07/0.5369, allocations: 0 / 419.9 MB, free: 5.93 MB / 346.7 MB Notification: Performance of Templates: time 0.01092/0.5478, allocations: 4.027 MB / 424 MB, free: 1.891 MB / 346.7 MB