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.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test6") Notification: Performance of loadModel(ModelicaTest): time 1.959/1.959, allocations: 209.3 MB / 224.8 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004422/0.0004424, allocations: 12 kB / 282.5 MB, free: 9.625 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2963, allocations: 48.7 MB / 331.2 MB, free: 6.488 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.001824/0.2982, allocations: 1.216 MB / 332.4 MB, free: 5.879 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005343/0.2988, allocations: 255.1 kB / 332.7 MB, free: 5.715 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.613e-05/0.2988, allocations: 7.938 kB / 332.7 MB, free: 5.707 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002517/0.2991, allocations: 78.64 kB / 332.7 MB, free: 5.699 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000207/0.2993, allocations: 57.27 kB / 332.8 MB, free: 5.684 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001831/0.2995, allocations: 30.83 kB / 332.8 MB, free: 5.668 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.2998, allocations: 54.58 kB / 332.9 MB, free: 5.648 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.2999, allocations: 14.59 kB / 332.9 MB, free: 5.645 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.54e-05/0.3, allocations: 32.86 kB / 332.9 MB, free: 5.633 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.3002, allocations: 42.44 kB / 333 MB, free: 5.621 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.3002, allocations: 5.062 kB / 333 MB, free: 5.617 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.69e-05/0.3004, allocations: 13.7 kB / 333 MB, free: 5.617 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.257e-05/0.3004, allocations: 24.09 kB / 333 MB, free: 5.605 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.036e-05/0.3005, allocations: 37.08 kB / 333 MB, free: 5.566 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.3007, allocations: 65.28 kB / 333.1 MB, free: 5.551 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.199e-06/0.3008, allocations: 4 kB / 333.1 MB, free: 5.547 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.48e-06/0.3008, allocations: 1.344 kB / 333.1 MB, free: 5.547 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.844e-06/0.3008, allocations: 0 / 333.1 MB, free: 5.547 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005685/0.3014, allocations: 413.8 kB / 333.5 MB, free: 5.125 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.3015, allocations: 9.531 kB / 333.5 MB, free: 5.125 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.363e-05/0.3016, allocations: 10.14 kB / 333.5 MB, free: 5.121 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.3018, allocations: 190.8 kB / 333.7 MB, free: 4.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.3018, allocations: 5.344 kB / 333.7 MB, free: 4.906 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.857e-05/0.3019, allocations: 10.97 kB / 333.7 MB, free: 4.898 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.3022, allocations: 58.73 kB / 333.8 MB, free: 4.859 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.3022, allocations: 3.906 kB / 333.8 MB, free: 4.855 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.3022, allocations: 6 kB / 333.8 MB, free: 4.852 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.907e-06/0.3023, allocations: 0 / 333.8 MB, free: 4.852 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002347/0.3025, allocations: 39.03 kB / 333.8 MB, free: 4.844 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005858/0.3031, allocations: 298.2 kB / 334.1 MB, free: 4.551 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/0.3034, allocations: 55.33 kB / 334.2 MB, free: 4.516 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.317e-05/0.3035, allocations: 1.562 kB / 334.2 MB, free: 4.516 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.3035, allocations: 35.94 kB / 334.2 MB, free: 4.473 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 3.168e-06/0.3035, allocations: 0 / 334.2 MB, free: 4.473 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008616/0.3044, allocations: 207.7 kB / 334.4 MB, free: 4.383 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.295e-05/0.3045, allocations: 60.67 kB / 334.5 MB, free: 4.312 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.3047, allocations: 219.4 kB / 334.7 MB, free: 4.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.3048, allocations: 33.64 kB / 334.7 MB, free: 4.141 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.157e-05/0.3048, allocations: 165.3 kB / 334.9 MB, free: 3.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.3049, allocations: 26.92 kB / 334.9 MB, free: 3.961 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.877e-06/0.3049, allocations: 0 / 334.9 MB, free: 3.961 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.183e-05/0.3049, allocations: 317.7 kB / 335.2 MB, free: 3.645 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.3051, allocations: 35.14 kB / 335.3 MB, free: 3.633 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.3052, allocations: 29.06 kB / 335.3 MB, free: 3.629 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.3053, allocations: 62.81 kB / 335.4 MB, free: 3.586 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3054, allocations: 3.938 kB / 335.4 MB, free: 3.582 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003114/0.3057, allocations: 139.6 kB / 335.5 MB, free: 3.496 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.129e-05/0.3057, allocations: 32.73 kB / 335.5 MB, free: 3.465 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.365e-06/0.3057, allocations: 0 / 335.5 MB, free: 3.465 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.3058, allocations: 6.078 kB / 335.5 MB, free: 3.461 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.3059, allocations: 22.19 kB / 335.6 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.397e-06/0.3059, allocations: 0.75 kB / 335.6 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.495e-05/0.306, allocations: 15.7 kB / 335.6 MB, free: 3.449 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.306, allocations: 7.438 kB / 335.6 MB, free: 3.445 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 (9): * Single equations (assignments): 8 * 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 9.744e-05/0.3061, allocations: 124.8 kB / 335.7 MB, free: 3.328 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.609e-05/0.3062, allocations: 12.91 kB / 335.7 MB, free: 3.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003548/0.3066, allocations: 135.6 kB / 335.8 MB, free: 3.254 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.985e-06/0.3066, allocations: 5.719 kB / 335.9 MB, free: 3.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.262e-06/0.3066, allocations: 5.062 kB / 335.9 MB, free: 3.246 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.3066, allocations: 0 / 335.9 MB, free: 3.246 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005874/0.3072, allocations: 403.5 kB / 336.3 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.75e-06/0.3072, allocations: 4 kB / 336.3 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.968e-05/0.3073, allocations: 19.42 kB / 336.3 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.597e-06/0.3074, allocations: 4.547 kB / 336.3 MB, free: 2.895 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.3074, allocations: 2.25 kB / 336.3 MB, free: 2.895 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.436e-06/0.3074, allocations: 8.594 kB / 336.3 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.069e-06/0.3074, allocations: 0 / 336.3 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/0.3077, allocations: 212.6 kB / 336.5 MB, free: 2.727 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.247e-05/0.3078, allocations: 88.47 kB / 336.6 MB, free: 2.625 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.3078, allocations: 1.969 kB / 336.6 MB, free: 2.625 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.3079, allocations: 10.69 kB / 336.6 MB, free: 2.621 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.308, allocations: 10.19 kB / 336.6 MB, free: 2.617 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.308, allocations: 2.156 kB / 336.6 MB, free: 2.617 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001663/0.3082, allocations: 168 kB / 336.8 MB, free: 2.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.33e-07/0.3082, allocations: 0 / 336.8 MB, free: 2.52 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003426/0.3085, allocations: 18.81 kB / 336.8 MB, free: 2.516 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 (8): * Single equations (assignments): 8 * 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.0006987/0.3093, allocations: 254.3 kB / 337 MB, free: 2.352 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003274/0.3096, allocations: 133 kB / 337.2 MB, free: 2.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.182e-06/0.3096, allocations: 0 / 337.2 MB, free: 2.27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.3098, allocations: 44.53 kB / 337.2 MB, free: 2.258 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.31, allocations: 10.05 kB / 337.2 MB, free: 2.254 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005385/0.3106, allocations: 301.4 kB / 337.5 MB, free: 2.035 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/0.3108, allocations: 0.7116 MB / 338.2 MB, free: 1.336 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.883e-05/0.3108, allocations: 22.78 kB / 338.3 MB, free: 1.32 MB / 266.7 MB Notification: Performance of SimCode: time 1.369e-06/0.3109, allocations: 0 / 338.3 MB, free: 1.32 MB / 266.7 MB Notification: Performance of Templates: time 0.003783/0.3147, allocations: 1.471 MB / 339.7 MB, free: 0.7461 MB / 266.7 MB