Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test7.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test7") Notification: Performance of loadModel(ModelicaTest): time 1.81/1.81, allocations: 209.3 MB / 224.8 MB, free: 1.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009328/0.0009331, allocations: 12 kB / 282.6 MB, free: 9.723 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0891/0.09008, allocations: 48.7 MB / 331.3 MB, free: 8.93 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3254/0.4155, allocations: 74.41 MB / 405.7 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/0.4158, allocations: 71.91 kB / 405.8 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01686/0.4327, allocations: 5.051 MB / 410.8 MB, free: 5.648 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.763e-06/0.4327, allocations: 0 / 410.8 MB, free: 5.648 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.332e-05/0.4328, allocations: 8 kB / 410.8 MB, free: 5.641 MB / 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.0008388/0.4336, allocations: 0.6339 MB / 411.5 MB, free: 4.953 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.4337, allocations: 8.031 kB / 411.5 MB, free: 4.945 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.495e-05/0.4338, allocations: 43.44 kB / 411.5 MB, free: 4.902 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005422/0.4343, allocations: 315.3 kB / 411.8 MB, free: 4.551 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.4343, allocations: 4 kB / 411.8 MB, free: 4.547 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.4344, allocations: 0 / 411.8 MB, free: 4.547 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.4345, allocations: 55.06 kB / 411.9 MB, free: 4.488 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.079e-06/0.4346, allocations: 0 / 411.9 MB, free: 4.488 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.4346, allocations: 4 kB / 411.9 MB, free: 4.484 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.157e-06/0.4346, allocations: 0 / 411.9 MB, free: 4.484 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.4347, allocations: 23.98 kB / 411.9 MB, free: 4.461 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007064/0.4355, allocations: 424.7 kB / 412.3 MB, free: 3.996 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.4356, allocations: 34.52 kB / 412.3 MB, free: 3.953 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.4356, allocations: 3.938 kB / 412.3 MB, free: 3.949 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.4357, allocations: 34.56 kB / 412.4 MB, free: 3.906 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 2.257e-06/0.4357, allocations: 0 / 412.4 MB, free: 3.906 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003474/0.436, allocations: 105.3 kB / 412.5 MB, free: 3.797 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.4361, allocations: 55.36 kB / 412.5 MB, free: 3.73 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001684/0.4378, allocations: 0.7666 MB / 413.3 MB, free: 2.957 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.4378, allocations: 29.7 kB / 413.3 MB, free: 2.922 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/0.4381, allocations: 230.6 kB / 413.6 MB, free: 2.695 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.4381, allocations: 11.84 kB / 413.6 MB, free: 2.684 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.58e-06/0.4381, allocations: 0 / 413.6 MB, free: 2.684 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.4383, allocations: 323 kB / 413.9 MB, free: 2.359 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.62e-05/0.4384, allocations: 8 kB / 413.9 MB, free: 2.352 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.714e-05/0.4384, allocations: 15.98 kB / 413.9 MB, free: 2.336 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.248e-05/0.4385, allocations: 33.7 kB / 413.9 MB, free: 2.297 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.68e-06/0.4386, allocations: 0 / 413.9 MB, free: 2.297 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002289/0.4388, allocations: 91.38 kB / 414 MB, free: 2.195 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.348e-05/0.4389, allocations: 33.7 kB / 414.1 MB, free: 2.156 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.979e-06/0.4389, allocations: 0 / 414.1 MB, free: 2.156 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.4389, allocations: 0 / 414.1 MB, free: 2.156 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.626e-05/0.439, allocations: 11.92 kB / 414.1 MB, free: 2.145 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.189e-06/0.439, allocations: 4.859 kB / 414.1 MB, free: 2.141 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.4391, allocations: 11.86 kB / 414.1 MB, free: 2.129 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.4391, allocations: 7.938 kB / 414.1 MB, free: 2.121 MB / 330.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 (3): * Single equations (assignments): 2 * 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.0002628/0.4394, allocations: 205.8 kB / 414.3 MB, free: 1.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.4395, allocations: 39.53 kB / 414.3 MB, free: 1.871 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002775/0.4398, allocations: 104.5 kB / 414.4 MB, free: 1.762 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.939e-06/0.4398, allocations: 3.984 kB / 414.4 MB, free: 1.758 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.514e-06/0.4399, allocations: 0 / 414.4 MB, free: 1.758 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.36e-06/0.4399, allocations: 0 / 414.4 MB, free: 1.758 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004465/0.4403, allocations: 321.4 kB / 414.8 MB, free: 1.395 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.198e-06/0.4403, allocations: 0 / 414.8 MB, free: 1.395 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.509e-05/0.4404, allocations: 16.02 kB / 414.8 MB, free: 1.379 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.568e-06/0.4404, allocations: 144 / 414.8 MB, free: 1.379 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.208e-06/0.4404, allocations: 0 / 414.8 MB, free: 1.379 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.123e-06/0.4405, allocations: 0 / 414.8 MB, free: 1.379 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.39e-06/0.4405, allocations: 3.984 kB / 414.8 MB, free: 1.375 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.4408, allocations: 194.9 kB / 415 MB, free: 1.168 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002457/0.441, allocations: 160.5 kB / 415.1 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.894e-05/0.4411, allocations: 0 / 415.1 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.4412, allocations: 8 kB / 415.1 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.4413, allocations: 4 kB / 415.1 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.4413, allocations: 0 / 415.1 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009816/0.4423, allocations: 0.6276 MB / 415.8 MB, free: 364 kB / 330.7 MB Notification: Performance of sort global known variables: time 8.8e-07/0.4423, allocations: 0 / 415.8 MB, free: 364 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004052/0.4427, allocations: 44 kB / 415.8 MB, free: 320 kB / 330.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 (2): * Single equations (assignments): 2 * 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.000628/0.4434, allocations: 212.2 kB / 416 MB, free: 136 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002324/0.4436, allocations: 87.27 kB / 416.1 MB, free: 36 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.704e-06/0.4436, allocations: 0 / 416.1 MB, free: 36 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.757e-05/0.4437, allocations: 16 kB / 416.1 MB, free: 20 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.444, allocations: 25.95 kB / 416.1 MB, free: 15.99 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.4457, allocations: 0.9007 MB / 417 MB, free: 15.06 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006124/0.4464, allocations: 0.8223 MB / 417.9 MB, free: 14.21 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.858e-05/0.4465, allocations: 19.69 kB / 417.9 MB, free: 14.2 MB / 346.7 MB Notification: Performance of SimCode: time 1.567e-06/0.4465, allocations: 0 / 417.9 MB, free: 14.2 MB / 346.7 MB Notification: Performance of Templates: time 0.009638/0.4561, allocations: 3.679 MB / 421.6 MB, free: 10.51 MB / 346.7 MB