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.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test6") Notification: Performance of loadModel(ModelicaTest): time 1.85/1.85, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004298/0.00043, allocations: 8 kB / 282.5 MB, free: 9.633 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2841, allocations: 48.7 MB / 331.2 MB, free: 6.473 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test6): time 0.001796/0.2859, allocations: 1.217 MB / 332.4 MB, free: 5.871 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005334/0.2865, allocations: 254.3 kB / 332.7 MB, free: 5.703 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.834e-05/0.2866, allocations: 1.438 kB / 332.7 MB, free: 5.703 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002608/0.2869, allocations: 88.62 kB / 332.7 MB, free: 5.688 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001575/0.287, allocations: 56.97 kB / 332.8 MB, free: 5.672 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001308/0.2872, allocations: 32.28 kB / 332.8 MB, free: 5.656 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.2873, allocations: 60.09 kB / 332.9 MB, free: 5.633 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.766e-05/0.2874, allocations: 10.95 kB / 332.9 MB, free: 5.633 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.611e-05/0.2875, allocations: 33.95 kB / 332.9 MB, free: 5.621 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.2877, allocations: 42.31 kB / 333 MB, free: 5.609 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.2877, allocations: 2.312 kB / 333 MB, free: 5.609 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.411e-05/0.2878, allocations: 20.31 kB / 333 MB, free: 5.602 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.207e-05/0.2878, allocations: 22.8 kB / 333 MB, free: 5.594 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.831e-05/0.2879, allocations: 37.7 kB / 333.1 MB, free: 5.555 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.288, allocations: 66.5 kB / 333.1 MB, free: 5.539 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.398e-06/0.288, allocations: 0 / 333.1 MB, free: 5.539 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.17e-06/0.2881, allocations: 0.5156 kB / 333.1 MB, free: 5.539 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.764e-06/0.2881, allocations: 0 / 333.1 MB, free: 5.539 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003924/0.2885, allocations: 419.3 kB / 333.5 MB, free: 5.113 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.2885, allocations: 10.69 kB / 333.5 MB, free: 5.113 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/0.2886, allocations: 11.81 kB / 333.6 MB, free: 5.105 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.2887, allocations: 196.2 kB / 333.7 MB, free: 4.891 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.2888, allocations: 6.5 kB / 333.8 MB, free: 4.887 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.2888, allocations: 7.406 kB / 333.8 MB, free: 4.883 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.289, allocations: 85.36 kB / 333.8 MB, free: 4.816 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.289, allocations: 1.812 kB / 333.8 MB, free: 4.816 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.2891, allocations: 0 / 333.8 MB, free: 4.816 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.032e-06/0.2891, allocations: 5.438 kB / 333.9 MB, free: 4.812 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.2892, allocations: 39.2 kB / 333.9 MB, free: 4.805 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004559/0.2897, allocations: 401.2 kB / 334.3 MB, free: 4.422 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003134/0.2901, allocations: 87.05 kB / 334.4 MB, free: 4.363 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.2901, allocations: 5.797 kB / 334.4 MB, free: 4.359 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.2901, allocations: 36.66 kB / 334.4 MB, free: 4.316 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 2.318e-06/0.2901, allocations: 0 / 334.4 MB, free: 4.316 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009245/0.2911, allocations: 262.6 kB / 334.7 MB, free: 4.203 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.2911, allocations: 83.67 kB / 334.7 MB, free: 4.105 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002326/0.2914, allocations: 222 kB / 335 MB, free: 3.969 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.2914, allocations: 26.92 kB / 335 MB, free: 3.938 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.488e-05/0.2915, allocations: 173.4 kB / 335.2 MB, free: 3.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.2915, allocations: 31.56 kB / 335.2 MB, free: 3.746 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.749e-06/0.2915, allocations: 0 / 335.2 MB, free: 3.746 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.242e-05/0.2916, allocations: 317.8 kB / 335.5 MB, free: 3.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.2917, allocations: 42.17 kB / 335.5 MB, free: 3.418 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.2919, allocations: 38.95 kB / 335.6 MB, free: 3.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.292, allocations: 72.94 kB / 335.6 MB, free: 3.363 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2921, allocations: 0 / 335.6 MB, free: 3.363 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003499/0.2924, allocations: 164.5 kB / 335.8 MB, free: 3.266 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.2925, allocations: 33.52 kB / 335.8 MB, free: 3.234 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.293e-06/0.2925, allocations: 0 / 335.8 MB, free: 3.234 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.2925, allocations: 1.594 kB / 335.8 MB, free: 3.234 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.2926, allocations: 23.05 kB / 335.9 MB, free: 3.234 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.458e-06/0.2927, allocations: 3.953 kB / 335.9 MB, free: 3.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.407e-05/0.2927, allocations: 6.094 kB / 335.9 MB, free: 3.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.2928, allocations: 7.688 kB / 335.9 MB, free: 3.227 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 (11): * Single equations (assignments): 10 * 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.0001002/0.2929, allocations: 131.3 kB / 336 MB, free: 3.105 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.187e-05/0.293, allocations: 14.03 kB / 336 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004154/0.2934, allocations: 163 kB / 336.2 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.276e-06/0.2934, allocations: 1.703 kB / 336.2 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.427e-06/0.2934, allocations: 1.281 kB / 336.2 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.066e-06/0.2934, allocations: 5.641 kB / 336.2 MB, free: 3.016 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000757/0.2942, allocations: 0.5181 MB / 336.7 MB, free: 2.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.2942, allocations: 7.875 kB / 336.7 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.2944, allocations: 23.39 kB / 336.7 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.2944, allocations: 1.219 kB / 336.7 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.2944, allocations: 5.922 kB / 336.7 MB, free: 2.559 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.2944, allocations: 1.219 kB / 336.8 MB, free: 2.559 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.278e-06/0.2944, allocations: 2.062 kB / 336.8 MB, free: 2.559 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003569/0.2948, allocations: 309.8 kB / 337.1 MB, free: 2.312 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.642e-05/0.2948, allocations: 89.11 kB / 337.1 MB, free: 2.211 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.2949, allocations: 2.344 kB / 337.1 MB, free: 2.211 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.295, allocations: 19.28 kB / 337.2 MB, free: 2.199 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/0.2951, allocations: 10.66 kB / 337.2 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.2951, allocations: 4.281 kB / 337.2 MB, free: 2.195 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001589/0.2953, allocations: 168.7 kB / 337.3 MB, free: 2.098 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.98e-07/0.2953, allocations: 0 / 337.3 MB, free: 2.098 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004123/0.2957, allocations: 19.53 kB / 337.4 MB, free: 2.094 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0006951/0.2964, allocations: 252.2 kB / 337.6 MB, free: 1.926 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000363/0.2968, allocations: 150.2 kB / 337.8 MB, free: 1.84 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.371e-06/0.2968, allocations: 0 / 337.8 MB, free: 1.84 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.297, allocations: 54.2 kB / 337.8 MB, free: 1.824 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.2974, allocations: 10.88 kB / 337.8 MB, free: 1.82 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005893/0.298, allocations: 344.4 kB / 338.2 MB, free: 1.574 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001878/0.2982, allocations: 0.7153 MB / 338.9 MB, free: 0.875 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.172e-05/0.2982, allocations: 15.41 kB / 338.9 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of SimCode: time 1.568e-06/0.2982, allocations: 1.531 kB / 338.9 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of Templates: time 0.003742/0.302, allocations: 1.6 MB / 340.5 MB, free: 152 kB / 266.7 MB