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.Test6.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.022/2.022, allocations: 209.4 MB / 217.3 MB, free: 4.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.646e-05/1.651e-05, allocations: 4 kB / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3, allocations: 48.69 MB / 320 MB, free: 14.3 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1543/0.4544, allocations: 73.72 MB / 393.7 MB, free: 6.637 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/0.4547, allocations: 67.95 kB / 393.8 MB, free: 6.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01662/0.4713, allocations: 5.186 MB / 399 MB, free: 1.371 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.336e-06/0.4714, allocations: 0 / 399 MB, free: 1.371 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.431e-05/0.4714, allocations: 12 kB / 399 MB, free: 1.359 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007354/0.4722, allocations: 0.5694 MB / 399.6 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.4722, allocations: 8.031 kB / 399.6 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.321e-05/0.4723, allocations: 43.44 kB / 399.6 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005314/0.4729, allocations: 319.4 kB / 399.9 MB, free: 340 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.4729, allocations: 0 / 399.9 MB, free: 340 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.4729, allocations: 4 kB / 399.9 MB, free: 336 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.866e-05/0.473, allocations: 15.94 kB / 399.9 MB, free: 320 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.4731, allocations: 49.67 kB / 400 MB, free: 264 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.4732, allocations: 3.938 kB / 400 MB, free: 260 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.874e-06/0.4732, allocations: 0 / 400 MB, free: 260 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.672e-06/0.4732, allocations: 4 kB / 400 MB, free: 256 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006706/0.4739, allocations: 405.2 kB / 400.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.304e-05/0.474, allocations: 42.56 kB / 400.4 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.23e-05/0.4741, allocations: 16.8 kB / 400.5 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.4741, allocations: 3.938 kB / 400.5 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.4741, allocations: 34.56 kB / 400.5 MB, free: 15.7 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.121e-06/0.4741, allocations: 0 / 400.5 MB, free: 15.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006567/0.4748, allocations: 208.1 kB / 400.7 MB, free: 15.49 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.4749, allocations: 59.34 kB / 400.8 MB, free: 15.42 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/0.4765, allocations: 0.7355 MB / 401.5 MB, free: 14.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.4765, allocations: 25.7 kB / 401.5 MB, free: 14.64 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/0.4767, allocations: 234.5 kB / 401.7 MB, free: 14.41 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.4768, allocations: 27.64 kB / 401.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.4768, allocations: 0 / 401.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.477, allocations: 310.8 kB / 402.1 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.565e-05/0.477, allocations: 16 kB / 402.1 MB, free: 14.06 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.199e-05/0.4771, allocations: 20 kB / 402.1 MB, free: 14.04 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.26e-05/0.4772, allocations: 20.3 kB / 402.1 MB, free: 14.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.097e-06/0.4772, allocations: 0 / 402.1 MB, free: 14.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002003/0.4774, allocations: 77.66 kB / 402.2 MB, free: 13.94 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.271e-05/0.4774, allocations: 32.05 kB / 402.2 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.526e-06/0.4775, allocations: 0 / 402.2 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.4775, allocations: 4 kB / 402.2 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.4777, allocations: 23.92 kB / 402.3 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.4777, allocations: 7.953 kB / 402.3 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.4778, allocations: 19.98 kB / 402.3 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.4779, allocations: 0 / 402.3 MB, free: 13.85 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 () * 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 9.451e-05/0.478, allocations: 105 kB / 402.4 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.4781, allocations: 39.44 kB / 402.4 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002887/0.4784, allocations: 129.5 kB / 402.6 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.4784, allocations: 0 / 402.6 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4784, allocations: 4 kB / 402.6 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.28e-06/0.4784, allocations: 3.953 kB / 402.6 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009547/0.4794, allocations: 0.5497 MB / 403.1 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.021e-06/0.4794, allocations: 0 / 403.1 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.4796, allocations: 19.98 kB / 403.1 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.457e-06/0.4796, allocations: 4 kB / 403.1 MB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.4796, allocations: 3.938 kB / 403.1 MB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.4796, allocations: 7.984 kB / 403.2 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.837e-06/0.4796, allocations: 3.953 kB / 403.2 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002949/0.4799, allocations: 206.9 kB / 403.4 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002245/0.4802, allocations: 152.6 kB / 403.5 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.076e-05/0.4802, allocations: 0 / 403.5 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.4804, allocations: 11.98 kB / 403.5 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.4805, allocations: 11.98 kB / 403.5 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.4805, allocations: 7.953 kB / 403.5 MB, free: 12.51 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000898/0.4814, allocations: 0.5965 MB / 404.1 MB, free: 11.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.7e-07/0.4814, allocations: 0 / 404.1 MB, free: 11.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004272/0.4819, allocations: 56 kB / 404.2 MB, free: 11.86 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 () * 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.0006363/0.4825, allocations: 218.5 kB / 404.4 MB, free: 11.68 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002047/0.4827, allocations: 99.33 kB / 404.5 MB, free: 11.57 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.646e-06/0.4828, allocations: 4 kB / 404.5 MB, free: 11.56 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.9e-05/0.4828, allocations: 20 kB / 404.5 MB, free: 11.54 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.4831, allocations: 14.09 kB / 404.5 MB, free: 11.53 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.4846, allocations: 0.7483 MB / 405.3 MB, free: 10.75 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006044/0.4853, allocations: 0.8224 MB / 406.1 MB, free: 9.902 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.4854, allocations: 31.44 kB / 406.1 MB, free: 9.871 MB / 346.7 MB Notification: Performance of SimCode: time 1.45e-06/0.4854, allocations: 0 / 406.1 MB, free: 9.871 MB / 346.7 MB Notification: Performance of Templates: time 0.009946/0.4954, allocations: 4.023 MB / 410.2 MB, free: 5.836 MB / 346.7 MB