Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test3.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test3") Notification: Performance of loadModel(ModelicaTest): time 2.151/2.151, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.246e-05/2.26e-05, allocations: 4 kB / 303.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2747, allocations: 54.85 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1244/0.3991, allocations: 80.23 MB / 438.3 MB, free: 14.61 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.3994, allocations: 63.97 kB / 438.3 MB, free: 14.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01809/0.4175, allocations: 5.427 MB / 443.8 MB, free: 9.102 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.017e-06/0.4176, allocations: 0 / 443.8 MB, free: 9.102 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.609e-05/0.4176, allocations: 4 kB / 443.8 MB, free: 9.098 MB / 378.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.0007914/0.4184, allocations: 0.581 MB / 444.3 MB, free: 8.465 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.4185, allocations: 8.031 kB / 444.3 MB, free: 8.457 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.21e-05/0.4186, allocations: 35.53 kB / 444.4 MB, free: 8.422 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005691/0.4192, allocations: 331.2 kB / 444.7 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.4192, allocations: 4 kB / 444.7 MB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.4192, allocations: 0 / 444.7 MB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.155e-05/0.4193, allocations: 16 kB / 444.7 MB, free: 8.035 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.4195, allocations: 49.62 kB / 444.8 MB, free: 7.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.4195, allocations: 4 kB / 444.8 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.4195, allocations: 0 / 444.8 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.396e-06/0.4195, allocations: 4 kB / 444.8 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00069/0.4202, allocations: 397.4 kB / 445.2 MB, free: 7.547 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.937e-05/0.4203, allocations: 30.52 kB / 445.2 MB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.451e-05/0.4204, allocations: 24.81 kB / 445.2 MB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.4204, allocations: 0 / 445.2 MB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.4205, allocations: 30.56 kB / 445.2 MB, free: 7.441 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 2.074e-06/0.4205, allocations: 0 / 445.2 MB, free: 7.441 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006773/0.4212, allocations: 221.9 kB / 445.5 MB, free: 7.219 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.4212, allocations: 59.38 kB / 445.5 MB, free: 7.148 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/0.4228, allocations: 0.7394 MB / 446.3 MB, free: 6.402 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.4229, allocations: 25.7 kB / 446.3 MB, free: 6.371 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.4231, allocations: 234.5 kB / 446.5 MB, free: 6.141 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.4231, allocations: 23.66 kB / 446.5 MB, free: 6.117 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-06/0.4231, allocations: 0 / 446.5 MB, free: 6.117 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.4233, allocations: 314.8 kB / 446.8 MB, free: 5.801 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.381e-05/0.4234, allocations: 16 kB / 446.9 MB, free: 5.785 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.295e-05/0.4234, allocations: 12 kB / 446.9 MB, free: 5.773 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.742e-05/0.4235, allocations: 24 kB / 446.9 MB, free: 5.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.227e-06/0.4235, allocations: 0 / 446.9 MB, free: 5.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001982/0.4237, allocations: 81.52 kB / 447 MB, free: 5.664 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.167e-05/0.4238, allocations: 30.8 kB / 447 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.394e-06/0.4238, allocations: 0 / 447 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.4238, allocations: 0 / 447 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.424, allocations: 27.97 kB / 447 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.39e-06/0.424, allocations: 0 / 447 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.4242, allocations: 16 kB / 447.1 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.4242, allocations: 4 kB / 447.1 MB, free: 5.582 MB / 378.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.663e-05/0.4243, allocations: 113 kB / 447.2 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.4244, allocations: 43.39 kB / 447.2 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002855/0.4247, allocations: 121.4 kB / 447.3 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.513e-06/0.4247, allocations: 4 kB / 447.3 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.89e-06/0.4247, allocations: 0 / 447.3 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.408e-06/0.4248, allocations: 4 kB / 447.3 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009715/0.4258, allocations: 0.5497 MB / 447.9 MB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/0.4258, allocations: 4 kB / 447.9 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.4259, allocations: 19.98 kB / 447.9 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.097e-06/0.4259, allocations: 0 / 447.9 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.847e-06/0.426, allocations: 0 / 447.9 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.824e-06/0.426, allocations: 4 kB / 447.9 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.842e-06/0.426, allocations: 3.938 kB / 447.9 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.4263, allocations: 207.5 kB / 448.1 MB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002295/0.4265, allocations: 164.4 kB / 448.3 MB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.102e-05/0.4266, allocations: 4 kB / 448.3 MB, free: 4.262 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.4268, allocations: 11.98 kB / 448.3 MB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.4268, allocations: 4 kB / 448.3 MB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.4269, allocations: 8 kB / 448.3 MB, free: 4.238 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009065/0.4278, allocations: 0.6004 MB / 448.9 MB, free: 3.641 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.09e-07/0.4278, allocations: 0 / 448.9 MB, free: 3.641 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004249/0.4282, allocations: 52 kB / 449 MB, free: 3.59 MB / 378.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.0008209/0.4291, allocations: 255.8 kB / 449.2 MB, free: 3.367 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002159/0.4293, allocations: 95.34 kB / 449.3 MB, free: 3.262 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.692e-06/0.4293, allocations: 0 / 449.3 MB, free: 3.262 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.433e-05/0.4294, allocations: 24 kB / 449.3 MB, free: 3.238 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.4297, allocations: 26.02 kB / 449.3 MB, free: 3.215 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.4312, allocations: 0.7511 MB / 450.1 MB, free: 2.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006083/0.4319, allocations: 0.8263 MB / 450.9 MB, free: 1.578 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.432, allocations: 19.44 kB / 450.9 MB, free: 1.559 MB / 378.7 MB Notification: Performance of SimCode: time 1.705e-06/0.432, allocations: 4 kB / 450.9 MB, free: 1.555 MB / 378.7 MB Notification: Performance of Templates: time 0.01014/0.4421, allocations: 4.017 MB / 455 MB, free: 13.53 MB / 394.7 MB