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.Test20.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.Test20,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.Test20") Notification: Performance of loadModel(ModelicaTest): time 1.82/1.82, allocations: 209.3 MB / 224.8 MB, free: 1.199 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004326/0.0004329, allocations: 16 kB / 282.5 MB, free: 9.754 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08951/0.08996, allocations: 48.7 MB / 331.2 MB, free: 8.961 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002141/0.09215, allocations: 1.195 MB / 332.4 MB, free: 7.754 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.09364, allocations: 0.8217 MB / 333.2 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.141e-05/0.0937, allocations: 3.938 kB / 333.2 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001746/0.09388, allocations: 19.97 kB / 333.2 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001384/0.09404, allocations: 27.91 kB / 333.3 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001295/0.09419, allocations: 31.84 kB / 333.3 MB, free: 6.844 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000113/0.09431, allocations: 31.97 kB / 333.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.186e-05/0.09443, allocations: 19.97 kB / 333.3 MB, free: 6.793 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.045e-05/0.09449, allocations: 15.92 kB / 333.4 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.09464, allocations: 19.91 kB / 333.4 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.09468, allocations: 7.938 kB / 333.4 MB, free: 6.75 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.09479, allocations: 39.86 kB / 333.4 MB, free: 6.711 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.62e-05/0.09483, allocations: 4 kB / 333.4 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.161e-05/0.09489, allocations: 33.7 kB / 333.5 MB, free: 6.668 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.09505, allocations: 59.89 kB / 333.5 MB, free: 6.609 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.686e-06/0.09506, allocations: 0 / 333.5 MB, free: 6.609 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.407e-06/0.09508, allocations: 0 / 333.5 MB, free: 6.609 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.09509, allocations: 3.938 kB / 333.5 MB, free: 6.605 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.0005033/0.0956, allocations: 389.2 kB / 333.9 MB, free: 6.172 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.09565, allocations: 8.031 kB / 333.9 MB, free: 6.164 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.28e-05/0.09571, allocations: 7.906 kB / 333.9 MB, free: 6.156 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.09594, allocations: 183 kB / 334.1 MB, free: 5.938 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.09597, allocations: 7.938 kB / 334.1 MB, free: 5.93 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.096, allocations: 0 / 334.1 MB, free: 5.93 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.09619, allocations: 63.41 kB / 334.2 MB, free: 5.855 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.09622, allocations: 0 / 334.2 MB, free: 5.855 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.09624, allocations: 3.938 kB / 334.2 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.09626, allocations: 3.984 kB / 334.2 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.09639, allocations: 27.98 kB / 334.2 MB, free: 5.82 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004162/0.09682, allocations: 272.9 kB / 334.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/0.09706, allocations: 42.56 kB / 334.5 MB, free: 5.453 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.0971, allocations: 7.938 kB / 334.5 MB, free: 5.445 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.09715, allocations: 42.64 kB / 334.6 MB, free: 5.395 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 2.121e-06/0.09716, allocations: 0 / 334.6 MB, free: 5.395 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006849/0.09786, allocations: 149.4 kB / 334.7 MB, free: 5.242 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.717e-05/0.09794, allocations: 85.06 kB / 334.8 MB, free: 5.141 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.09811, allocations: 125.7 kB / 334.9 MB, free: 5.008 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.09815, allocations: 29.7 kB / 334.9 MB, free: 4.973 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.486e-05/0.09826, allocations: 150.6 kB / 335.1 MB, free: 4.824 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.0983, allocations: 23.73 kB / 335.1 MB, free: 4.801 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.853e-06/0.09831, allocations: 0 / 335.1 MB, free: 4.801 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.09849, allocations: 318.8 kB / 335.4 MB, free: 4.48 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.09862, allocations: 23.98 kB / 335.4 MB, free: 4.457 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.09875, allocations: 37.7 kB / 335.5 MB, free: 4.414 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.0989, allocations: 57.72 kB / 335.5 MB, free: 4.352 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.82e-06/0.09891, allocations: 0 / 335.5 MB, free: 4.352 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003113/0.09923, allocations: 123.5 kB / 335.7 MB, free: 4.219 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.038e-05/0.09929, allocations: 29.7 kB / 335.7 MB, free: 4.184 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.409e-06/0.09931, allocations: 4 kB / 335.7 MB, free: 4.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.09933, allocations: 4 kB / 335.7 MB, free: 4.176 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.363e-05/0.09944, allocations: 19.98 kB / 335.7 MB, free: 4.156 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.999e-06/0.09946, allocations: 0 / 335.7 MB, free: 4.156 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.078e-05/0.09954, allocations: 11.95 kB / 335.7 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.09956, allocations: 3.938 kB / 335.7 MB, free: 4.141 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.0001159/0.09969, allocations: 117.8 kB / 335.8 MB, free: 4.016 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.09974, allocations: 7.906 kB / 335.9 MB, free: 4.008 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000311/0.1001, allocations: 101.6 kB / 336 MB, free: 3.902 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.022e-06/0.1001, allocations: 4 kB / 336 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.422e-06/0.1001, allocations: 0 / 336 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.401e-06/0.1001, allocations: 0 / 336 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005851/0.1007, allocations: 350.5 kB / 336.3 MB, free: 3.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.647e-06/0.1007, allocations: 0 / 336.3 MB, free: 3.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.354e-05/0.1008, allocations: 15.98 kB / 336.3 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.298e-06/0.1008, allocations: 0 / 336.3 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.995e-06/0.1009, allocations: 0 / 336.3 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.1009, allocations: 7.938 kB / 336.3 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.294e-06/0.1009, allocations: 3.953 kB / 336.3 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.1012, allocations: 187.4 kB / 336.5 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.526e-05/0.1013, allocations: 85 kB / 336.6 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.1013, allocations: 0 / 336.6 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.1014, allocations: 8 kB / 336.6 MB, free: 3.164 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.1015, allocations: 11.94 kB / 336.6 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.138e-06/0.1015, allocations: 4.188 kB / 336.6 MB, free: 3.148 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001/0.1016, allocations: 95.27 kB / 336.7 MB, free: 3.055 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.49e-07/0.1016, allocations: 0 / 336.7 MB, free: 3.055 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003467/0.102, 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.0009975/0.103, allocations: 331.9 kB / 337.1 MB, free: 2.781 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003468/0.1034, allocations: 123.3 kB / 337.2 MB, free: 2.648 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1034, allocations: 0 / 337.2 MB, free: 2.648 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.1035, allocations: 27.98 kB / 337.2 MB, free: 2.621 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.1038, allocations: 7.75 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.1042, 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.0003776/0.1046, allocations: 0.6926 MB / 338.1 MB, free: 1.68 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.86e-05/0.1047, allocations: 15.44 kB / 338.1 MB, free: 1.664 MB / 282.7 MB Notification: Performance of SimCode: time 1.425e-06/0.1047, allocations: 0 / 338.1 MB, free: 1.664 MB / 282.7 MB Notification: Performance of Templates: time 0.003796/0.1085, allocations: 1.451 MB / 339.6 MB, free: 220 kB / 282.7 MB