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.CombiTable1Ds.Test4.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.CombiTable1Ds.Test4,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.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadModel(ModelicaTest): time 2.301/2.301, allocations: 234.9 MB / 250.5 MB, free: 9.602 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004497/0.0004499, allocations: 16 kB / 314.3 MB, free: 9.652 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2977, allocations: 54.86 MB / 369.2 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.00217/0.2999, allocations: 1.235 MB / 370.4 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006158/0.3006, allocations: 261.1 kB / 370.7 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.46e-05/0.3006, allocations: 0 / 370.7 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002684/0.3009, allocations: 87.8 kB / 370.8 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001673/0.3011, allocations: 51.86 kB / 370.8 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001346/0.3012, allocations: 31.91 kB / 370.8 MB, free: 11.1 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.3014, allocations: 55.92 kB / 370.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.945e-05/0.3015, allocations: 15.98 kB / 370.9 MB, free: 11.03 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.751e-05/0.3016, allocations: 31.91 kB / 370.9 MB, free: 11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.3017, allocations: 43.83 kB / 371 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.3018, allocations: 0 / 371 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.915e-05/0.3018, allocations: 19.94 kB / 371 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.016e-05/0.3019, allocations: 23.91 kB / 371 MB, free: 10.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.493e-05/0.302, allocations: 37.64 kB / 371.1 MB, free: 10.87 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.3021, allocations: 63.91 kB / 371.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.702e-06/0.3021, allocations: 0 / 371.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.082e-06/0.3022, allocations: 0 / 371.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.097e-06/0.3022, allocations: 0 / 371.1 MB, free: 10.8 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005849/0.3028, allocations: 425.3 kB / 371.5 MB, free: 10.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.3028, allocations: 8.031 kB / 371.5 MB, free: 10.33 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.786e-05/0.3029, allocations: 15.86 kB / 371.6 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.3031, allocations: 186.9 kB / 371.7 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.3031, allocations: 4 kB / 371.8 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.3032, allocations: 0 / 371.8 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.3034, allocations: 61.62 kB / 371.8 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.3034, allocations: 3.984 kB / 371.8 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.3034, allocations: 8 kB / 371.8 MB, free: 10.01 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.074e-06/0.3035, allocations: 3.938 kB / 371.8 MB, free: 10 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/0.3037, allocations: 39.92 kB / 371.9 MB, free: 9.965 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004809/0.3042, allocations: 300.8 kB / 372.2 MB, free: 9.621 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.3044, allocations: 62.5 kB / 372.2 MB, free: 9.551 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.3044, allocations: 0 / 372.2 MB, free: 9.551 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.3045, allocations: 30.56 kB / 372.3 MB, free: 9.512 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 2.72e-06/0.3045, allocations: 4 kB / 372.3 MB, free: 9.508 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008554/0.3053, allocations: 205.2 kB / 372.5 MB, free: 9.301 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.3054, allocations: 55.41 kB / 372.5 MB, free: 9.234 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002851/0.3057, allocations: 223.3 kB / 372.7 MB, free: 9.004 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.3058, allocations: 25.7 kB / 372.8 MB, free: 8.973 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.3059, allocations: 170.7 kB / 372.9 MB, free: 8.805 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.3059, allocations: 23.66 kB / 372.9 MB, free: 8.781 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.741e-06/0.306, allocations: 4 kB / 372.9 MB, free: 8.777 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.3061, allocations: 314.8 kB / 373.3 MB, free: 8.461 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.3063, allocations: 35.92 kB / 373.3 MB, free: 8.426 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.3064, allocations: 31.98 kB / 373.3 MB, free: 8.395 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.3065, allocations: 65.62 kB / 373.4 MB, free: 8.324 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.937e-06/0.3066, allocations: 0 / 373.4 MB, free: 8.324 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003561/0.3069, allocations: 135.3 kB / 373.5 MB, free: 8.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.674e-05/0.307, allocations: 41.66 kB / 373.6 MB, free: 8.133 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.079e-06/0.307, allocations: 0 / 373.6 MB, free: 8.133 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.307, allocations: 4 kB / 373.6 MB, free: 8.129 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.3072, allocations: 23.92 kB / 373.6 MB, free: 8.105 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.244e-06/0.3072, allocations: 0 / 373.6 MB, free: 8.105 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.432e-05/0.3073, allocations: 7.984 kB / 373.6 MB, free: 8.098 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.3073, allocations: 4 kB / 373.6 MB, free: 8.094 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 (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 0.0001511/0.3075, allocations: 129.8 kB / 373.7 MB, free: 7.957 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.322e-05/0.3076, allocations: 7.906 kB / 373.7 MB, free: 7.949 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000408/0.308, allocations: 143 kB / 373.9 MB, free: 7.805 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.308, allocations: 4 kB / 373.9 MB, free: 7.801 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.118e-06/0.308, allocations: 3.938 kB / 373.9 MB, free: 7.797 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.204e-06/0.308, allocations: 0 / 373.9 MB, free: 7.797 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007134/0.3088, allocations: 406.4 kB / 374.3 MB, free: 7.344 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.323e-06/0.3088, allocations: 0 / 374.3 MB, free: 7.344 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.3089, allocations: 28.3 kB / 374.3 MB, free: 7.316 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.577e-06/0.3089, allocations: 0 / 374.3 MB, free: 7.316 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.3089, allocations: 0 / 374.3 MB, free: 7.316 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.358e-06/0.309, allocations: 8 kB / 374.3 MB, free: 7.309 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.408e-06/0.309, allocations: 0 / 374.3 MB, free: 7.309 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003575/0.3093, allocations: 203.9 kB / 374.5 MB, free: 7.094 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.556e-05/0.3094, allocations: 92.86 kB / 374.6 MB, free: 6.984 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.3095, allocations: 8 kB / 374.6 MB, free: 6.977 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.3096, allocations: 11.94 kB / 374.6 MB, free: 6.965 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.3096, allocations: 7.984 kB / 374.6 MB, free: 6.957 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.3097, allocations: 0 / 374.6 MB, free: 6.957 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001992/0.3099, allocations: 167.9 kB / 374.8 MB, free: 6.793 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.88e-07/0.3099, allocations: 0 / 374.8 MB, free: 6.793 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003451/0.3102, allocations: 12 kB / 374.8 MB, free: 6.781 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 (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.0009758/0.3112, allocations: 305.8 kB / 375.1 MB, free: 6.555 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003769/0.3116, allocations: 131.4 kB / 375.2 MB, free: 6.414 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3117, allocations: 0 / 375.2 MB, free: 6.414 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.3118, allocations: 44.09 kB / 375.3 MB, free: 6.371 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.3121, allocations: 15.92 kB / 375.3 MB, free: 6.355 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006248/0.3127, allocations: 303.4 kB / 375.6 MB, free: 6.027 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000406/0.3131, allocations: 0.7082 MB / 376.3 MB, free: 5.293 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.228e-05/0.3132, allocations: 19.44 kB / 376.3 MB, free: 5.273 MB / 298.7 MB Notification: Performance of SimCode: time 1.633e-06/0.3132, allocations: 0 / 376.3 MB, free: 5.273 MB / 298.7 MB Notification: Performance of Templates: time 0.003959/0.3172, allocations: 1.491 MB / 377.8 MB, free: 3.781 MB / 298.7 MB