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.Test23.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test23") Notification: Performance of loadModel(ModelicaTest): time 2.295/2.295, allocations: 234.9 MB / 250.5 MB, free: 9.465 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007049/0.0007051, allocations: 19.98 kB / 314.3 MB, free: 9.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.294, allocations: 54.86 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test23): time 0.002677/0.2967, allocations: 1.571 MB / 370.8 MB, free: 9.121 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002214/0.299, allocations: 1.042 MB / 371.8 MB, free: 8.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.2991, allocations: 0 / 371.8 MB, free: 8.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001788/0.2993, allocations: 27.72 kB / 371.8 MB, free: 8.043 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003406/0.2997, allocations: 123.7 kB / 371.9 MB, free: 7.922 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003784/0.3001, allocations: 123.6 kB / 372.1 MB, free: 7.801 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003137/0.3004, allocations: 175.7 kB / 372.2 MB, free: 7.629 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.3006, allocations: 44.55 kB / 372.3 MB, free: 7.582 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002155/0.3008, allocations: 107.6 kB / 372.4 MB, free: 7.477 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002716/0.3011, allocations: 151.5 kB / 372.5 MB, free: 7.328 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.46e-05/0.3012, allocations: 11.94 kB / 372.5 MB, free: 7.316 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.3013, allocations: 47.98 kB / 372.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.3015, allocations: 107.6 kB / 372.7 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.119e-05/0.3016, allocations: 73.45 kB / 372.8 MB, free: 7.086 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004383/0.3021, allocations: 284.2 kB / 373 MB, free: 6.809 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.433e-06/0.3021, allocations: 0 / 373 MB, free: 6.809 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.99e-06/0.3021, allocations: 0 / 373 MB, free: 6.809 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.426e-06/0.3021, allocations: 0 / 373 MB, free: 6.809 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001199/0.3033, allocations: 0.7965 MB / 373.8 MB, free: 5.938 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.3034, allocations: 8.031 kB / 373.9 MB, free: 5.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.3035, allocations: 51.34 kB / 373.9 MB, free: 5.879 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006584/0.3042, allocations: 399.2 kB / 374.3 MB, free: 5.445 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.3042, allocations: 12 kB / 374.3 MB, free: 5.434 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.258e-05/0.3043, allocations: 15.91 kB / 374.3 MB, free: 5.418 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004152/0.3047, allocations: 151.2 kB / 374.5 MB, free: 5.258 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.3047, allocations: 4 kB / 374.5 MB, free: 5.254 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.3047, allocations: 4 kB / 374.5 MB, free: 5.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.3048, allocations: 11.94 kB / 374.5 MB, free: 5.238 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004156/0.3052, allocations: 123.8 kB / 374.6 MB, free: 5.117 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.3064, allocations: 0.6527 MB / 375.3 MB, free: 4.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003953/0.3069, allocations: 141.2 kB / 375.4 MB, free: 4.254 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.674e-05/0.3069, allocations: 0 / 375.4 MB, free: 4.254 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/0.307, allocations: 38.5 kB / 375.4 MB, free: 4.207 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 2.489e-06/0.307, allocations: 0 / 375.4 MB, free: 4.207 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.002729/0.3097, allocations: 0.7326 MB / 376.2 MB, free: 3.465 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.243e-05/0.3098, allocations: 89 kB / 376.3 MB, free: 3.359 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.3111, allocations: 0.8035 MB / 377.1 MB, free: 2.547 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.365e-05/0.3112, allocations: 33.89 kB / 377.1 MB, free: 2.508 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002252/0.3114, allocations: 250.9 kB / 377.3 MB, free: 2.262 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.215e-05/0.3115, allocations: 74.94 kB / 377.4 MB, free: 2.188 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.725e-05/0.3115, allocations: 224 / 377.4 MB, free: 2.188 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.3117, allocations: 326.8 kB / 377.7 MB, free: 1.859 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00041/0.3121, allocations: 115.9 kB / 377.8 MB, free: 1.746 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004057/0.3126, allocations: 137.6 kB / 378 MB, free: 1.605 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004806/0.3131, allocations: 222.8 kB / 378.2 MB, free: 1.363 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.65e-06/0.3131, allocations: 0 / 378.2 MB, free: 1.363 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001121/0.3142, allocations: 424.1 kB / 378.6 MB, free: 0.918 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/0.3143, allocations: 114.8 kB / 378.7 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.352e-06/0.3144, allocations: 4 kB / 378.7 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.3144, allocations: 0 / 378.7 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000388/0.3148, allocations: 63.95 kB / 378.8 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.3148, allocations: 3.953 kB / 378.8 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002722/0.3151, allocations: 31.97 kB / 378.8 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-05/0.3151, allocations: 8 kB / 378.8 MB, free: 0.6719 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 4 * 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.0003113/0.3155, allocations: 209.7 kB / 379 MB, free: 468 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.3156, allocations: 47.34 kB / 379.1 MB, free: 420 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001149/0.3168, allocations: 389.3 kB / 379.5 MB, free: 24 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.934e-06/0.3168, allocations: 0 / 379.5 MB, free: 24 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.053e-06/0.3168, allocations: 4 kB / 379.5 MB, free: 20 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.3168, allocations: 7.938 kB / 379.5 MB, free: 12 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001998/0.3188, allocations: 0.8881 MB / 380.4 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.672e-06/0.3189, allocations: 0.75 kB / 380.4 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003534/0.3192, allocations: 67.83 kB / 380.4 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.069e-06/0.3193, allocations: 0 / 380.4 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.256e-05/0.3193, allocations: 19.94 kB / 380.4 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.321e-06/0.3193, allocations: 0 / 380.4 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.805e-06/0.3194, allocations: 4 kB / 380.5 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.3204, allocations: 0.499 MB / 381 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001967/0.3207, allocations: 136.5 kB / 381.1 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.346e-05/0.3207, allocations: 4 kB / 381.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003285/0.3211, allocations: 31.97 kB / 381.1 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.783e-05/0.3212, allocations: 23.92 kB / 381.1 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/0.3212, allocations: 8 kB / 381.2 MB, free: 14.24 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009468/0.3222, allocations: 0.5886 MB / 381.7 MB, free: 13.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.56e-07/0.3222, allocations: 0 / 381.7 MB, free: 13.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005693/0.3228, allocations: 75.98 kB / 381.8 MB, free: 13.58 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.00208/0.3249, allocations: 0.5891 MB / 382.4 MB, free: 13.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001168/0.3261, allocations: 493.6 kB / 382.9 MB, free: 12.55 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.204e-06/0.3261, allocations: 4 kB / 382.9 MB, free: 12.55 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004478/0.3266, allocations: 135.9 kB / 383 MB, free: 12.42 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00053/0.3271, allocations: 46.28 kB / 383.1 MB, free: 12.37 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.329, allocations: 0.9659 MB / 384 MB, free: 11.37 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006393/0.3297, allocations: 0.8463 MB / 384.9 MB, free: 10.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.3299, allocations: 39.42 kB / 384.9 MB, free: 10.46 MB / 314.7 MB Notification: Performance of SimCode: time 1.846e-06/0.3299, allocations: 0 / 384.9 MB, free: 10.46 MB / 314.7 MB Notification: Performance of Templates: time 0.01145/0.3414, allocations: 5.519 MB / 390.4 MB, free: 4.93 MB / 314.7 MB