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.Test18.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.Test18,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.Test18") Notification: Performance of loadModel(ModelicaTest): time 1.811/1.811, allocations: 209.2 MB / 224.8 MB, free: 1.125 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004386/0.0004388, allocations: 16 kB / 282.5 MB, free: 9.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08591/0.08637, allocations: 48.71 MB / 331.2 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test18): time 0.002188/0.0886, allocations: 1.222 MB / 332.4 MB, free: 7.715 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.09008, allocations: 0.8295 MB / 333.2 MB, free: 6.879 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.241e-05/0.09015, allocations: 4 kB / 333.3 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001636/0.09033, allocations: 11.92 kB / 333.3 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001487/0.09049, allocations: 31.84 kB / 333.3 MB, free: 6.832 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000141/0.09065, allocations: 27.97 kB / 333.3 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.09079, allocations: 51.88 kB / 333.4 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.646e-05/0.0909, allocations: 19.98 kB / 333.4 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.169e-05/0.09098, allocations: 23.91 kB / 333.4 MB, free: 6.711 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.09115, allocations: 19.92 kB / 333.4 MB, free: 6.691 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.09118, allocations: 4 kB / 333.4 MB, free: 6.688 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.09129, allocations: 35.91 kB / 333.5 MB, free: 6.652 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.389e-05/0.09134, allocations: 15.92 kB / 333.5 MB, free: 6.637 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.39e-05/0.0914, allocations: 37.64 kB / 333.5 MB, free: 6.594 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.09157, allocations: 63.89 kB / 333.6 MB, free: 6.531 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.378e-06/0.09159, allocations: 4 kB / 333.6 MB, free: 6.527 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.099e-06/0.0916, allocations: 0 / 333.6 MB, free: 6.527 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.931e-06/0.09162, allocations: 0 / 333.6 MB, free: 6.527 MB / 282.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.0005357/0.09216, allocations: 389.2 kB / 334 MB, free: 6.094 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.09221, allocations: 8.031 kB / 334 MB, free: 6.086 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.054e-05/0.09226, allocations: 11.84 kB / 334 MB, free: 6.074 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.0925, allocations: 190.9 kB / 334.2 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.09254, allocations: 8 kB / 334.2 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.09258, allocations: 11.84 kB / 334.2 MB, free: 5.828 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.09281, allocations: 92.17 kB / 334.3 MB, free: 5.723 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.09284, allocations: 0 / 334.3 MB, free: 5.723 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.09286, allocations: 0 / 334.3 MB, free: 5.723 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.09288, allocations: 4 kB / 334.3 MB, free: 5.719 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.09304, allocations: 39.97 kB / 334.3 MB, free: 5.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005739/0.09363, allocations: 389 kB / 334.7 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003385/0.09399, allocations: 93.16 kB / 334.8 MB, free: 5.137 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.09404, allocations: 4 kB / 334.8 MB, free: 5.133 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.09408, allocations: 30.56 kB / 334.8 MB, free: 5.094 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.17e-06/0.09409, allocations: 0 / 334.8 MB, free: 5.094 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009531/0.09506, allocations: 249.6 kB / 335.1 MB, free: 4.844 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.722e-05/0.09516, allocations: 106.8 kB / 335.2 MB, free: 4.715 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.09534, allocations: 129.8 kB / 335.3 MB, free: 4.578 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.09538, allocations: 29.7 kB / 335.3 MB, free: 4.543 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.0955, allocations: 166.5 kB / 335.5 MB, free: 4.379 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.568e-05/0.09556, allocations: 35.53 kB / 335.5 MB, free: 4.344 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.546e-06/0.09557, allocations: 0 / 335.5 MB, free: 4.344 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.09574, allocations: 314.8 kB / 335.8 MB, free: 4.027 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.09592, allocations: 43.97 kB / 335.9 MB, free: 3.984 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.09609, allocations: 61.62 kB / 335.9 MB, free: 3.918 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.09627, allocations: 73.61 kB / 336 MB, free: 3.84 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.989e-06/0.09628, allocations: 0 / 336 MB, free: 3.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003902/0.09668, allocations: 155.4 kB / 336.2 MB, free: 3.676 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.968e-05/0.09674, allocations: 37.14 kB / 336.2 MB, free: 3.637 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.348e-06/0.09676, allocations: 0 / 336.2 MB, free: 3.637 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.09678, allocations: 3.953 kB / 336.2 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.09692, allocations: 28.11 kB / 336.2 MB, free: 3.605 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.193e-06/0.09694, allocations: 3.938 kB / 336.2 MB, free: 3.602 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.738e-05/0.09701, allocations: 11.98 kB / 336.3 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.09704, allocations: 4 kB / 336.3 MB, free: 3.586 MB / 282.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.0001288/0.09718, allocations: 125.8 kB / 336.4 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.329e-05/0.09727, allocations: 7.906 kB / 336.4 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004358/0.09771, allocations: 161.4 kB / 336.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.632e-06/0.09774, allocations: 0 / 336.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.898e-06/0.09775, allocations: 3.953 kB / 336.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.982e-06/0.09778, allocations: 15.92 kB / 336.6 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008995/0.09868, allocations: 498.6 kB / 337.1 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.303e-06/0.09871, allocations: 0 / 337.1 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.09884, allocations: 31.95 kB / 337.1 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.481e-06/0.09886, allocations: 3.953 kB / 337.1 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.09888, allocations: 4 kB / 337.1 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.893e-06/0.09889, allocations: 0 / 337.1 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.058e-06/0.09891, allocations: 0 / 337.1 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004416/0.09936, allocations: 311.5 kB / 337.4 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.637e-05/0.09944, allocations: 81.02 kB / 337.5 MB, free: 2.254 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.09948, allocations: 15.94 kB / 337.5 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.09965, allocations: 4 kB / 337.5 MB, free: 2.234 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.09971, allocations: 7.984 kB / 337.5 MB, free: 2.227 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.09974, allocations: 12 kB / 337.5 MB, free: 2.215 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001135/0.09986, allocations: 99.27 kB / 337.6 MB, free: 2.117 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.27e-07/0.09988, allocations: 0 / 337.6 MB, free: 2.117 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004234/0.1003, allocations: 32 kB / 337.6 MB, free: 2.086 MB / 282.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.0009987/0.1013, allocations: 331.3 kB / 338 MB, free: 1.832 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003972/0.1017, allocations: 151.3 kB / 338.1 MB, free: 1.672 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.123e-06/0.1018, allocations: 0 / 338.1 MB, free: 1.672 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.1019, allocations: 51.91 kB / 338.2 MB, free: 1.621 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.1023, allocations: 12.16 kB / 338.2 MB, free: 1.609 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005695/0.1028, allocations: 260.5 kB / 338.4 MB, free: 1.316 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.1033, allocations: 0.7004 MB / 339.1 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.2e-05/0.1033, allocations: 15.44 kB / 339.1 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of SimCode: time 1.359e-06/0.1034, allocations: 4 kB / 339.1 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of Templates: time 0.2081/0.3115, allocations: 1.721 MB / 340.9 MB, free: 15.08 MB / 282.7 MB