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.Test19.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.Test19,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.CombiTable1D.Test19") Notification: Performance of loadModel(ModelicaTest): time 1.842/1.842, allocations: 209.3 MB / 224.8 MB, free: 348 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004328/0.0004329, allocations: 12 kB / 282.5 MB, free: 9.656 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2791, allocations: 48.71 MB / 331.2 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test19): time 0.001775/0.281, allocations: 1.204 MB / 332.4 MB, free: 5.898 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.2822, allocations: 0.8271 MB / 333.2 MB, free: 5.305 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.918e-05/0.2822, allocations: 3.938 kB / 333.2 MB, free: 5.301 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001819/0.2824, allocations: 16.8 kB / 333.2 MB, free: 5.293 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001396/0.2826, allocations: 24.58 kB / 333.3 MB, free: 5.281 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001262/0.2827, allocations: 35.3 kB / 333.3 MB, free: 5.262 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.2829, allocations: 34.98 kB / 333.3 MB, free: 5.246 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.304e-05/0.283, allocations: 11.5 kB / 333.3 MB, free: 5.242 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.779e-05/0.283, allocations: 17.77 kB / 333.4 MB, free: 5.234 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.2832, allocations: 24.67 kB / 333.4 MB, free: 5.223 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.2832, allocations: 1.438 kB / 333.4 MB, free: 5.223 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.725e-05/0.2833, allocations: 35.34 kB / 333.4 MB, free: 5.211 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.547e-05/0.2834, allocations: 8.984 kB / 333.4 MB, free: 5.207 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.2834, allocations: 34.86 kB / 333.5 MB, free: 5.168 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.2836, allocations: 55.88 kB / 333.5 MB, free: 5.156 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.2836, allocations: 0 / 333.5 MB, free: 5.156 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.057e-06/0.2836, allocations: 5.5 kB / 333.5 MB, free: 5.152 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.841e-06/0.2836, allocations: 0 / 333.5 MB, free: 5.152 MB / 266.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.0003774/0.284, allocations: 390.8 kB / 333.9 MB, free: 4.742 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.2841, allocations: 10.22 kB / 333.9 MB, free: 4.742 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/0.2841, allocations: 7.125 kB / 333.9 MB, free: 4.738 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.2843, allocations: 177.9 kB / 334.1 MB, free: 4.535 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.2843, allocations: 1.344 kB / 334.1 MB, free: 4.535 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.2844, allocations: 2.969 kB / 334.1 MB, free: 4.535 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.2845, allocations: 65.58 kB / 334.2 MB, free: 4.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.2846, allocations: 7.938 kB / 334.2 MB, free: 4.473 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.2846, allocations: 3.938 kB / 334.2 MB, free: 4.469 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.164e-06/0.2846, allocations: 1.781 kB / 334.2 MB, free: 4.469 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.2847, allocations: 26.5 kB / 334.2 MB, free: 4.465 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/0.2851, allocations: 278 kB / 334.5 MB, free: 4.184 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.2853, allocations: 55.78 kB / 334.5 MB, free: 4.145 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.2854, allocations: 1.281 kB / 334.5 MB, free: 4.145 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.2854, allocations: 32.72 kB / 334.6 MB, free: 4.105 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 2.062e-06/0.2854, allocations: 3.938 kB / 334.6 MB, free: 4.102 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007255/0.2861, allocations: 166.9 kB / 334.7 MB, free: 4.031 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.2862, allocations: 78.36 kB / 334.8 MB, free: 3.938 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.2863, allocations: 128.6 kB / 334.9 MB, free: 3.824 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.2864, allocations: 30.86 kB / 335 MB, free: 3.789 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.246e-05/0.2864, allocations: 156.2 kB / 335.1 MB, free: 3.637 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.2864, allocations: 23.95 kB / 335.1 MB, free: 3.617 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.204e-06/0.2865, allocations: 0 / 335.1 MB, free: 3.617 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.827e-05/0.2865, allocations: 313.8 kB / 335.4 MB, free: 3.305 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.2866, allocations: 29.23 kB / 335.5 MB, free: 3.297 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.2868, allocations: 43.78 kB / 335.5 MB, free: 3.273 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.2869, allocations: 61.09 kB / 335.6 MB, free: 3.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.868e-06/0.2869, allocations: 0 / 335.6 MB, free: 3.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000286/0.2872, allocations: 128 kB / 335.7 MB, free: 3.148 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/0.2873, allocations: 36.33 kB / 335.7 MB, free: 3.113 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2873, allocations: 1.531 kB / 335.7 MB, free: 3.113 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.2873, allocations: 4 kB / 335.7 MB, free: 3.109 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.716e-05/0.2874, allocations: 14.25 kB / 335.8 MB, free: 3.109 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.489e-06/0.2874, allocations: 1.469 kB / 335.8 MB, free: 3.109 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.056e-05/0.2875, allocations: 11.16 kB / 335.8 MB, free: 3.105 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.2875, allocations: 10.8 kB / 335.8 MB, free: 3.098 MB / 266.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 7.137e-05/0.2876, allocations: 115.2 kB / 335.9 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.306e-05/0.2876, allocations: 6.688 kB / 335.9 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/0.288, allocations: 104.7 kB / 336 MB, free: 2.922 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.288, allocations: 6.016 kB / 336 MB, free: 2.918 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.642e-06/0.288, allocations: 4 kB / 336 MB, free: 2.914 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.983e-06/0.288, allocations: 0 / 336 MB, free: 2.914 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004829/0.2885, allocations: 355.9 kB / 336.4 MB, free: 2.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.2885, allocations: 0.7031 kB / 336.4 MB, free: 2.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.222e-05/0.2886, allocations: 18.62 kB / 336.4 MB, free: 2.586 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.176e-06/0.2886, allocations: 0.6094 kB / 336.4 MB, free: 2.586 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.2886, allocations: 1.375 kB / 336.4 MB, free: 2.586 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.2887, allocations: 3.938 kB / 336.4 MB, free: 2.582 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.35e-06/0.2887, allocations: 0.8906 kB / 336.4 MB, free: 2.582 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.2889, allocations: 196.5 kB / 336.6 MB, free: 2.426 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.015e-05/0.289, allocations: 84.52 kB / 336.7 MB, free: 2.328 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.289, allocations: 1.75 kB / 336.7 MB, free: 2.328 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.929e-05/0.2891, allocations: 5.891 kB / 336.7 MB, free: 2.328 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.2892, allocations: 4.891 kB / 336.7 MB, free: 2.328 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.616e-06/0.2892, allocations: 2.469 kB / 336.7 MB, free: 2.328 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.737e-05/0.2893, allocations: 106.3 kB / 336.8 MB, free: 2.238 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.23e-07/0.2893, allocations: 0 / 336.8 MB, free: 2.238 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003672/0.2897, allocations: 34 kB / 336.8 MB, free: 2.223 MB / 266.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.0009364/0.2906, allocations: 316.7 kB / 337.1 MB, free: 2.035 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003075/0.291, allocations: 120.7 kB / 337.2 MB, free: 1.957 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.291, allocations: 0 / 337.2 MB, free: 1.957 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.2911, allocations: 33.59 kB / 337.3 MB, free: 1.949 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.2914, allocations: 18.08 kB / 337.3 MB, free: 1.938 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003995/0.2918, allocations: 187.5 kB / 337.5 MB, free: 1.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.292, allocations: 0.7008 MB / 338.2 MB, free: 1.066 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.623e-05/0.292, allocations: 14.28 kB / 338.2 MB, free: 1.059 MB / 266.7 MB Notification: Performance of SimCode: time 1.519e-06/0.292, allocations: 3.938 kB / 338.2 MB, free: 1.055 MB / 266.7 MB Notification: Performance of Templates: time 0.003783/0.2958, allocations: 1.476 MB / 339.7 MB, free: 0.5625 MB / 266.7 MB