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.Test15.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.Test15,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.Test15") Notification: Performance of loadModel(ModelicaTest): time 2.252/2.252, allocations: 234.9 MB / 250.5 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000441/0.0004412, allocations: 12 kB / 314.3 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2826, allocations: 54.87 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.002088/0.2847, allocations: 1.219 MB / 370.4 MB, free: 9.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006019/0.2853, allocations: 249.1 kB / 370.7 MB, free: 9.234 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.256e-05/0.2854, allocations: 4 kB / 370.7 MB, free: 9.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002313/0.2856, allocations: 67.83 kB / 370.7 MB, free: 9.164 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001574/0.2858, allocations: 43.88 kB / 370.8 MB, free: 9.121 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001313/0.286, allocations: 35.91 kB / 370.8 MB, free: 9.086 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.2861, allocations: 39.94 kB / 370.8 MB, free: 9.047 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.642e-05/0.2862, allocations: 19.98 kB / 370.9 MB, free: 9.027 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.271e-05/0.2863, allocations: 27.91 kB / 370.9 MB, free: 9 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.2864, allocations: 39.83 kB / 370.9 MB, free: 8.961 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.2864, allocations: 0 / 370.9 MB, free: 8.961 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.026e-05/0.2865, allocations: 23.92 kB / 371 MB, free: 8.938 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.927e-05/0.2866, allocations: 11.94 kB / 371 MB, free: 8.926 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.85e-05/0.2866, allocations: 33.69 kB / 371 MB, free: 8.887 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.2868, allocations: 55.92 kB / 371 MB, free: 8.832 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.842e-06/0.2868, allocations: 8 kB / 371.1 MB, free: 8.824 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.812e-06/0.2868, allocations: 0 / 371.1 MB, free: 8.824 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.961e-06/0.2868, allocations: 0 / 371.1 MB, free: 8.824 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.0005124/0.2873, allocations: 397.4 kB / 371.4 MB, free: 8.383 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.2874, allocations: 8.031 kB / 371.5 MB, free: 8.375 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.2874, allocations: 19.78 kB / 371.5 MB, free: 8.355 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.2877, allocations: 187.5 kB / 371.7 MB, free: 8.133 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.2877, allocations: 4 kB / 371.7 MB, free: 8.129 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.2877, allocations: 4 kB / 371.7 MB, free: 8.125 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.2879, allocations: 45.69 kB / 371.7 MB, free: 8.074 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.2879, allocations: 4 kB / 371.7 MB, free: 8.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.2879, allocations: 4 kB / 371.7 MB, free: 8.066 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.302e-06/0.2879, allocations: 0 / 371.7 MB, free: 8.066 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.2881, allocations: 31.92 kB / 371.7 MB, free: 8.035 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/0.2885, allocations: 280.8 kB / 372 MB, free: 7.711 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.2888, allocations: 46.55 kB / 372.1 MB, free: 7.656 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.2888, allocations: 3.938 kB / 372.1 MB, free: 7.652 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.2888, allocations: 34.56 kB / 372.1 MB, free: 7.609 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 2.196e-06/0.2889, allocations: 4 kB / 372.1 MB, free: 7.605 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006836/0.2896, allocations: 161.3 kB / 372.3 MB, free: 7.441 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.2896, allocations: 55.41 kB / 372.3 MB, free: 7.375 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.2899, allocations: 194.5 kB / 372.5 MB, free: 7.176 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.2899, allocations: 25.7 kB / 372.5 MB, free: 7.145 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.29, allocations: 162.5 kB / 372.7 MB, free: 6.984 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.2901, allocations: 23.66 kB / 372.7 MB, free: 6.961 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.071e-06/0.2901, allocations: 0 / 372.7 MB, free: 6.961 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.2903, allocations: 314.8 kB / 373 MB, free: 6.645 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.2904, allocations: 31.92 kB / 373.1 MB, free: 6.613 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.967e-05/0.2905, allocations: 23.98 kB / 373.1 MB, free: 6.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.2906, allocations: 53.69 kB / 373.1 MB, free: 6.531 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2906, allocations: 0 / 373.1 MB, free: 6.531 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003097/0.291, allocations: 115.4 kB / 373.2 MB, free: 6.406 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.113e-05/0.291, allocations: 33.7 kB / 373.3 MB, free: 6.367 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.291, allocations: 0 / 373.3 MB, free: 6.367 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.2911, allocations: 3.953 kB / 373.3 MB, free: 6.363 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.728e-05/0.2912, allocations: 16.27 kB / 373.3 MB, free: 6.348 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.482e-06/0.2912, allocations: 0 / 373.3 MB, free: 6.348 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.919e-05/0.2912, allocations: 8 kB / 373.3 MB, free: 6.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.2913, allocations: 11.98 kB / 373.3 MB, free: 6.328 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.000127/0.2914, allocations: 121.8 kB / 373.4 MB, free: 6.199 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.455e-05/0.2915, allocations: 7.906 kB / 373.4 MB, free: 6.191 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000311/0.2918, allocations: 106 kB / 373.5 MB, free: 6.086 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.865e-06/0.2918, allocations: 7.953 kB / 373.6 MB, free: 6.078 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.946e-06/0.2918, allocations: 4.297 kB / 373.6 MB, free: 6.074 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.395e-06/0.2918, allocations: 0 / 373.6 MB, free: 6.074 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005864/0.2924, allocations: 354.5 kB / 373.9 MB, free: 5.672 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.699e-06/0.2925, allocations: 0 / 373.9 MB, free: 5.672 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.481e-05/0.2926, allocations: 19.98 kB / 373.9 MB, free: 5.652 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.891e-06/0.2926, allocations: 3.953 kB / 373.9 MB, free: 5.648 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.2926, allocations: 4 kB / 373.9 MB, free: 5.645 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.448e-06/0.2926, allocations: 3.938 kB / 373.9 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.737e-06/0.2926, allocations: 0 / 373.9 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/0.293, allocations: 191.3 kB / 374.1 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.723e-05/0.293, allocations: 89 kB / 374.2 MB, free: 5.332 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.2931, allocations: 3.953 kB / 374.2 MB, free: 5.328 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.75e-05/0.2932, allocations: 4 kB / 374.2 MB, free: 5.324 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.2932, allocations: 7.984 kB / 374.2 MB, free: 5.316 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.306e-06/0.2933, allocations: 0 / 374.2 MB, free: 5.316 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001748/0.2935, allocations: 154 kB / 374.4 MB, free: 5.168 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.27e-07/0.2935, allocations: 8 kB / 374.4 MB, free: 5.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003214/0.2938, allocations: 11.98 kB / 374.4 MB, free: 5.148 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.0009693/0.2948, allocations: 300 kB / 374.7 MB, free: 4.922 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003112/0.2951, allocations: 107.4 kB / 374.8 MB, free: 4.805 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.2951, allocations: 0 / 374.8 MB, free: 4.805 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.2953, allocations: 35.92 kB / 374.8 MB, free: 4.77 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.2955, allocations: 11.98 kB / 374.8 MB, free: 4.758 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005556/0.2961, allocations: 254.7 kB / 375.1 MB, free: 4.473 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/0.2965, allocations: 0.7043 MB / 375.8 MB, free: 3.742 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.551e-05/0.2966, allocations: 11.44 kB / 375.8 MB, free: 3.73 MB / 298.7 MB Notification: Performance of SimCode: time 1.663e-06/0.2966, allocations: 0 / 375.8 MB, free: 3.73 MB / 298.7 MB Notification: Performance of Templates: time 0.003566/0.3002, allocations: 1.264 MB / 377.1 MB, free: 2.465 MB / 298.7 MB