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.Test30.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.Test30,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.Test30") Notification: Performance of loadModel(ModelicaTest): time 2.139/2.139, allocations: 234.9 MB / 250.5 MB, free: 10.45 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004466/0.0004468, allocations: 12 kB / 314.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3196, allocations: 54.89 MB / 369.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test30): time 0.002104/0.3217, allocations: 1.234 MB / 370.4 MB, free: 9.582 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005981/0.3223, allocations: 265.1 kB / 370.7 MB, free: 9.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.145e-05/0.3224, allocations: 0 / 370.7 MB, free: 9.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002032/0.3226, allocations: 67.78 kB / 370.8 MB, free: 9.254 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.3228, allocations: 39.94 kB / 370.8 MB, free: 9.215 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001273/0.3229, allocations: 35.83 kB / 370.8 MB, free: 9.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.3231, allocations: 47.95 kB / 370.9 MB, free: 9.133 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.491e-05/0.3232, allocations: 15.92 kB / 370.9 MB, free: 9.117 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.711e-05/0.3232, allocations: 27.91 kB / 370.9 MB, free: 9.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.919e-05/0.3234, allocations: 35.89 kB / 371 MB, free: 9.055 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.3234, allocations: 4 kB / 371 MB, free: 9.051 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.98e-05/0.3234, allocations: 12 kB / 371 MB, free: 9.039 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.864e-05/0.3235, allocations: 19.91 kB / 371 MB, free: 9.02 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.947e-05/0.3236, allocations: 37.64 kB / 371 MB, free: 8.977 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.3237, allocations: 63.91 kB / 371.1 MB, free: 8.914 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.381e-06/0.3237, allocations: 0 / 371.1 MB, free: 8.914 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.931e-06/0.3237, allocations: 0 / 371.1 MB, free: 8.914 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.242e-06/0.3237, allocations: 0 / 371.1 MB, free: 8.914 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005523/0.3243, allocations: 409.4 kB / 371.5 MB, free: 8.461 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.3243, allocations: 12.03 kB / 371.5 MB, free: 8.449 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.735e-05/0.3244, allocations: 11.86 kB / 371.5 MB, free: 8.438 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.3246, allocations: 189.5 kB / 371.7 MB, free: 8.215 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.3247, allocations: 4 kB / 371.7 MB, free: 8.211 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.3247, allocations: 8 kB / 371.7 MB, free: 8.203 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.3249, allocations: 53.67 kB / 371.8 MB, free: 8.145 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.3249, allocations: 4 kB / 371.8 MB, free: 8.141 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.325, allocations: 7.938 kB / 371.8 MB, free: 8.133 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.502e-06/0.325, allocations: 0 / 371.8 MB, free: 8.133 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.3252, allocations: 47.92 kB / 371.8 MB, free: 8.086 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004289/0.3256, allocations: 292.7 kB / 372.1 MB, free: 7.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.3258, allocations: 50.56 kB / 372.2 MB, free: 7.691 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.3258, allocations: 3.938 kB / 372.2 MB, free: 7.688 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.3259, allocations: 34.56 kB / 372.2 MB, free: 7.645 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 2.226e-06/0.3259, allocations: 0 / 372.2 MB, free: 7.645 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009758/0.3269, allocations: 253.4 kB / 372.4 MB, free: 7.391 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.3269, allocations: 51.41 kB / 372.5 MB, free: 7.328 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.3272, allocations: 190.5 kB / 372.7 MB, free: 7.133 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.3272, allocations: 25.7 kB / 372.7 MB, free: 7.102 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.3273, allocations: 162.6 kB / 372.9 MB, free: 6.941 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/0.3274, allocations: 27.64 kB / 372.9 MB, free: 6.914 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.394e-06/0.3274, allocations: 0 / 372.9 MB, free: 6.914 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3276, allocations: 314.8 kB / 373.2 MB, free: 6.598 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.3278, allocations: 44.05 kB / 373.2 MB, free: 6.555 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.3279, allocations: 47.95 kB / 373.3 MB, free: 6.508 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.3281, allocations: 69.91 kB / 373.4 MB, free: 6.434 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.951e-06/0.3281, allocations: 0 / 373.4 MB, free: 6.434 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004579/0.3286, allocations: 171.1 kB / 373.5 MB, free: 6.254 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.918e-05/0.3287, allocations: 29.7 kB / 373.5 MB, free: 6.219 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.3287, allocations: 4 kB / 373.6 MB, free: 6.215 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.3287, allocations: 0 / 373.6 MB, free: 6.215 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.3289, allocations: 27.98 kB / 373.6 MB, free: 6.188 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.325e-06/0.3289, allocations: 0 / 373.6 MB, free: 6.188 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.506e-05/0.329, allocations: 19.97 kB / 373.6 MB, free: 6.168 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.329, allocations: 4 kB / 373.6 MB, free: 6.164 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 (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 0.0001296/0.3292, allocations: 117.8 kB / 373.7 MB, free: 6.039 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.517e-05/0.3292, allocations: 23.78 kB / 373.7 MB, free: 6.016 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004486/0.3297, allocations: 146.3 kB / 373.9 MB, free: 5.863 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.99e-06/0.3297, allocations: 0 / 373.9 MB, free: 5.863 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.025e-06/0.3297, allocations: 0 / 373.9 MB, free: 5.863 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.81e-06/0.3297, allocations: 4 kB / 373.9 MB, free: 5.859 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007305/0.3305, allocations: 406.5 kB / 374.3 MB, free: 5.406 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.787e-06/0.3305, allocations: 0 / 374.3 MB, free: 5.406 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.3306, allocations: 27.92 kB / 374.3 MB, free: 5.379 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.768e-06/0.3306, allocations: 4 kB / 374.3 MB, free: 5.375 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.968e-06/0.3307, allocations: 0 / 374.3 MB, free: 5.375 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.373e-06/0.3307, allocations: 0 / 374.3 MB, free: 5.375 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.87e-06/0.3307, allocations: 0 / 374.3 MB, free: 5.375 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004403/0.3311, allocations: 227.4 kB / 374.5 MB, free: 5.137 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.884e-05/0.3312, allocations: 88.88 kB / 374.6 MB, free: 5.031 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.3313, allocations: 11.98 kB / 374.6 MB, free: 5.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.3314, allocations: 12 kB / 374.6 MB, free: 5.008 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/0.3315, allocations: 11.92 kB / 374.7 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.499e-06/0.3315, allocations: 0 / 374.7 MB, free: 4.996 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001645/0.3317, allocations: 154.3 kB / 374.8 MB, free: 4.848 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.44e-07/0.3317, allocations: 0 / 374.8 MB, free: 4.848 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003392/0.332, allocations: 20 kB / 374.8 MB, free: 4.828 MB / 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 (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.0009593/0.333, allocations: 299.9 kB / 375.1 MB, free: 4.605 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000439/0.3334, allocations: 151.3 kB / 375.3 MB, free: 4.445 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3335, allocations: 3.938 kB / 375.3 MB, free: 4.441 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.3337, allocations: 55.91 kB / 375.3 MB, free: 4.387 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.3339, allocations: 4 kB / 375.3 MB, free: 4.383 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005658/0.3345, allocations: 271.2 kB / 375.6 MB, free: 4.086 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.3349, allocations: 0.7082 MB / 376.3 MB, free: 3.352 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.828e-05/0.335, allocations: 11.44 kB / 376.3 MB, free: 3.34 MB / 298.7 MB Notification: Performance of SimCode: time 1.412e-06/0.335, allocations: 0 / 376.3 MB, free: 3.34 MB / 298.7 MB Notification: Performance of Templates: time 0.00361/0.3386, allocations: 1.378 MB / 377.7 MB, free: 1.961 MB / 298.7 MB