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.CombiTable1D.Test23.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test23") Notification: Performance of loadModel(ModelicaTest): time 1.842/1.842, allocations: 209.3 MB / 224.8 MB, free: 204 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004358/0.000436, allocations: 11.98 kB / 282.5 MB, free: 9.641 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2893, allocations: 48.71 MB / 331.2 MB, free: 6.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test23): time 0.001776/0.2911, allocations: 1.199 MB / 332.4 MB, free: 5.879 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.2923, allocations: 0.8261 MB / 333.2 MB, free: 5.289 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.054e-05/0.2924, allocations: 0 / 333.2 MB, free: 5.289 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000177/0.2926, allocations: 20.16 kB / 333.2 MB, free: 5.281 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001427/0.2928, allocations: 27.33 kB / 333.3 MB, free: 5.266 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001273/0.2929, allocations: 36.02 kB / 333.3 MB, free: 5.246 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.293, allocations: 35.61 kB / 333.3 MB, free: 5.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.383e-05/0.2931, allocations: 14.58 kB / 333.3 MB, free: 5.223 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.799e-05/0.2932, allocations: 13.98 kB / 333.4 MB, free: 5.219 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.2934, allocations: 28.55 kB / 333.4 MB, free: 5.203 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.2934, allocations: 0.9062 kB / 333.4 MB, free: 5.203 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.821e-05/0.2935, allocations: 31.94 kB / 333.4 MB, free: 5.195 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.244e-05/0.2935, allocations: 8.609 kB / 333.4 MB, free: 5.191 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.2936, allocations: 36.27 kB / 333.5 MB, free: 5.152 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.2937, allocations: 54.91 kB / 333.5 MB, free: 5.141 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.674e-06/0.2938, allocations: 0 / 333.5 MB, free: 5.141 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.836e-06/0.2938, allocations: 1.531 kB / 333.5 MB, free: 5.141 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.2938, allocations: 0 / 333.5 MB, free: 5.141 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003649/0.2942, allocations: 395.2 kB / 333.9 MB, free: 4.727 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.2942, allocations: 9.812 kB / 333.9 MB, free: 4.727 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.2942, allocations: 7.172 kB / 333.9 MB, free: 4.723 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.2944, allocations: 177.9 kB / 334.1 MB, free: 4.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.2944, allocations: 1.125 kB / 334.1 MB, free: 4.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.2945, allocations: 3 kB / 334.1 MB, free: 4.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.2947, allocations: 72.31 kB / 334.2 MB, free: 4.457 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.2947, allocations: 3.938 kB / 334.2 MB, free: 4.453 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.2947, allocations: 1.469 kB / 334.2 MB, free: 4.453 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.595e-06/0.2947, allocations: 3.938 kB / 334.2 MB, free: 4.449 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.2949, allocations: 27.48 kB / 334.2 MB, free: 4.445 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003616/0.2952, allocations: 282.1 kB / 334.5 MB, free: 4.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.2955, allocations: 52.03 kB / 334.5 MB, free: 4.125 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.2955, allocations: 1.469 kB / 334.5 MB, free: 4.125 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.2956, allocations: 31.12 kB / 334.6 MB, free: 4.086 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 2.53e-06/0.2956, allocations: 1.5 kB / 334.6 MB, free: 4.086 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006988/0.2963, allocations: 166.7 kB / 334.7 MB, free: 4.016 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.2963, allocations: 78.81 kB / 334.8 MB, free: 3.922 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.2965, allocations: 133.4 kB / 334.9 MB, free: 3.805 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.2965, allocations: 25.7 kB / 335 MB, free: 3.773 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/0.2965, allocations: 156.3 kB / 335.1 MB, free: 3.621 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.2966, allocations: 19.95 kB / 335.1 MB, free: 3.605 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.724e-06/0.2966, allocations: 0 / 335.1 MB, free: 3.605 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.002e-05/0.2966, allocations: 313.4 kB / 335.4 MB, free: 3.293 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.2968, allocations: 29.75 kB / 335.5 MB, free: 3.285 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.2969, allocations: 42.97 kB / 335.5 MB, free: 3.262 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.297, allocations: 65.61 kB / 335.6 MB, free: 3.215 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.845e-06/0.2971, allocations: 0 / 335.6 MB, free: 3.215 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002873/0.2974, allocations: 127.2 kB / 335.7 MB, free: 3.133 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.29e-05/0.2974, allocations: 33.58 kB / 335.7 MB, free: 3.102 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.2974, allocations: 0.6094 kB / 335.7 MB, free: 3.102 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.2974, allocations: 1.844 kB / 335.7 MB, free: 3.102 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.857e-05/0.2975, allocations: 13.47 kB / 335.7 MB, free: 3.102 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.884e-06/0.2976, allocations: 0.5625 kB / 335.7 MB, free: 3.102 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.25e-05/0.2976, allocations: 15.09 kB / 335.8 MB, free: 3.094 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.2977, allocations: 6.422 kB / 335.8 MB, free: 3.09 MB / 266.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 (6): * Single equations (assignments): 5 * 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 7.4e-05/0.2977, allocations: 116 kB / 335.9 MB, free: 2.973 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.366e-05/0.2978, allocations: 6.562 kB / 335.9 MB, free: 2.969 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003046/0.2981, allocations: 113.1 kB / 336 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.158e-06/0.2981, allocations: 1.25 kB / 336 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.9e-06/0.2981, allocations: 0 / 336 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.2982, allocations: 1.531 kB / 336 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004932/0.2987, allocations: 363.1 kB / 336.4 MB, free: 2.574 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.557e-06/0.2987, allocations: 0.7031 kB / 336.4 MB, free: 2.574 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.84e-05/0.2988, allocations: 22.78 kB / 336.4 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.984e-06/0.2988, allocations: 1.719 kB / 336.4 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.133e-06/0.2988, allocations: 0 / 336.4 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.43e-06/0.2988, allocations: 3.984 kB / 336.4 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.2988, allocations: 1.344 kB / 336.4 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.2991, allocations: 197.1 kB / 336.6 MB, free: 2.406 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.073e-05/0.2992, allocations: 87.58 kB / 336.7 MB, free: 2.305 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.2992, allocations: 6.203 kB / 336.7 MB, free: 2.301 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.778e-05/0.2993, allocations: 6.328 kB / 336.7 MB, free: 2.301 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.2994, allocations: 4.359 kB / 336.7 MB, free: 2.301 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.222e-06/0.2994, allocations: 1.656 kB / 336.7 MB, free: 2.301 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.397e-05/0.2995, allocations: 110.7 kB / 336.8 MB, free: 2.207 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.4e-07/0.2995, allocations: 0 / 336.8 MB, free: 2.207 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003561/0.2998, allocations: 26.53 kB / 336.8 MB, free: 2.199 MB / 266.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 (5): * Single equations (assignments): 5 * 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.0009242/0.3008, allocations: 313.2 kB / 337.1 MB, free: 2.012 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003054/0.3011, allocations: 124.5 kB / 337.2 MB, free: 1.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.014e-06/0.3011, allocations: 1.375 kB / 337.2 MB, free: 1.93 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.3012, allocations: 36.84 kB / 337.3 MB, free: 1.918 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.3015, allocations: 9.516 kB / 337.3 MB, free: 1.914 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003829/0.3019, allocations: 197.3 kB / 337.5 MB, free: 1.738 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.3021, allocations: 0.6897 MB / 338.2 MB, free: 1.043 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.638e-05/0.3021, allocations: 13.72 kB / 338.2 MB, free: 1.035 MB / 266.7 MB Notification: Performance of SimCode: time 1.404e-06/0.3021, allocations: 1.281 kB / 338.2 MB, free: 1.035 MB / 266.7 MB Notification: Performance of Templates: time 0.003664/0.3058, allocations: 1.484 MB / 339.7 MB, free: 0.5391 MB / 266.7 MB