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.Test27.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27") Notification: Performance of loadModel(ModelicaTest): time 2.29/2.29, allocations: 234.9 MB / 250.5 MB, free: 9.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007241/0.0007242, allocations: 12 kB / 314.3 MB, free: 9.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/0.386, allocations: 54.87 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.00308/0.3892, allocations: 1.219 MB / 370.4 MB, free: 9.473 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009596/0.3902, allocations: 257.1 kB / 370.7 MB, free: 9.219 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.632e-05/0.3903, allocations: 0 / 370.7 MB, free: 9.219 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004291/0.3907, allocations: 111.8 kB / 370.8 MB, free: 9.109 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000278/0.391, allocations: 75.77 kB / 370.8 MB, free: 9.035 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.3912, allocations: 31.91 kB / 370.9 MB, free: 9.004 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.3915, allocations: 55.92 kB / 370.9 MB, free: 8.949 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.3916, allocations: 11.98 kB / 370.9 MB, free: 8.938 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.3918, allocations: 35.89 kB / 371 MB, free: 8.902 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.392, allocations: 59.86 kB / 371 MB, free: 8.844 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.392, allocations: 0 / 371 MB, free: 8.844 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.3921, allocations: 19.88 kB / 371.1 MB, free: 8.824 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.864e-05/0.3922, allocations: 27.92 kB / 371.1 MB, free: 8.797 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.086e-05/0.3923, allocations: 33.7 kB / 371.1 MB, free: 8.758 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.3925, allocations: 63.91 kB / 371.2 MB, free: 8.695 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.468e-06/0.3925, allocations: 3.938 kB / 371.2 MB, free: 8.691 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.871e-06/0.3926, allocations: 0 / 371.2 MB, free: 8.691 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.249e-06/0.3926, allocations: 0 / 371.2 MB, free: 8.691 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007784/0.3934, allocations: 429.3 kB / 371.6 MB, free: 8.219 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.3934, allocations: 8.031 kB / 371.6 MB, free: 8.211 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.715e-05/0.3935, allocations: 19.77 kB / 371.6 MB, free: 8.191 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.3939, allocations: 186.8 kB / 371.8 MB, free: 7.969 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.3939, allocations: 4 kB / 371.8 MB, free: 7.965 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.233e-05/0.394, allocations: 4 kB / 371.8 MB, free: 7.961 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.3942, allocations: 45.69 kB / 371.9 MB, free: 7.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.3943, allocations: 0 / 371.9 MB, free: 7.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.3943, allocations: 0 / 371.9 MB, free: 7.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.048e-06/0.3943, allocations: 4 kB / 371.9 MB, free: 7.906 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002594/0.3946, allocations: 39.86 kB / 371.9 MB, free: 7.867 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006394/0.3953, allocations: 280.9 kB / 372.2 MB, free: 7.543 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003427/0.3956, allocations: 42.56 kB / 372.2 MB, free: 7.492 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.087e-05/0.3957, allocations: 3.938 kB / 372.2 MB, free: 7.488 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/0.3958, allocations: 42.59 kB / 372.3 MB, free: 7.438 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 3.258e-06/0.3958, allocations: 0 / 372.3 MB, free: 7.438 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.001091/0.3969, allocations: 169.2 kB / 372.4 MB, free: 7.266 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.397, allocations: 55.34 kB / 372.5 MB, free: 7.199 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005449/0.3975, allocations: 259.5 kB / 372.7 MB, free: 6.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.3976, allocations: 29.69 kB / 372.8 MB, free: 6.895 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.3978, allocations: 178.4 kB / 372.9 MB, free: 6.719 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.666e-05/0.3978, allocations: 15.75 kB / 373 MB, free: 6.703 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.857e-06/0.3979, allocations: 0 / 373 MB, free: 6.703 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.3981, allocations: 314.8 kB / 373.3 MB, free: 6.387 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.3983, allocations: 27.98 kB / 373.3 MB, free: 6.359 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.3985, allocations: 23.98 kB / 373.3 MB, free: 6.336 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.3987, allocations: 49.69 kB / 373.4 MB, free: 6.281 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.718e-06/0.3987, allocations: 0 / 373.4 MB, free: 6.281 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000486/0.3992, allocations: 119.4 kB / 373.5 MB, free: 6.152 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.026e-05/0.3993, allocations: 33.7 kB / 373.5 MB, free: 6.113 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.3993, allocations: 0 / 373.5 MB, free: 6.113 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.3993, allocations: 3.953 kB / 373.5 MB, free: 6.109 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.3995, allocations: 19.92 kB / 373.5 MB, free: 6.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.997e-06/0.3995, allocations: 4 kB / 373.5 MB, free: 6.086 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.3997, allocations: 8 kB / 373.5 MB, free: 6.078 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.3997, allocations: 4 kB / 373.6 MB, free: 6.074 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 (6): * Single equations (assignments): 5 * 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.0002124/0.3999, allocations: 129.8 kB / 373.7 MB, free: 5.938 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.947e-05/0.4, allocations: 11.81 kB / 373.7 MB, free: 5.926 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005041/0.4006, allocations: 111.2 kB / 373.8 MB, free: 5.816 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.741e-06/0.4006, allocations: 4.016 kB / 373.8 MB, free: 5.812 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.437e-06/0.4006, allocations: 4 kB / 373.8 MB, free: 5.809 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.956e-06/0.4006, allocations: 3.984 kB / 373.8 MB, free: 5.805 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009735/0.4016, allocations: 370.5 kB / 374.2 MB, free: 5.387 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.834e-06/0.4017, allocations: 0 / 374.2 MB, free: 5.387 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.4018, allocations: 12 kB / 374.2 MB, free: 5.375 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/0.4018, allocations: 3.953 kB / 374.2 MB, free: 5.371 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.4019, allocations: 0 / 374.2 MB, free: 5.371 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.16e-06/0.4019, allocations: 7.938 kB / 374.2 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.743e-06/0.4019, allocations: 0 / 374.2 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005002/0.4024, allocations: 195.3 kB / 374.4 MB, free: 5.156 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.811e-05/0.4025, allocations: 85.02 kB / 374.5 MB, free: 5.055 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.721e-05/0.4026, allocations: 3.953 kB / 374.5 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.4028, allocations: 7.984 kB / 374.5 MB, free: 5.043 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.626e-05/0.4029, allocations: 8 kB / 374.5 MB, free: 5.035 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.4029, allocations: 4 kB / 374.5 MB, free: 5.031 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003818/0.4033, allocations: 197.2 kB / 374.7 MB, free: 4.84 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.9e-07/0.4033, allocations: 4 kB / 374.7 MB, free: 4.836 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006678/0.404, allocations: 16 kB / 374.7 MB, free: 4.82 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 (5): * Single equations (assignments): 5 * 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.00148/0.4055, allocations: 301.5 kB / 375 MB, free: 4.598 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000494/0.406, allocations: 107.3 kB / 375.1 MB, free: 4.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.347e-05/0.4061, allocations: 8 kB / 375.1 MB, free: 4.473 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001774/0.4063, allocations: 23.98 kB / 375.1 MB, free: 4.449 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.4067, allocations: 8.188 kB / 375.1 MB, free: 4.441 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009704/0.4077, allocations: 315.1 kB / 375.5 MB, free: 4.098 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005599/0.4083, allocations: 0.7121 MB / 376.2 MB, free: 3.359 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.639e-05/0.4084, allocations: 15.42 kB / 376.2 MB, free: 3.344 MB / 298.7 MB Notification: Performance of SimCode: time 2.074e-06/0.4084, allocations: 0 / 376.2 MB, free: 3.344 MB / 298.7 MB Notification: Performance of Templates: time 0.005793/0.4142, allocations: 1.397 MB / 377.6 MB, free: 1.945 MB / 298.7 MB