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.Test6.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.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.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadModel(ModelicaTest): time 2.144/2.144, allocations: 234.9 MB / 250.5 MB, free: 9.477 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004449/0.0004452, allocations: 12 kB / 314.3 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2951, allocations: 54.87 MB / 369.2 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002134/0.2973, allocations: 1.231 MB / 370.4 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006072/0.2979, allocations: 257.1 kB / 370.7 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.323e-05/0.298, allocations: 0 / 370.7 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.2983, allocations: 87.73 kB / 370.8 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001591/0.2985, allocations: 51.92 kB / 370.8 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001375/0.2986, allocations: 31.91 kB / 370.8 MB, free: 11.08 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.2988, allocations: 59.86 kB / 370.9 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.528e-05/0.2989, allocations: 12 kB / 370.9 MB, free: 11.01 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.884e-05/0.299, allocations: 35.89 kB / 371 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.2991, allocations: 35.91 kB / 371 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.2991, allocations: 0 / 371 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.231e-05/0.2992, allocations: 27.91 kB / 371 MB, free: 10.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.223e-05/0.2992, allocations: 15.92 kB / 371 MB, free: 10.9 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.508e-05/0.2993, allocations: 41.64 kB / 371.1 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.2995, allocations: 59.91 kB / 371.1 MB, free: 10.79 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.561e-06/0.2995, allocations: 0 / 371.1 MB, free: 10.79 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2995, allocations: 0 / 371.1 MB, free: 10.79 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.2995, allocations: 0 / 371.1 MB, free: 10.79 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.0005754/0.3001, allocations: 425.3 kB / 371.5 MB, free: 10.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.3001, allocations: 8.031 kB / 371.6 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.106e-05/0.3002, allocations: 11.86 kB / 371.6 MB, free: 10.3 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.3004, allocations: 198.8 kB / 371.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.3005, allocations: 0 / 371.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.3005, allocations: 4 kB / 371.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.3007, allocations: 57.67 kB / 371.8 MB, free: 10 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.3007, allocations: 0 / 371.8 MB, free: 10 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.3008, allocations: 11.94 kB / 371.8 MB, free: 9.992 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.274e-06/0.3008, allocations: 4 kB / 371.8 MB, free: 9.988 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/0.3009, allocations: 39.92 kB / 371.9 MB, free: 9.949 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004607/0.3014, allocations: 296.7 kB / 372.2 MB, free: 9.609 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.3016, allocations: 58.56 kB / 372.2 MB, free: 9.543 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.3016, allocations: 0 / 372.2 MB, free: 9.543 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.3017, allocations: 30.56 kB / 372.2 MB, free: 9.504 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.891e-06/0.3017, allocations: 0 / 372.2 MB, free: 9.504 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008168/0.3025, allocations: 213.2 kB / 372.5 MB, free: 9.289 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.3026, allocations: 51.41 kB / 372.5 MB, free: 9.227 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000288/0.3029, allocations: 227.3 kB / 372.7 MB, free: 8.992 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.3029, allocations: 29.64 kB / 372.8 MB, free: 8.957 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.303, allocations: 166.7 kB / 372.9 MB, free: 8.793 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.3031, allocations: 27.64 kB / 372.9 MB, free: 8.766 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.554e-06/0.3031, allocations: 4 kB / 373 MB, free: 8.762 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.3033, allocations: 314.8 kB / 373.3 MB, free: 8.445 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.3034, allocations: 31.92 kB / 373.3 MB, free: 8.414 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.3035, allocations: 35.97 kB / 373.3 MB, free: 8.379 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.3037, allocations: 57.7 kB / 373.4 MB, free: 8.316 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.118e-06/0.3037, allocations: 4 kB / 373.4 MB, free: 8.312 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000342/0.3041, allocations: 143.2 kB / 373.5 MB, free: 8.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.806e-05/0.3041, allocations: 33.66 kB / 373.6 MB, free: 8.121 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.759e-06/0.3041, allocations: 0 / 373.6 MB, free: 8.121 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.3042, allocations: 4 kB / 373.6 MB, free: 8.117 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.3043, allocations: 23.98 kB / 373.6 MB, free: 8.094 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.687e-06/0.3043, allocations: 0 / 373.6 MB, free: 8.094 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.229e-05/0.3044, allocations: 7.984 kB / 373.6 MB, free: 8.086 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.3044, allocations: 4 kB / 373.6 MB, free: 8.082 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.0001351/0.3046, allocations: 129.8 kB / 373.7 MB, free: 7.945 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.076e-05/0.3046, allocations: 7.906 kB / 373.7 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003841/0.305, allocations: 139 kB / 373.9 MB, free: 7.797 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.305, allocations: 3.938 kB / 373.9 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.3051, allocations: 4 kB / 373.9 MB, free: 7.789 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.561e-06/0.3051, allocations: 3.984 kB / 373.9 MB, free: 7.785 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006917/0.3058, allocations: 406.3 kB / 374.3 MB, free: 7.332 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.506e-06/0.3058, allocations: 4.359 kB / 374.3 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.3059, allocations: 20.28 kB / 374.3 MB, free: 7.309 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.6e-06/0.3059, allocations: 0 / 374.3 MB, free: 7.309 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.306, allocations: 8 kB / 374.3 MB, free: 7.301 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.086e-06/0.306, allocations: 7.922 kB / 374.3 MB, free: 7.293 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.91e-06/0.306, allocations: 4 kB / 374.3 MB, free: 7.289 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003522/0.3063, allocations: 203.4 kB / 374.5 MB, free: 7.074 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.302e-05/0.3064, allocations: 96.86 kB / 374.6 MB, free: 6.961 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.3065, allocations: 4 kB / 374.6 MB, free: 6.957 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.3066, allocations: 12 kB / 374.6 MB, free: 6.945 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.3066, allocations: 3.984 kB / 374.6 MB, free: 6.941 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.3067, allocations: 4 kB / 374.6 MB, free: 6.938 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001901/0.3069, allocations: 167.9 kB / 374.8 MB, free: 6.773 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.99e-07/0.3069, allocations: 0 / 374.8 MB, free: 6.773 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003324/0.3072, allocations: 15.98 kB / 374.8 MB, free: 6.758 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.0009674/0.3082, allocations: 292.4 kB / 375.1 MB, free: 6.543 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003506/0.3086, allocations: 143.2 kB / 375.2 MB, free: 6.391 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.28e-06/0.3086, allocations: 0 / 375.2 MB, free: 6.391 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.3087, allocations: 35.98 kB / 375.3 MB, free: 6.355 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.309, allocations: 11.98 kB / 375.3 MB, free: 6.344 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006031/0.3096, allocations: 299.4 kB / 375.6 MB, free: 6.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.3101, allocations: 0.7082 MB / 376.3 MB, free: 5.285 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.119e-05/0.3101, allocations: 11.44 kB / 376.3 MB, free: 5.273 MB / 298.7 MB Notification: Performance of SimCode: time 3.674e-06/0.3102, allocations: 4 kB / 376.3 MB, free: 5.27 MB / 298.7 MB Notification: Performance of Templates: time 0.00388/0.314, allocations: 1.495 MB / 377.8 MB, free: 3.773 MB / 298.7 MB