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.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test9") Notification: Performance of loadModel(ModelicaTest): time 1.846/1.846, allocations: 209.3 MB / 222.4 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.959e-05/2.979e-05, allocations: 4 kB / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08682/0.08687, allocations: 48.71 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3395/0.4265, allocations: 74.26 MB / 400.8 MB, free: 10.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/0.4267, allocations: 71.03 kB / 400.9 MB, free: 10.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01446/0.4412, allocations: 5.085 MB / 406 MB, free: 8.297 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4412, allocations: 0 / 406 MB, free: 8.297 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.65e-05/0.4413, allocations: 7.688 kB / 406 MB, free: 8.297 MB / 314.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.0004902/0.4418, allocations: 0.5702 MB / 406.5 MB, free: 7.777 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.4418, allocations: 15.38 kB / 406.5 MB, free: 7.773 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.695e-05/0.4419, allocations: 42.97 kB / 406.6 MB, free: 7.746 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004156/0.4423, allocations: 317.3 kB / 406.9 MB, free: 7.488 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.31e-06/0.4424, allocations: 3 kB / 406.9 MB, free: 7.488 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.4424, allocations: 7.828 kB / 406.9 MB, free: 7.484 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.4425, allocations: 44 kB / 407 MB, free: 7.449 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.758e-06/0.4425, allocations: 0 / 407 MB, free: 7.449 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.79e-06/0.4426, allocations: 0 / 407 MB, free: 7.449 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.4426, allocations: 0 / 407 MB, free: 7.449 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.505e-05/0.4426, allocations: 11.16 kB / 407 MB, free: 7.449 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005049/0.4431, allocations: 424 kB / 407.4 MB, free: 7.137 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.274e-05/0.4432, allocations: 36.69 kB / 407.4 MB, free: 7.105 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.446e-05/0.4433, allocations: 16.11 kB / 407.4 MB, free: 7.098 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.4433, allocations: 0 / 407.4 MB, free: 7.098 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.4433, allocations: 34.56 kB / 407.5 MB, free: 7.055 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.997e-06/0.4434, allocations: 0 / 407.5 MB, free: 7.055 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002059/0.4436, allocations: 94.5 kB / 407.6 MB, free: 6.992 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.924e-05/0.4436, allocations: 51.41 kB / 407.6 MB, free: 6.93 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001528/0.4451, allocations: 0.7594 MB / 408.4 MB, free: 6.738 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.4452, allocations: 25.7 kB / 408.4 MB, free: 6.707 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.4453, allocations: 232.9 kB / 408.6 MB, free: 6.559 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.4453, allocations: 7.844 kB / 408.6 MB, free: 6.551 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.558e-06/0.4454, allocations: 0 / 408.6 MB, free: 6.551 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.91e-05/0.4454, allocations: 322.6 kB / 408.9 MB, free: 6.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.564e-05/0.4455, allocations: 7.281 kB / 408.9 MB, free: 6.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.001e-05/0.4455, allocations: 11.33 kB / 409 MB, free: 6.227 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.447e-05/0.4456, allocations: 37.08 kB / 409 MB, free: 6.195 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.573e-06/0.4456, allocations: 0 / 409 MB, free: 6.195 MB / 314.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001356/0.4457, allocations: 78.7 kB / 409.1 MB, free: 6.125 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.4458, allocations: 29.58 kB / 409.1 MB, free: 6.094 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.128e-06/0.4458, allocations: 0 / 409.1 MB, free: 6.094 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.4458, allocations: 0 / 409.1 MB, free: 6.094 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.4459, allocations: 23.08 kB / 409.1 MB, free: 6.086 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.299e-06/0.446, allocations: 0 / 409.1 MB, free: 6.086 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.4461, allocations: 11.69 kB / 409.1 MB, free: 6.078 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.4461, allocations: 3.875 kB / 409.1 MB, free: 6.078 MB / 314.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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 4.856e-05/0.4462, allocations: 104.9 kB / 409.2 MB, free: 5.969 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.108e-05/0.4463, allocations: 38.72 kB / 409.3 MB, free: 5.949 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001896/0.4465, allocations: 102.1 kB / 409.4 MB, free: 5.891 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.4465, allocations: 4 kB / 409.4 MB, free: 5.887 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.052e-06/0.4465, allocations: 0 / 409.4 MB, free: 5.887 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.491e-06/0.4465, allocations: 3.844 kB / 409.4 MB, free: 5.887 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003195/0.4468, allocations: 320.1 kB / 409.7 MB, free: 5.637 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.4468, allocations: 240 / 409.7 MB, free: 5.637 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.072e-05/0.4469, allocations: 15.64 kB / 409.7 MB, free: 5.633 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.37e-06/0.4469, allocations: 0 / 409.7 MB, free: 5.633 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-06/0.447, allocations: 0 / 409.7 MB, free: 5.633 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.349e-06/0.447, allocations: 0 / 409.7 MB, free: 5.633 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.994e-06/0.447, allocations: 3.984 kB / 409.7 MB, free: 5.629 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.4472, allocations: 191 kB / 409.9 MB, free: 5.465 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.4473, allocations: 149.8 kB / 410.1 MB, free: 5.348 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.039e-05/0.4474, allocations: 7.875 kB / 410.1 MB, free: 5.344 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.4476, allocations: 10.89 kB / 410.1 MB, free: 5.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.4476, allocations: 11.69 kB / 410.1 MB, free: 5.332 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.925e-06/0.4476, allocations: 0 / 410.1 MB, free: 5.332 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007729/0.4484, allocations: 0.6175 MB / 410.7 MB, free: 5.188 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.65e-07/0.4484, allocations: 4 kB / 410.7 MB, free: 5.184 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003887/0.4488, allocations: 45.69 kB / 410.7 MB, free: 5.184 MB / 314.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.000555/0.4494, allocations: 210 kB / 411 MB, free: 5.047 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000133/0.4495, allocations: 75.06 kB / 411 MB, free: 4.984 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.761e-06/0.4496, allocations: 0 / 411 MB, free: 4.984 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.773e-05/0.4496, allocations: 11.66 kB / 411 MB, free: 4.98 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.4499, allocations: 22.92 kB / 411.1 MB, free: 4.977 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.4511, allocations: 0.7302 MB / 411.8 MB, free: 4.688 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.4514, allocations: 0.8172 MB / 412.6 MB, free: 3.938 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.633e-05/0.4515, allocations: 23.3 kB / 412.6 MB, free: 3.922 MB / 314.7 MB Notification: Performance of SimCode: time 1.784e-06/0.4515, allocations: 0 / 412.6 MB, free: 3.922 MB / 314.7 MB Notification: Performance of Templates: time 0.008203/0.4597, allocations: 3.734 MB / 416.4 MB, free: 1.051 MB / 314.7 MB