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.Test31.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.Test31,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.Test31") Notification: Performance of loadModel(ModelicaTest): time 2.126/2.126, allocations: 234.9 MB / 250.5 MB, free: 9.598 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00044/0.0004401, allocations: 16 kB / 314.3 MB, free: 9.645 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2903, allocations: 54.86 MB / 369.2 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002072/0.2924, allocations: 1.223 MB / 370.4 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006037/0.293, allocations: 253.1 kB / 370.7 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.539e-05/0.2931, allocations: 0 / 370.7 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002881/0.2934, allocations: 115.8 kB / 370.8 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.2936, allocations: 71.83 kB / 370.8 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001276/0.2937, allocations: 27.91 kB / 370.9 MB, free: 11.06 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.2939, allocations: 59.91 kB / 370.9 MB, free: 11 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.524e-05/0.294, allocations: 8 kB / 370.9 MB, free: 11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.476e-05/0.2941, allocations: 35.89 kB / 371 MB, free: 10.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.2942, allocations: 67.8 kB / 371 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.2943, allocations: 0 / 371 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.513e-05/0.2943, allocations: 15.94 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.65e-05/0.2944, allocations: 31.89 kB / 371.1 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.169e-05/0.2945, allocations: 37.64 kB / 371.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.2946, allocations: 63.91 kB / 371.2 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.2946, allocations: 0 / 371.2 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2947, allocations: 0 / 371.2 MB, free: 10.74 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.923e-06/0.2947, allocations: 0 / 371.2 MB, free: 10.74 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.0005588/0.2952, allocations: 425.3 kB / 371.6 MB, free: 10.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.2953, allocations: 8.031 kB / 371.6 MB, free: 10.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.913e-05/0.2953, allocations: 19.77 kB / 371.6 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.2956, allocations: 186.8 kB / 371.8 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.2956, allocations: 8 kB / 371.8 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.2956, allocations: 0 / 371.8 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.2958, allocations: 53.61 kB / 371.9 MB, free: 9.957 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.2958, allocations: 0 / 371.9 MB, free: 9.957 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.645e-06/0.2959, allocations: 4 kB / 371.9 MB, free: 9.953 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.654e-06/0.2959, allocations: 4 kB / 371.9 MB, free: 9.949 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.296, allocations: 27.94 kB / 371.9 MB, free: 9.922 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004142/0.2964, allocations: 284.8 kB / 372.2 MB, free: 9.594 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.2967, allocations: 50.5 kB / 372.2 MB, free: 9.535 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.2967, allocations: 8.031 kB / 372.2 MB, free: 9.527 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.2968, allocations: 34.55 kB / 372.3 MB, free: 9.484 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 2.01e-06/0.2968, allocations: 0 / 372.3 MB, free: 9.484 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006886/0.2975, allocations: 169.4 kB / 372.4 MB, free: 9.312 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.2976, allocations: 51.41 kB / 372.5 MB, free: 9.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003353/0.2979, allocations: 263.4 kB / 372.7 MB, free: 8.977 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.2979, allocations: 25.7 kB / 372.8 MB, free: 8.945 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.2981, allocations: 170.5 kB / 372.9 MB, free: 8.777 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.2981, allocations: 19.75 kB / 372.9 MB, free: 8.758 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-06/0.2981, allocations: 0 / 372.9 MB, free: 8.758 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.2983, allocations: 314.8 kB / 373.3 MB, free: 8.441 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.2984, allocations: 27.97 kB / 373.3 MB, free: 8.414 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.209e-05/0.2985, allocations: 23.98 kB / 373.3 MB, free: 8.391 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.2986, allocations: 53.69 kB / 373.4 MB, free: 8.332 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2987, allocations: 0 / 373.4 MB, free: 8.332 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002929/0.299, allocations: 119.3 kB / 373.5 MB, free: 8.203 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.676e-05/0.299, allocations: 37.7 kB / 373.5 MB, free: 8.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.392e-06/0.299, allocations: 0 / 373.5 MB, free: 8.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.2991, allocations: 8.203 kB / 373.5 MB, free: 8.152 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.729e-05/0.2992, allocations: 15.98 kB / 373.5 MB, free: 8.137 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.896e-06/0.2992, allocations: 4 kB / 373.5 MB, free: 8.133 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.822e-05/0.2993, allocations: 4 kB / 373.5 MB, free: 8.129 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.2993, allocations: 4 kB / 373.5 MB, free: 8.125 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.0001494/0.2994, allocations: 129.8 kB / 373.7 MB, free: 7.988 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.938e-05/0.2995, allocations: 11.81 kB / 373.7 MB, free: 7.977 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003112/0.2998, allocations: 114.6 kB / 373.8 MB, free: 7.863 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.2998, allocations: 3.953 kB / 373.8 MB, free: 7.859 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2999, allocations: 0 / 373.8 MB, free: 7.859 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.286e-06/0.2999, allocations: 0 / 373.8 MB, free: 7.859 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005955/0.3005, allocations: 366.6 kB / 374.2 MB, free: 7.445 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.3005, allocations: 0 / 374.2 MB, free: 7.445 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.829e-05/0.3006, allocations: 12 kB / 374.2 MB, free: 7.434 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.492e-06/0.3006, allocations: 3.953 kB / 374.2 MB, free: 7.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.3006, allocations: 3.984 kB / 374.2 MB, free: 7.426 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.3007, allocations: 11.88 kB / 374.2 MB, free: 7.414 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.835e-06/0.3007, allocations: 4 kB / 374.2 MB, free: 7.41 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/0.301, allocations: 183.3 kB / 374.4 MB, free: 7.215 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-05/0.3011, allocations: 85.02 kB / 374.5 MB, free: 7.113 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.3011, allocations: 3.953 kB / 374.5 MB, free: 7.109 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.944e-05/0.3012, allocations: 15.98 kB / 374.5 MB, free: 7.094 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.3013, allocations: 7.938 kB / 374.5 MB, free: 7.086 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.219e-06/0.3013, allocations: 0 / 374.5 MB, free: 7.086 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002294/0.3015, allocations: 197.2 kB / 374.7 MB, free: 6.895 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.3015, allocations: 0 / 374.7 MB, free: 6.895 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003291/0.3019, allocations: 20 kB / 374.7 MB, free: 6.875 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.0009536/0.3028, allocations: 300.8 kB / 375 MB, free: 6.656 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003114/0.3032, allocations: 115.3 kB / 375.1 MB, free: 6.531 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.3032, allocations: 4 kB / 375.1 MB, free: 6.527 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.3033, allocations: 23.98 kB / 375.1 MB, free: 6.504 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.3036, allocations: 8.172 kB / 375.1 MB, free: 6.496 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006173/0.3042, allocations: 311.1 kB / 375.4 MB, free: 6.156 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/0.3047, allocations: 0.7292 MB / 376.2 MB, free: 5.402 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.081e-05/0.3048, allocations: 11.44 kB / 376.2 MB, free: 5.391 MB / 298.7 MB Notification: Performance of SimCode: time 1.524e-06/0.3048, allocations: 0 / 376.2 MB, free: 5.391 MB / 298.7 MB Notification: Performance of Templates: time 0.003741/0.3085, allocations: 1.389 MB / 377.6 MB, free: 4 MB / 298.7 MB