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.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1") Notification: Performance of loadModel(ModelicaTest): time 1.909/1.909, allocations: 209.3 MB / 224.8 MB, free: 1.547 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004498/0.00045, allocations: 12 kB / 282.5 MB, free: 9.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08801/0.08849, allocations: 48.72 MB / 331.2 MB, free: 9.016 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002193/0.09073, allocations: 1.202 MB / 332.4 MB, free: 7.801 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006162/0.09139, allocations: 237.2 kB / 332.6 MB, free: 7.566 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.158e-05/0.09146, allocations: 0 / 332.6 MB, free: 7.566 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001591/0.09164, allocations: 27.84 kB / 332.7 MB, free: 7.539 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001385/0.09179, allocations: 15.98 kB / 332.7 MB, free: 7.523 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001294/0.09194, allocations: 27.91 kB / 332.7 MB, free: 7.496 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.09208, allocations: 39.89 kB / 332.7 MB, free: 7.457 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.565e-05/0.09219, allocations: 23.95 kB / 332.8 MB, free: 7.434 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.036e-05/0.09225, allocations: 11.94 kB / 332.8 MB, free: 7.422 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.491e-05/0.09233, allocations: 15.92 kB / 332.8 MB, free: 7.406 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.09235, allocations: 3.938 kB / 332.8 MB, free: 7.402 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.115e-05/0.09243, allocations: 19.98 kB / 332.8 MB, free: 7.383 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.282e-05/0.09248, allocations: 15.92 kB / 332.8 MB, free: 7.367 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.216e-05/0.09253, allocations: 25.7 kB / 332.9 MB, free: 7.336 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.09266, allocations: 43.94 kB / 332.9 MB, free: 7.293 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.743e-06/0.09268, allocations: 0 / 332.9 MB, free: 7.293 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.997e-06/0.09269, allocations: 0 / 332.9 MB, free: 7.293 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.941e-06/0.0927, allocations: 0 / 332.9 MB, free: 7.293 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005103/0.09322, allocations: 381.2 kB / 333.3 MB, free: 6.867 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.09328, allocations: 12.03 kB / 333.3 MB, free: 6.855 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.575e-05/0.09333, allocations: 11.84 kB / 333.3 MB, free: 6.844 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.09356, allocations: 190.8 kB / 333.5 MB, free: 6.617 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.09358, allocations: 0 / 333.5 MB, free: 6.617 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.09361, allocations: 4 kB / 333.5 MB, free: 6.613 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.09378, allocations: 45.69 kB / 333.5 MB, free: 6.562 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.09381, allocations: 0 / 333.5 MB, free: 6.562 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.494e-06/0.09383, allocations: 0 / 333.5 MB, free: 6.562 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.878e-06/0.09384, allocations: 0 / 333.5 MB, free: 6.562 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.09397, allocations: 31.97 kB / 333.6 MB, free: 6.531 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.09441, allocations: 272.8 kB / 333.8 MB, free: 6.215 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002281/0.09466, allocations: 42.5 kB / 333.9 MB, free: 6.164 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.0947, allocations: 4 kB / 333.9 MB, free: 6.16 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.09475, allocations: 42.64 kB / 333.9 MB, free: 6.109 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 2.13e-06/0.09476, allocations: 0 / 333.9 MB, free: 6.109 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.000706/0.09548, allocations: 153.4 kB / 334.1 MB, free: 5.953 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.09555, allocations: 55.36 kB / 334.1 MB, free: 5.887 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.09574, allocations: 134.1 kB / 334.2 MB, free: 5.746 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.09577, allocations: 25.7 kB / 334.3 MB, free: 5.715 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.09589, allocations: 154.6 kB / 334.4 MB, free: 5.562 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.09593, allocations: 23.66 kB / 334.4 MB, free: 5.539 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-06/0.09594, allocations: 0 / 334.4 MB, free: 5.539 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.09611, allocations: 314.8 kB / 334.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.09623, allocations: 23.98 kB / 334.8 MB, free: 5.199 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.091e-05/0.09634, allocations: 27.97 kB / 334.8 MB, free: 5.172 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.09647, allocations: 49.7 kB / 334.9 MB, free: 5.117 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.307e-06/0.09649, allocations: 7.938 kB / 334.9 MB, free: 5.109 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002921/0.09679, allocations: 115.6 kB / 335 MB, free: 4.984 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.617e-05/0.09685, allocations: 33.7 kB / 335 MB, free: 4.945 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.382e-06/0.09687, allocations: 0 / 335 MB, free: 4.945 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.09689, allocations: 0 / 335 MB, free: 4.945 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.461e-05/0.09699, allocations: 19.98 kB / 335 MB, free: 4.926 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.09702, allocations: 4 kB / 335 MB, free: 4.922 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.716e-05/0.09708, allocations: 7.953 kB / 335 MB, free: 4.914 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.09711, allocations: 4 kB / 335 MB, free: 4.91 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 (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.0001154/0.09723, allocations: 121.8 kB / 335.2 MB, free: 4.781 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.356e-05/0.09729, allocations: 7.906 kB / 335.2 MB, free: 4.773 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003062/0.0976, allocations: 101.6 kB / 335.3 MB, free: 4.668 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.09763, allocations: 4 kB / 335.3 MB, free: 4.664 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.926e-06/0.09764, allocations: 0 / 335.3 MB, free: 4.664 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.09766, allocations: 0 / 335.3 MB, free: 4.664 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006042/0.09827, allocations: 354.5 kB / 335.6 MB, free: 4.262 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.217e-06/0.09829, allocations: 0 / 335.6 MB, free: 4.262 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.658e-05/0.09838, allocations: 15.94 kB / 335.6 MB, free: 4.246 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.533e-06/0.0984, allocations: 0 / 335.6 MB, free: 4.246 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.09842, allocations: 7.984 kB / 335.6 MB, free: 4.238 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.867e-06/0.09843, allocations: 0 / 335.6 MB, free: 4.238 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.303e-06/0.09844, allocations: 3.953 kB / 335.6 MB, free: 4.234 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.09876, allocations: 183.4 kB / 335.8 MB, free: 4.039 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.792e-05/0.09883, allocations: 77.11 kB / 335.9 MB, free: 3.945 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.09887, allocations: 8.266 kB / 335.9 MB, free: 3.938 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.848e-05/0.09897, allocations: 8 kB / 335.9 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.09903, allocations: 3.953 kB / 335.9 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.904e-06/0.09905, allocations: 8.188 kB / 335.9 MB, free: 3.918 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000109/0.09917, allocations: 111.2 kB / 336 MB, free: 3.809 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.39e-07/0.09918, allocations: 0 / 336 MB, free: 3.809 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003423/0.09953, allocations: 15.91 kB / 336 MB, free: 3.793 MB / 282.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.0007851/0.1003, allocations: 258.2 kB / 336.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003134/0.1007, allocations: 107.4 kB / 336.4 MB, free: 3.469 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.18e-06/0.1007, allocations: 0 / 336.4 MB, free: 3.469 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.1008, allocations: 31.92 kB / 336.4 MB, free: 3.438 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.1011, allocations: 12 kB / 336.4 MB, free: 3.426 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004672/0.1016, allocations: 210.4 kB / 336.7 MB, free: 3.188 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.102, allocations: 0.6926 MB / 337.3 MB, free: 2.469 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.063e-05/0.102, allocations: 11.44 kB / 337.4 MB, free: 2.457 MB / 282.7 MB Notification: Performance of SimCode: time 1.535e-06/0.102, allocations: 4 kB / 337.4 MB, free: 2.453 MB / 282.7 MB Notification: Performance of Templates: time 0.003346/0.1054, allocations: 1.139 MB / 338.5 MB, free: 1.316 MB / 282.7 MB