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.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test20") Notification: Performance of loadModel(ModelicaTest): time 2.227/2.227, allocations: 234.9 MB / 250.5 MB, free: 9.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009196/0.0009201, allocations: 16 kB / 314.3 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3251, allocations: 54.86 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test20): time 0.002647/0.3278, allocations: 1.504 MB / 370.7 MB, free: 9.184 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.3296, allocations: 0.7561 MB / 371.4 MB, free: 8.422 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.3298, allocations: 4 kB / 371.4 MB, free: 8.418 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00049/0.3303, allocations: 215.5 kB / 371.7 MB, free: 8.207 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003418/0.3306, allocations: 143.7 kB / 371.8 MB, free: 8.066 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005558/0.3312, allocations: 131.6 kB / 371.9 MB, free: 7.938 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003422/0.3316, allocations: 179.4 kB / 372.1 MB, free: 7.762 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.3318, allocations: 52.2 kB / 372.2 MB, free: 7.711 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.3319, allocations: 103.7 kB / 372.3 MB, free: 7.609 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.3322, allocations: 143.5 kB / 372.4 MB, free: 7.469 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.3322, allocations: 3.938 kB / 372.4 MB, free: 7.465 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000234/0.3325, allocations: 71.89 kB / 372.5 MB, free: 7.395 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.496e-05/0.3326, allocations: 47.84 kB / 372.5 MB, free: 7.348 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.584e-05/0.3327, allocations: 61.52 kB / 372.6 MB, free: 7.281 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003599/0.3331, allocations: 211.7 kB / 372.8 MB, free: 7.074 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.784e-06/0.3331, allocations: 4 kB / 372.8 MB, free: 7.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.058e-06/0.3331, allocations: 0 / 372.8 MB, free: 7.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.3331, allocations: 0 / 372.8 MB, free: 7.07 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008711/0.334, allocations: 0.6787 MB / 373.5 MB, free: 6.312 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.334, allocations: 8.031 kB / 373.5 MB, free: 6.305 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.901e-05/0.3341, allocations: 35.58 kB / 373.5 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003827/0.3345, allocations: 259 kB / 373.8 MB, free: 5.973 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.3346, allocations: 15.94 kB / 373.8 MB, free: 5.957 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.282e-05/0.3346, allocations: 12 kB / 373.8 MB, free: 5.945 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000335/0.335, allocations: 113.6 kB / 373.9 MB, free: 5.828 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.335, allocations: 0 / 373.9 MB, free: 5.828 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.3351, allocations: 4 kB / 373.9 MB, free: 5.824 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.39e-06/0.3351, allocations: 4 kB / 373.9 MB, free: 5.82 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002458/0.3353, allocations: 79.91 kB / 374 MB, free: 5.742 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008504/0.3362, allocations: 460.3 kB / 374.4 MB, free: 5.242 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/0.3365, allocations: 98.48 kB / 374.5 MB, free: 5.137 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.981e-05/0.3365, allocations: 4 kB / 374.5 MB, free: 5.133 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.3366, allocations: 34.56 kB / 374.6 MB, free: 5.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 2.692e-06/0.3366, allocations: 0 / 374.6 MB, free: 5.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.001274/0.3379, allocations: 400.4 kB / 375 MB, free: 4.691 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.3379, allocations: 51.41 kB / 375 MB, free: 4.629 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007051/0.3387, allocations: 489.4 kB / 375.5 MB, free: 4.141 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.3387, allocations: 29.7 kB / 375.5 MB, free: 4.105 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.3389, allocations: 218.9 kB / 375.7 MB, free: 3.891 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.699e-05/0.339, allocations: 59.19 kB / 375.8 MB, free: 3.832 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.353e-05/0.339, allocations: 4 kB / 375.8 MB, free: 3.828 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.3392, allocations: 322.8 kB / 376.1 MB, free: 3.504 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.3394, allocations: 68.22 kB / 376.2 MB, free: 3.438 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/0.3396, allocations: 70.78 kB / 376.2 MB, free: 3.371 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.3399, allocations: 197.4 kB / 376.4 MB, free: 3.148 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.92e-06/0.34, allocations: 4 kB / 376.4 MB, free: 3.145 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006458/0.3406, allocations: 346.1 kB / 376.8 MB, free: 2.773 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.3407, allocations: 136.5 kB / 376.9 MB, free: 2.609 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.625e-06/0.3408, allocations: 3.938 kB / 376.9 MB, free: 2.605 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.3408, allocations: 3.984 kB / 376.9 MB, free: 2.602 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.341, allocations: 43.91 kB / 377 MB, free: 2.559 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.341, allocations: 8 kB / 377 MB, free: 2.551 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.3411, allocations: 7.953 kB / 377 MB, free: 2.543 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.3412, allocations: 12 kB / 377 MB, free: 2.531 MB / 298.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 (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 5 * 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.0002389/0.3414, allocations: 161.8 kB / 377.1 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.394e-05/0.3415, allocations: 35.53 kB / 377.2 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006616/0.3422, allocations: 244.9 kB / 377.4 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.642e-06/0.3422, allocations: 4 kB / 377.4 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.072e-06/0.3422, allocations: 0 / 377.4 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.3423, allocations: 3.984 kB / 377.4 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.3434, allocations: 0.6046 MB / 378 MB, free: 1.414 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.937e-06/0.3435, allocations: 4 kB / 378 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.3436, allocations: 31.98 kB / 378.1 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.195e-06/0.3436, allocations: 0 / 378.1 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.3437, allocations: 15.94 kB / 378.1 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.247e-06/0.3437, allocations: 4 kB / 378.1 MB, free: 1.359 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.338e-06/0.3437, allocations: 3.938 kB / 378.1 MB, free: 1.355 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005543/0.3443, allocations: 300.8 kB / 378.4 MB, free: 1.047 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.3444, allocations: 104.7 kB / 378.5 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.199e-05/0.3445, allocations: 12 kB / 378.5 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.3446, allocations: 7.953 kB / 378.5 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.775e-05/0.3447, allocations: 15.98 kB / 378.5 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.3447, allocations: 4 kB / 378.5 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004941/0.3452, allocations: 355 kB / 378.9 MB, free: 0.543 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.96e-07/0.3452, allocations: 0 / 378.9 MB, free: 0.543 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004383/0.3457, allocations: 64 kB / 378.9 MB, free: 492 kB / 298.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 (17): * Single equations (assignments): 17 * 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.002861/0.3485, allocations: 0.7827 MB / 379.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007659/0.3493, allocations: 432.9 kB / 380.1 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.867e-06/0.3494, allocations: 0 / 380.1 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002201/0.3496, allocations: 79.91 kB / 380.2 MB, free: 15.22 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.3501, allocations: 41.34 kB / 380.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.3514, allocations: 0.6613 MB / 380.9 MB, free: 14.49 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005392/0.352, allocations: 0.7907 MB / 381.7 MB, free: 13.67 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.641e-05/0.3521, allocations: 23.44 kB / 381.7 MB, free: 13.65 MB / 314.7 MB Notification: Performance of SimCode: time 1.665e-06/0.3521, allocations: 0 / 381.7 MB, free: 13.65 MB / 314.7 MB Notification: Performance of Templates: time 0.008446/0.3605, allocations: 3.902 MB / 385.6 MB, free: 9.738 MB / 314.7 MB