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.Test30.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.Test30,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.Test30") Notification: Performance of loadModel(ModelicaTest): time 2.219/2.219, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004387/0.0004389, allocations: 15.98 kB / 314.3 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2777, allocations: 54.86 MB / 369.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.002074/0.2798, allocations: 1.223 MB / 370.4 MB, free: 9.488 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005982/0.2805, allocations: 253.2 kB / 370.7 MB, free: 9.238 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.692e-05/0.2805, allocations: 3.938 kB / 370.7 MB, free: 9.234 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002385/0.2808, allocations: 67.89 kB / 370.7 MB, free: 9.168 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.2809, allocations: 47.81 kB / 370.8 MB, free: 9.121 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001254/0.2811, allocations: 19.98 kB / 370.8 MB, free: 9.102 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.2812, allocations: 55.86 kB / 370.8 MB, free: 9.047 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.916e-05/0.2814, allocations: 8 kB / 370.9 MB, free: 9.039 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.759e-05/0.2814, allocations: 23.92 kB / 370.9 MB, free: 9.016 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.2815, allocations: 43.88 kB / 370.9 MB, free: 8.973 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.2816, allocations: 4 kB / 370.9 MB, free: 8.969 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.106e-05/0.2816, allocations: 11.94 kB / 370.9 MB, free: 8.957 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.632e-05/0.2817, allocations: 19.92 kB / 371 MB, free: 8.938 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.818e-05/0.2818, allocations: 37.64 kB / 371 MB, free: 8.895 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.2819, allocations: 51.92 kB / 371 MB, free: 8.844 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.2819, allocations: 0 / 371 MB, free: 8.844 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.916e-06/0.2819, allocations: 0 / 371 MB, free: 8.844 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.556e-06/0.2819, allocations: 0 / 371 MB, free: 8.844 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.0005186/0.2825, allocations: 417.4 kB / 371.5 MB, free: 8.383 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.2825, allocations: 8.031 kB / 371.5 MB, free: 8.375 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.514e-05/0.2826, allocations: 11.86 kB / 371.5 MB, free: 8.363 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.2828, allocations: 177.6 kB / 371.6 MB, free: 8.152 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.2828, allocations: 4 kB / 371.7 MB, free: 8.148 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.2829, allocations: 4 kB / 371.7 MB, free: 8.145 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.2831, allocations: 61.61 kB / 371.7 MB, free: 8.078 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.2831, allocations: 0 / 371.7 MB, free: 8.078 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.191e-06/0.2831, allocations: 0 / 371.7 MB, free: 8.078 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.985e-06/0.2831, allocations: 0 / 371.7 MB, free: 8.078 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.2832, allocations: 31.94 kB / 371.7 MB, free: 8.047 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004149/0.2837, allocations: 280.8 kB / 372 MB, free: 7.723 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002343/0.2839, allocations: 50.5 kB / 372.1 MB, free: 7.664 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.284, allocations: 7.875 kB / 372.1 MB, free: 7.656 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.284, allocations: 30.56 kB / 372.1 MB, free: 7.617 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 2.184e-06/0.284, allocations: 0 / 372.1 MB, free: 7.617 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006751/0.2847, allocations: 165.3 kB / 372.3 MB, free: 7.449 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.2848, allocations: 59.39 kB / 372.3 MB, free: 7.379 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002378/0.285, allocations: 186.5 kB / 372.5 MB, free: 7.188 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.2851, allocations: 25.7 kB / 372.5 MB, free: 7.156 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.2852, allocations: 170.5 kB / 372.7 MB, free: 6.988 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.2852, allocations: 19.66 kB / 372.7 MB, free: 6.969 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.241e-06/0.2852, allocations: 0 / 372.7 MB, free: 6.969 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.2854, allocations: 314.8 kB / 373 MB, free: 6.652 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.951e-05/0.2855, allocations: 23.98 kB / 373.1 MB, free: 6.629 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.46e-05/0.2856, allocations: 27.98 kB / 373.1 MB, free: 6.602 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.2858, allocations: 53.69 kB / 373.1 MB, free: 6.543 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2858, allocations: 0 / 373.1 MB, free: 6.543 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002858/0.2861, allocations: 119.3 kB / 373.2 MB, free: 6.414 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.588e-05/0.2861, allocations: 33.7 kB / 373.3 MB, free: 6.375 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.185e-06/0.2862, allocations: 0 / 373.3 MB, free: 6.375 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.2862, allocations: 3.953 kB / 373.3 MB, free: 6.371 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-05/0.2863, allocations: 15.98 kB / 373.3 MB, free: 6.355 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.2863, allocations: 4 kB / 373.3 MB, free: 6.352 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.708e-05/0.2864, allocations: 4 kB / 373.3 MB, free: 6.348 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.2864, allocations: 0 / 373.3 MB, free: 6.348 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.0001363/0.2865, allocations: 133.8 kB / 373.4 MB, free: 6.207 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.517e-05/0.2866, allocations: 7.906 kB / 373.4 MB, free: 6.199 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003058/0.2869, allocations: 97.91 kB / 373.5 MB, free: 6.102 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.738e-06/0.2869, allocations: 4.234 kB / 373.5 MB, free: 6.098 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.433e-06/0.287, allocations: 0 / 373.5 MB, free: 6.098 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.638e-06/0.287, allocations: 4 kB / 373.5 MB, free: 6.094 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005924/0.2876, allocations: 362.9 kB / 373.9 MB, free: 5.684 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.352e-06/0.2876, allocations: 3.984 kB / 373.9 MB, free: 5.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.811e-05/0.2877, allocations: 15.94 kB / 373.9 MB, free: 5.664 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/0.2877, allocations: 3.953 kB / 373.9 MB, free: 5.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.2877, allocations: 0 / 373.9 MB, free: 5.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.423e-06/0.2877, allocations: 11.94 kB / 373.9 MB, free: 5.648 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2878, allocations: 0 / 373.9 MB, free: 5.648 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/0.2881, allocations: 191.3 kB / 374.1 MB, free: 5.445 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.13e-05/0.2882, allocations: 85.02 kB / 374.2 MB, free: 5.344 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.2882, allocations: 7.953 kB / 374.2 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.801e-05/0.2883, allocations: 7.984 kB / 374.2 MB, free: 5.328 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.2884, allocations: 4 kB / 374.2 MB, free: 5.324 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.443e-06/0.2884, allocations: 0 / 374.2 MB, free: 5.324 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001732/0.2886, allocations: 162.3 kB / 374.4 MB, free: 5.168 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.2886, allocations: 0 / 374.4 MB, free: 5.168 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003212/0.2889, allocations: 12 kB / 374.4 MB, free: 5.156 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.0009517/0.2899, allocations: 293.3 kB / 374.7 MB, free: 4.934 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003111/0.2902, allocations: 115.4 kB / 374.8 MB, free: 4.809 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.864e-06/0.2902, allocations: 0 / 374.8 MB, free: 4.809 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.2903, allocations: 27.98 kB / 374.8 MB, free: 4.781 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.2906, allocations: 11.98 kB / 374.8 MB, free: 4.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005273/0.2912, allocations: 258.6 kB / 375.1 MB, free: 4.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.2916, allocations: 0.6965 MB / 375.8 MB, free: 3.758 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.323e-05/0.2916, allocations: 15.42 kB / 375.8 MB, free: 3.742 MB / 298.7 MB Notification: Performance of SimCode: time 1.364e-06/0.2916, allocations: 7.938 kB / 375.8 MB, free: 3.734 MB / 298.7 MB Notification: Performance of Templates: time 0.003472/0.2951, allocations: 1.264 MB / 377.1 MB, free: 2.469 MB / 298.7 MB