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.Test21.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.Test21,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.Test21") Notification: Performance of loadModel(ModelicaTest): time 1.911/1.911, allocations: 209.3 MB / 224.8 MB, free: 1.219 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004285/0.0004287, allocations: 11.98 kB / 282.5 MB, free: 9.773 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08796/0.08841, allocations: 48.71 MB / 331.2 MB, free: 8.973 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002054/0.09051, allocations: 1.202 MB / 332.4 MB, free: 7.758 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.09197, allocations: 0.8296 MB / 333.2 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.002e-05/0.09204, allocations: 0 / 333.2 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001764/0.09224, allocations: 7.938 kB / 333.2 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001488/0.0924, allocations: 31.91 kB / 333.3 MB, free: 6.883 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001339/0.09255, allocations: 35.89 kB / 333.3 MB, free: 6.848 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.09269, allocations: 35.91 kB / 333.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.77e-05/0.0928, allocations: 15.95 kB / 333.4 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.884e-05/0.09287, allocations: 15.94 kB / 333.4 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.09302, allocations: 19.92 kB / 333.4 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.09305, allocations: 0 / 333.4 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.09316, allocations: 35.91 kB / 333.4 MB, free: 6.727 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.759e-05/0.09321, allocations: 19.92 kB / 333.4 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.73e-05/0.09326, allocations: 25.7 kB / 333.5 MB, free: 6.676 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.09342, allocations: 59.91 kB / 333.5 MB, free: 6.617 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.431e-06/0.09344, allocations: 0 / 333.5 MB, free: 6.617 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.28e-06/0.09345, allocations: 0 / 333.5 MB, free: 6.617 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.224e-06/0.09346, allocations: 0 / 333.5 MB, free: 6.617 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.0005144/0.09399, allocations: 385.2 kB / 333.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.09404, allocations: 12.03 kB / 333.9 MB, free: 6.176 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.111e-05/0.09409, allocations: 11.91 kB / 333.9 MB, free: 6.164 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.09433, allocations: 186.9 kB / 334.1 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.09436, allocations: 7.938 kB / 334.1 MB, free: 5.934 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.0944, allocations: 4 kB / 334.1 MB, free: 5.93 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.09458, allocations: 59.39 kB / 334.2 MB, free: 5.859 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.09461, allocations: 0 / 334.2 MB, free: 5.859 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.09464, allocations: 4 kB / 334.2 MB, free: 5.855 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.012e-06/0.09465, allocations: 4 kB / 334.2 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.09478, allocations: 31.92 kB / 334.2 MB, free: 5.82 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/0.09521, allocations: 272.8 kB / 334.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.09545, allocations: 46.56 kB / 334.5 MB, free: 5.449 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.09549, allocations: 4 kB / 334.5 MB, free: 5.445 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.09553, allocations: 30.56 kB / 334.6 MB, free: 5.406 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 2.094e-06/0.09554, allocations: 0 / 334.6 MB, free: 5.406 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006857/0.09624, allocations: 157.5 kB / 334.7 MB, free: 5.246 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.505e-05/0.09632, allocations: 81.06 kB / 334.8 MB, free: 5.148 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.09649, allocations: 129.7 kB / 334.9 MB, free: 5.012 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.09653, allocations: 29.7 kB / 334.9 MB, free: 4.977 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.912e-05/0.09664, allocations: 158.5 kB / 335.1 MB, free: 4.82 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.09668, allocations: 11.75 kB / 335.1 MB, free: 4.809 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.32e-06/0.0967, allocations: 8 kB / 335.1 MB, free: 4.801 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.09687, allocations: 318.8 kB / 335.4 MB, free: 4.48 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.09698, allocations: 23.98 kB / 335.5 MB, free: 4.457 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.0971, allocations: 33.7 kB / 335.5 MB, free: 4.418 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.09725, allocations: 61.72 kB / 335.6 MB, free: 4.352 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.732e-06/0.09727, allocations: 0 / 335.6 MB, free: 4.352 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000298/0.09758, allocations: 111.4 kB / 335.7 MB, free: 4.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.297e-05/0.09763, allocations: 37.12 kB / 335.7 MB, free: 4.191 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.602e-06/0.09765, allocations: 4 kB / 335.7 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.09768, allocations: 0 / 335.7 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.419e-05/0.09778, allocations: 23.94 kB / 335.7 MB, free: 4.164 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.838e-06/0.0978, allocations: 0 / 335.7 MB, free: 4.164 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.809e-05/0.09788, allocations: 11.94 kB / 335.7 MB, free: 4.152 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.0979, allocations: 7.938 kB / 335.7 MB, free: 4.145 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.0001167/0.09803, allocations: 113.8 kB / 335.9 MB, free: 4.023 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.702e-05/0.09809, allocations: 3.906 kB / 335.9 MB, free: 4.02 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003006/0.0984, allocations: 97.88 kB / 336 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.09842, allocations: 0 / 336 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.342e-06/0.09844, allocations: 4.062 kB / 336 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.997e-06/0.09845, allocations: 3.984 kB / 336 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005892/0.09906, allocations: 358.5 kB / 336.3 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.75e-06/0.09908, allocations: 3.938 kB / 336.3 MB, free: 3.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.894e-05/0.09917, allocations: 12 kB / 336.3 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.38e-06/0.09918, allocations: 0 / 336.3 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.041e-06/0.0992, allocations: 0 / 336.3 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.184e-06/0.09922, allocations: 3.984 kB / 336.3 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.431e-06/0.09923, allocations: 4.234 kB / 336.3 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003052/0.09954, allocations: 187.4 kB / 336.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.822e-05/0.09963, allocations: 89 kB / 336.6 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.09968, allocations: 3.984 kB / 336.6 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.09979, allocations: 12 kB / 336.6 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.09985, allocations: 7.953 kB / 336.6 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.883e-06/0.09987, allocations: 3.984 kB / 336.6 MB, free: 3.148 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000102/0.09998, allocations: 95.27 kB / 336.7 MB, free: 3.055 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.93e-07/0.09999, allocations: 0 / 336.7 MB, free: 3.055 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003535/0.1004, allocations: 20 kB / 336.7 MB, free: 3.035 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.0009849/0.1014, allocations: 327.6 kB / 337.1 MB, free: 2.781 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003132/0.1017, allocations: 115.3 kB / 337.2 MB, free: 2.656 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.393e-06/0.1017, allocations: 0 / 337.2 MB, free: 2.656 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.1018, allocations: 27.98 kB / 337.2 MB, free: 2.629 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.1021, allocations: 14.8 kB / 337.2 MB, free: 2.617 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004347/0.1025, allocations: 190.5 kB / 337.4 MB, free: 2.398 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.1029, allocations: 0.6887 MB / 338.1 MB, free: 1.684 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.634e-05/0.103, allocations: 11.44 kB / 338.1 MB, free: 1.672 MB / 282.7 MB Notification: Performance of SimCode: time 1.456e-06/0.103, allocations: 0 / 338.1 MB, free: 1.672 MB / 282.7 MB Notification: Performance of Templates: time 0.003796/0.1068, allocations: 1.447 MB / 339.6 MB, free: 232 kB / 282.7 MB