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.CombiTable1D.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.CombiTable1D.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test30") Notification: Performance of loadModel(ModelicaTest): time 2.288/2.288, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004362/0.0004363, allocations: 12 kB / 314.3 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2797, allocations: 54.86 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test30): time 0.002172/0.282, allocations: 1.219 MB / 370.4 MB, free: 9.484 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006145/0.2826, allocations: 261.1 kB / 370.7 MB, free: 9.227 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.085e-05/0.2827, allocations: 0 / 370.7 MB, free: 9.227 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002565/0.2829, allocations: 67.83 kB / 370.7 MB, free: 9.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000188/0.2832, allocations: 47.88 kB / 370.8 MB, free: 9.113 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001323/0.2833, allocations: 27.91 kB / 370.8 MB, free: 9.086 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.2835, allocations: 47.94 kB / 370.8 MB, free: 9.039 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.738e-05/0.2836, allocations: 11.98 kB / 370.9 MB, free: 9.027 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.086e-05/0.2836, allocations: 35.89 kB / 370.9 MB, free: 8.992 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.2838, allocations: 35.84 kB / 370.9 MB, free: 8.957 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.2838, allocations: 0 / 370.9 MB, free: 8.957 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.659e-05/0.2839, allocations: 19.92 kB / 370.9 MB, free: 8.938 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.142e-05/0.2839, allocations: 19.92 kB / 371 MB, free: 8.918 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.92e-05/0.284, allocations: 29.7 kB / 371 MB, free: 8.883 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.2841, allocations: 63.91 kB / 371.1 MB, free: 8.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.2841, allocations: 0 / 371.1 MB, free: 8.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.382e-06/0.2842, allocations: 4 kB / 371.1 MB, free: 8.816 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.796e-06/0.2842, allocations: 0 / 371.1 MB, free: 8.816 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005171/0.2847, allocations: 397.4 kB / 371.5 MB, free: 8.375 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.2847, allocations: 11.97 kB / 371.5 MB, free: 8.363 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.96e-05/0.2848, allocations: 11.86 kB / 371.5 MB, free: 8.352 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.285, allocations: 187.5 kB / 371.7 MB, free: 8.129 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.2851, allocations: 4 kB / 371.7 MB, free: 8.125 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.2851, allocations: 0 / 371.7 MB, free: 8.125 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.2853, allocations: 53.69 kB / 371.7 MB, free: 8.066 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.2853, allocations: 0 / 371.7 MB, free: 8.066 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.342e-06/0.2853, allocations: 0 / 371.7 MB, free: 8.066 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.185e-06/0.2853, allocations: 0 / 371.7 MB, free: 8.066 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.2855, allocations: 27.94 kB / 371.7 MB, free: 8.039 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005283/0.286, allocations: 300.7 kB / 372 MB, free: 7.695 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/0.2863, allocations: 46.56 kB / 372.1 MB, free: 7.641 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.2863, allocations: 7.938 kB / 372.1 MB, free: 7.633 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.2864, allocations: 34.56 kB / 372.1 MB, free: 7.59 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 2.16e-06/0.2864, allocations: 0 / 372.1 MB, free: 7.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007384/0.2871, allocations: 177.2 kB / 372.3 MB, free: 7.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.2872, allocations: 55.41 kB / 372.4 MB, free: 7.344 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.2874, allocations: 190.5 kB / 372.5 MB, free: 7.148 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.2875, allocations: 25.7 kB / 372.6 MB, free: 7.117 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.2876, allocations: 166.6 kB / 372.7 MB, free: 6.953 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.2876, allocations: 19.64 kB / 372.7 MB, free: 6.934 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.98e-06/0.2876, allocations: 4 kB / 372.7 MB, free: 6.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.2878, allocations: 314.8 kB / 373.1 MB, free: 6.613 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.288, allocations: 31.92 kB / 373.1 MB, free: 6.582 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.732e-05/0.2881, allocations: 23.98 kB / 373.1 MB, free: 6.559 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.2882, allocations: 61.67 kB / 373.2 MB, free: 6.492 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.76e-06/0.2882, allocations: 0 / 373.2 MB, free: 6.492 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003651/0.2886, allocations: 119.4 kB / 373.3 MB, free: 6.363 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.366e-05/0.2887, allocations: 29.7 kB / 373.3 MB, free: 6.328 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.823e-06/0.2887, allocations: 0 / 373.3 MB, free: 6.328 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.2888, allocations: 7.938 kB / 373.3 MB, free: 6.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.2889, allocations: 12 kB / 373.3 MB, free: 6.309 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.538e-06/0.2889, allocations: 256 / 373.3 MB, free: 6.309 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.14e-05/0.289, allocations: 15.98 kB / 373.4 MB, free: 6.293 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.2891, allocations: 8 kB / 373.4 MB, free: 6.285 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 (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 0.0001371/0.2892, allocations: 125.8 kB / 373.5 MB, free: 6.152 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.799e-05/0.2893, allocations: 11.89 kB / 373.5 MB, free: 6.141 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003461/0.2896, allocations: 110 kB / 373.6 MB, free: 6.031 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.969e-06/0.2897, allocations: 3.953 kB / 373.6 MB, free: 6.027 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.373e-06/0.2897, allocations: 0 / 373.6 MB, free: 6.027 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.683e-06/0.2897, allocations: 0 / 373.6 MB, free: 6.027 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00063/0.2903, allocations: 362.5 kB / 374 MB, free: 5.617 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.2904, allocations: 4 kB / 374 MB, free: 5.613 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.728e-05/0.2905, allocations: 15.98 kB / 374 MB, free: 5.598 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.36e-06/0.2905, allocations: 3.953 kB / 374 MB, free: 5.594 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.2905, allocations: 8 kB / 374 MB, free: 5.586 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.409e-06/0.2905, allocations: 3.938 kB / 374 MB, free: 5.582 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.105e-06/0.2905, allocations: 0 / 374 MB, free: 5.582 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000335/0.2909, allocations: 199.3 kB / 374.2 MB, free: 5.371 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.684e-05/0.291, allocations: 81.3 kB / 374.3 MB, free: 5.273 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.291, allocations: 11.95 kB / 374.3 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.85e-05/0.2911, allocations: 7.984 kB / 374.3 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.2912, allocations: 3.984 kB / 374.3 MB, free: 5.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1e-05/0.2912, allocations: 4 kB / 374.3 MB, free: 5.246 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001803/0.2914, allocations: 157.9 kB / 374.4 MB, free: 5.094 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.2914, allocations: 0 / 374.4 MB, free: 5.094 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003368/0.2917, allocations: 16 kB / 374.5 MB, free: 5.078 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 (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.0009578/0.2927, allocations: 295.2 kB / 374.8 MB, free: 4.855 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003345/0.2931, allocations: 115.4 kB / 374.9 MB, free: 4.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.859e-06/0.2931, allocations: 0 / 374.9 MB, free: 4.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.2932, allocations: 39.92 kB / 374.9 MB, free: 4.691 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.2935, allocations: 8 kB / 374.9 MB, free: 4.684 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000543/0.2941, allocations: 258.7 kB / 375.2 MB, free: 4.395 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.2945, allocations: 0.7082 MB / 375.9 MB, free: 3.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.279e-05/0.2945, allocations: 11.44 kB / 375.9 MB, free: 3.648 MB / 298.7 MB Notification: Performance of SimCode: time 1.545e-06/0.2946, allocations: 0 / 375.9 MB, free: 3.648 MB / 298.7 MB Notification: Performance of Templates: time 0.003566/0.2981, allocations: 1.295 MB / 377.2 MB, free: 2.355 MB / 298.7 MB